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 09c68f7 commit 27c453d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ const AppLayout = ({ title, desc, children, withPub }: Props) => {
<AppHeader />
</div>

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

0 comments on commit 27c453d

Please sign in to comment.