mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 03:06:41 +02:00
feat: integrate shared PageHeader and ProfilePage across all web apps
- Add backHref prop to PageHeader component for back navigation - Integrate PageHeader in Chat app (archive, documents, spaces, templates) - Integrate PageHeader in Picture app (board, generate, profile, tags, upload) - Integrate PageHeader in Manacore app (dashboard, organizations, teams) - Integrate PageHeader in Presi app (home, profile) - Integrate PageHeader in Zitare app (authors, lists) - Update Picture, Manadeck, Presi profiles to use shared ProfilePage - Create new profile pages for Manacore and Zitare using shared ProfilePage - Add profile navigation links to Manacore and Zitare - Add Mana subscription pages to Presi and Zitare - Fix shared-profile-ui tsconfig.json (remove invalid extends) - Add @manacore/shared-profile-ui dependency to all web apps 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c85cd4556c
commit
9432a73a1f
62 changed files with 1803 additions and 1152 deletions
|
|
@ -110,6 +110,24 @@
|
|||
|
||||
<div class="flex items-center justify-between gap-4">
|
||||
<div class="flex items-center gap-3 min-w-0">
|
||||
<!-- Back Button -->
|
||||
{#if backHref}
|
||||
<a
|
||||
href={backHref}
|
||||
class="page-header__back flex-shrink-0 p-1.5 -ml-1.5 rounded-lg text-theme-secondary hover:text-theme hover:bg-theme-secondary/10 transition-colors"
|
||||
aria-label="Zurück"
|
||||
>
|
||||
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="2"
|
||||
d="M15 19l-7-7 7-7"
|
||||
/>
|
||||
</svg>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
<!-- Icon -->
|
||||
{#if icon}
|
||||
<div class="page-header__icon flex-shrink-0 text-theme-secondary">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue