feat: link header brand to admin home
This commit is contained in:
parent
9ec77c44d4
commit
8388015038
1 changed files with 6 additions and 2 deletions
|
|
@ -1995,7 +1995,11 @@ export default function App() {
|
||||||
/>
|
/>
|
||||||
<div className="mx-auto flex w-full max-w-[1920px] flex-col gap-6 p-4 sm:p-6">
|
<div className="mx-auto flex w-full max-w-[1920px] flex-col gap-6 p-4 sm:p-6">
|
||||||
<header className="app-header flex flex-col gap-4 rounded-lg border bg-background p-4 md:flex-row md:items-center md:justify-between">
|
<header className="app-header flex flex-col gap-4 rounded-lg border bg-background p-4 md:flex-row md:items-center md:justify-between">
|
||||||
<div className="flex items-center gap-3">
|
<a
|
||||||
|
aria-label="Дзен-ассистент — главная страница"
|
||||||
|
className="flex items-center gap-3 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
|
||||||
|
href="/admin"
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
alt="Логотип Дзен-ассистента"
|
alt="Логотип Дзен-ассистента"
|
||||||
className="size-10 rounded-md object-cover"
|
className="size-10 rounded-md object-cover"
|
||||||
|
|
@ -2005,7 +2009,7 @@ export default function App() {
|
||||||
<h1 className="text-2xl font-semibold tracking-normal">Дзен-ассистент</h1>
|
<h1 className="text-2xl font-semibold tracking-normal">Дзен-ассистент</h1>
|
||||||
<p className="text-sm text-muted-foreground">RSS-конвейер для статей из видео Николая Старикова</p>
|
<p className="text-sm text-muted-foreground">RSS-конвейер для статей из видео Николая Старикова</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</a>
|
||||||
<div className="flex flex-wrap items-center gap-2">
|
<div className="flex flex-wrap items-center gap-2">
|
||||||
<Button variant={activeView === "settings" ? "secondary" : "outline"} onClick={() => setActiveView("settings")}>
|
<Button variant={activeView === "settings" ? "secondary" : "outline"} onClick={() => setActiveView("settings")}>
|
||||||
<Settings2 data-icon="inline-start" />
|
<Settings2 data-icon="inline-start" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue