Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Introduced turbopack alias for canvas in next.config.mjs. - Updated package.json scripts for development and branding tasks. - Added new dependencies for Tiptap extensions. - Implemented new demo layouts for agenda, contacts, drive, and mail applications. - Enhanced globals.css for improved theming and splash screen animations. - Added OAuth callback handling for drive mounts. - Updated layout components to integrate new demo shells and improve structure.
43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
"use client"
|
|
|
|
import { AdminLogo } from "@/components/admin/admin-logo"
|
|
import { HeaderAccountActions } from "@/components/suite/header-account-actions"
|
|
import {
|
|
SUITE_APP_LOGO_LOCKUP_CLASS,
|
|
SUITE_APP_LOGO_MARK_CLASS,
|
|
SUITE_APP_LOGO_TEXT_CLASS,
|
|
} from "@/lib/suite/suite-chrome-classes"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const SETTINGS_HREF = "/admin/settings"
|
|
|
|
export function AdminSettingsHeader() {
|
|
return (
|
|
<header
|
|
data-admin-settings-chrome-header
|
|
className="flex h-16 w-full shrink-0 items-center gap-0 bg-app-canvas pr-4 sm:gap-2"
|
|
>
|
|
<div
|
|
className={cn(
|
|
"hidden h-full w-64 shrink-0 pl-4 md:flex lg:w-72",
|
|
SUITE_APP_LOGO_LOCKUP_CLASS,
|
|
)}
|
|
>
|
|
<AdminLogo variant="mark" className={SUITE_APP_LOGO_MARK_CLASS} />
|
|
<span className={SUITE_APP_LOGO_TEXT_CLASS}>Administration</span>
|
|
</div>
|
|
|
|
<div className="flex shrink-0 items-center pl-2 md:hidden">
|
|
<AdminLogo variant="mark" className={SUITE_APP_LOGO_MARK_CLASS} />
|
|
</div>
|
|
|
|
<div className="flex min-w-0 flex-1 items-center px-1 sm:pl-1 sm:pr-1" />
|
|
|
|
<HeaderAccountActions
|
|
className="ml-auto shrink-0 pl-2 sm:pl-4"
|
|
settingsHref={SETTINGS_HREF}
|
|
/>
|
|
</header>
|
|
)
|
|
}
|