Files
myeasycms-v2/apps/web/app/(marketing)/_components/site-header.tsx
giancarlo e7f2660032 Update UI design across multiple pages and components
Several changes have been made to improve the user interface and enhance the user experience. This includes redesigning Auth buttons, modifying website layouts and routing, tweaking heading and text sizes for clarity, and revamping the marketing, documentation, and pricing pages. These changes collectively contribute to a cleaner, more concise and navigable interface.
2024-04-09 13:35:12 +08:00

26 lines
835 B
TypeScript

import type { User } from '@supabase/supabase-js';
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={'border-b'}>
<div className={'container mx-auto'}>
<div className="flex h-16 items-center justify-between">
<div className={'flex w-6/12 items-center space-x-8'}>
<AppLogo />
<SiteNavigation />
</div>
<div className={'flex flex-1 items-center justify-end space-x-1'}>
<SiteHeaderAccountSection user={props.user ?? null} />
</div>
</div>
</div>
</div>
);
}