diff --git a/apps/site/src/app/design-system/[...component]/components/header/header.component.tsx b/apps/site/src/app/design-system/[...component]/components/header/header.component.tsx index e73f9ad29..73bcffeab 100644 --- a/apps/site/src/app/design-system/[...component]/components/header/header.component.tsx +++ b/apps/site/src/app/design-system/[...component]/components/header/header.component.tsx @@ -35,6 +35,23 @@ export function Header({ className, title }: { className?: string; title?: strin + +
+ SM + MD + LG + +
+

{title}

); diff --git a/apps/site/src/app/design-system/[...component]/components/header/header.styles.ts b/apps/site/src/app/design-system/[...component]/components/header/header.styles.ts index c22e851db..fb8c36862 100644 --- a/apps/site/src/app/design-system/[...component]/components/header/header.styles.ts +++ b/apps/site/src/app/design-system/[...component]/components/header/header.styles.ts @@ -3,19 +3,21 @@ import { tv } from 'tailwind-variants'; export const styles = tv( { slots: { - base: 'sticky top-0 z-50 flex w-full items-center gap-2 bg-hero px-3 py-2 transition-colors md:top-[-10.125rem] md:h-[14.25rem] md:items-end', - hamburgerButton: 'h-6 w-6 md:hidden', - title: 'typography-brand-8 font-bold text-white', + base: 'sticky top-0 z-50 flex w-full items-center gap-2 bg-hero px-2 py-3.5 transition-colors sm:px-4 md:top-[-10.125rem] md:h-[14.25rem] md:items-end', + gridButton: 'flex h-6 items-stretch gap-[0.125rem] p-1', + gridButtonWrapper: 'fixed right-2 top-2 hidden items-center text-white sm:flex', + hamburgerButton: 'fixed left-0 top-0 block h-4 w-4 translate-y-[-0.125rem] px-2 py-3.5 sm:left-2 lg:hidden', + title: 'typography-brand-7 pl-6 font-normal leading-none text-white sm:pl-6 lg:pl-0', }, variants: { fixed: { true: { base: 'items-center', - title: 'pb-1', + title: '', }, false: { base: '', - title: 'p-0 md:typography-brand-2 md:p-3', + title: 'md:typography-brand-2 md:px-2 md:pb-[1.75rem] md:pt-5 md:leading-none lg:ml-2', }, }, brand: { @@ -31,7 +33,7 @@ export const styles = tv( base: 'bg-heading bg-[url("/imgs/backgrounds/stg-background.svg")] bg-cover', }, wbc: { - base: 'bg-primary bg-[url("/imgs/backgrounds/wbc-background.svg")] bg-right-bottom bg-no-repeat', + base: 'bg-primary bg-[url("/imgs/backgrounds/wbc-background.svg")] bg-contain bg-right-bottom bg-no-repeat', title: 'uppercase', }, },