The commit modifies various components across the marketing site to update layout and styling. The changes include adjustments to shadowing, spacing, and button configurations. It also updates the text and image assets, enhancing the overall visual representation of the website. Some buttons and components have also been removed or replaced for a more streamlined interface.
30 lines
898 B
TypeScript
30 lines
898 B
TypeScript
import type { User } from '@supabase/supabase-js';
|
|
|
|
import { ModeToggle } from '@kit/ui/mode-toggle';
|
|
|
|
import { SiteHeaderAccountSection } from '~/(marketing)/_components/site-header-account-section';
|
|
import { SiteNavigation } from '~/(marketing)/_components/site-navigation';
|
|
import { AppLogo } from '~/components/app-logo';
|
|
|
|
export function SiteHeader(props: { user?: User | null }) {
|
|
return (
|
|
<div className={'container mx-auto'}>
|
|
<div className="flex h-16 items-center justify-between">
|
|
<div className={'w-4/12'}>
|
|
<AppLogo />
|
|
</div>
|
|
|
|
<div className={'hidden w-4/12 justify-center lg:flex'}>
|
|
<SiteNavigation />
|
|
</div>
|
|
|
|
<div className={'flex flex-1 items-center justify-end space-x-4'}>
|
|
<ModeToggle />
|
|
|
|
<SiteHeaderAccountSection user={props.user ?? null} />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|