- front works
This commit is contained in:
Alexandrina-Kuzeleva
2025-12-04 14:17:57 +03:00
parent a4eff5ae38
commit 01a9eab73d

View File

@@ -15,15 +15,15 @@
<div class="mx-auto max-w-6xl px-4 py-6">
<!-- Profile Header -->
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 p-6 -mt-4 relative">
<div class="bg-gradient-to-r from-teal-100 to-teal-600 rounded-2xl shadow-sm border border-gray-200 p-6 -mt-4 relative">
<div class="flex flex-col md:flex-row md:items-center gap-6">
<div class="flex-1">
<h2 class="text-3xl font-bold text-gray-900">{{ displayName }}</h2>
<p class="mt-2 text-lg text-gray-600">{{ profile.data.headline || 'Нет информации о себе' }}</p>
<p class="mt-2 text-lg text-gray-600">{{ profile.data.bio || 'Нет информации о себе' }}</p>
</div>
<div v-if="$user.data && isSessionUser()" class="md:ml-auto">
<Button @click="toggleEdit()" class="bg-primary-600 hover:bg-primary-700 text-white px-5 py-2.5 rounded-lg transition-colors duration-200">
<Button @click="toggleEdit()" class="bg-white hover:bg-gray-100 px-5 py-2.5 rounded-lg transition-colors duration-200">
<template #prefix>
<Edit class="w-4 h-4 stroke-1.5" />
</template>