Skip to content

Commit

Permalink
feat(pub): addvertical publicity banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Rabiller committed Oct 25, 2021
1 parent 27c453d commit 89066a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ const AppLayout = ({ title, desc, children, withPub }: Props) => {
<AppHeader />
</div>

<main className="mx-auto max-w-6xl px-4 mt-8 sm:px-6 lg:px-8 h-full">{children}</main>
<main
className={`mx-auto ${withPub ? 'max-w-6xl' : 'max-w-7xl'} px-4 mt-8 sm:px-6 lg:px-8 h-full`}
>
{children}
</main>
{withPub && (
<div className="px-2 mt-8 w-80 right-0 top-0 pr-4 pt-32 xs:hidden 2xl:absolute">
<AdBanner isVertical />
Expand Down

0 comments on commit 89066a5

Please sign in to comment.