Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgsolomon committed Oct 29, 2024
1 parent 3db9b31 commit 8a9f587
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,19 @@ export default function Home({
{/* Add the following block */}
</div>
{userDB?.user && !pendingVideo ? (
<Card className="w-full max-w-xl border-none bg-transparent shadow-none">
<Card
className={` ${
!userDB?.user?.subscribed
? "max-w-xl"
: "flex flex-col items-center justify-center"
} border-none bg-transparent shadow-none`}
>
<CardContent>
<div className="grid gap-6 pt-4 sm:grid-cols-2">
<div
className={`grid w-full gap-6 pt-4 ${
!userDB?.user?.subscribed ? "sm:grid-cols-2" : ""
}`}
>
{userDB?.user?.subscribed ? null : (
<div className="flex flex-col justify-between gap-2 rounded-lg border border-primary/20 bg-primary/5 p-4 transition-colors hover:bg-primary/10">
<h3 className="text-lg font-semibold text-secondary-foreground">
Expand Down

0 comments on commit 8a9f587

Please sign in to comment.