Skip to content

Commit

Permalink
chore: add banner (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pagebakers authored Dec 5, 2023
1 parent e8f7320 commit 99b25a2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions apps/website/src/components/layout/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,19 @@ import { ButtonLink } from '../link'

const GlobalBanner = () => {
return (
<Banner
variant="solid"
colorScheme="primary"
display="flex"
justifyContent="center"
>
<BannerContent alignItems="center" justifyContent="center">
<BannerTitle>Black Friday Sale 🤩</BannerTitle>
<BannerDescription>
Use code <strong>BLACKFRIDAY30</strong> and get{' '}
<strong>30% OFF</strong>
</BannerDescription>
<Banner variant="solid" bg="black" display="flex" justifyContent="center">
<BannerContent alignItems="center" justifyContent="center" fontSize="sm">
<BannerTitle>We&apos;re live on DevHunt:</BannerTitle>
<BannerDescription>tool of the week contest</BannerDescription>
<BannerActions>
<ButtonLink href="/pricing">Buy now</ButtonLink>
<ButtonLink
href="https://devhunt.org/tool/saas-ui"
colorScheme="white"
size="xs"
rel="noopener"
>
Check it out
</ButtonLink>
</BannerActions>
</BannerContent>
</Banner>
Expand Down Expand Up @@ -64,6 +63,7 @@ const Header = (props: HeaderProps) => {
}}
{...props}
>
<GlobalBanner />
<Box
zIndex="1"
position="relative"
Expand Down

1 comment on commit 99b25a2

@vercel
Copy link

@vercel vercel bot commented on 99b25a2 Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.