Skip to content

Commit

Permalink
Add background gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
JJozef committed Mar 30, 2024
1 parent a1ab135 commit 40c72fd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ import Link from 'next/link'

export default function Home() {
return (
<section className='container mx-auto flex max-w-[980px] flex-col items-center grow gap-2 py-8 md:py-12 md:pb-8 lg:py-24 lg:pb-20'>
<Badge className='text-sm hover:scale-105 transition select-none' variant='secondary'>
<section className='container mx-auto flex max-w-[980px] flex-col items-center grow gap-2 py-8 md:py-12 md:pb-8 lg:py-24 lg:pb-20 relative'>
<div className='absolute -z-[1] bottom-0 left-0 right-0 top-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-[size:14px_24px] [mask-image:radial-gradient(ellipse_45%_50%_at_50%_0%,#000_70%,transparent_110%)]' />

<Badge
className='text-sm hover:scale-105 transition select-none'
variant='secondary'
>
🎉 v1.0.0
</Badge>
<h1 className='text-center text-3xl font-bold leading-tight tracking-tighter md:text-6xl lg:leading-[1.1]'>
Expand Down

0 comments on commit 40c72fd

Please sign in to comment.