diff --git a/.env b/.env index 668f247..f00d247 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ # Flask FLASK_APP=app.py FLASK_DEBUG=1 -SECRET_KEY=your-secret-key-replace-in-production +SECRET_KEY=ETMyh4JfBfvpZSscqfuzjCOAvelm5lEju # OpenAI API OPENAI_API_KEY=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 diff --git a/templates/profile.html b/templates/profile.html index 91b795f..c882016 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -250,6 +250,36 @@ transform: translateY(-2px); } + .profile-tab.active { + color: white; + background: rgba(179, 143, 255, 0.2); + border-bottom: 3px solid rgba(179, 143, 255, 0.7); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + } + + .profile-tab.active::after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 3px; + background: linear-gradient(90deg, #8B5CF6, #6366F1); + border-radius: 3px 3px 0 0; + } + + /* Animation für Tab-Inhalte */ + .tab-content { + transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); + } + + .tab-content.hidden { + display: none; + opacity: 0; + transform: translateY(10px); + } + /* Statistik-Elemente - verkleinert */ .stat-item { padding: 0.75rem !important; @@ -322,7 +352,9 @@ {{ user.location if user.location else 'Kein Standort angegeben' }} Mitglied seit {{ user.created_at.strftime('%d.%m.%Y') }} - + @@ -534,16 +566,25 @@