add template

This commit is contained in:
2024-08-26 14:14:34 +02:00
parent 4e4541f3e5
commit ad132b5bdf
56 changed files with 6854 additions and 1 deletions

50
src/components/Hero.jsx Normal file
View File

@@ -0,0 +1,50 @@
import { BackgroundImage } from '@/components/BackgroundImage'
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
export function Hero() {
return (
<div className="relative py-20 sm:pb-24 sm:pt-36">
<BackgroundImage className="-bottom-14 -top-36" />
<Container className="relative">
<div className="mx-auto max-w-2xl lg:max-w-4xl lg:px-12">
<h1 className="font-display text-5xl font-bold tracking-tighter text-blue-600 sm:text-7xl">
<span className="sr-only">DeceptiConf - </span>A design conference
for the dark side.
</h1>
<div className="mt-6 space-y-6 font-display text-2xl tracking-tight text-blue-900">
<p>
The next generation of web users are tech-savvy and suspicious.
They know how to use dev tools, they can detect a phishing scam
from a mile away, and they certainly arent accepting any checks
from Western Union.
</p>
<p>
At DeceptiConf youll learn about the latest dark patterns being
developed to trick even the smartest visitors, and youll learn
how to deploy them without ever being detected.
</p>
</div>
<Button href="#" className="mt-10 w-full sm:hidden">
Get your tickets
</Button>
<dl className="mt-10 grid grid-cols-2 gap-x-10 gap-y-6 sm:mt-16 sm:gap-x-16 sm:gap-y-10 sm:text-center lg:auto-cols-auto lg:grid-flow-col lg:grid-cols-none lg:justify-start lg:text-left">
{[
['Speakers', '18'],
['People Attending', '2,091'],
['Venue', 'Staples Center'],
['Location', 'Los Angeles'],
].map(([name, value]) => (
<div key={name}>
<dt className="font-mono text-sm text-blue-600">{name}</dt>
<dd className="mt-0.5 text-2xl font-semibold tracking-tight text-blue-900">
{value}
</dd>
</div>
))}
</dl>
</div>
</Container>
</div>
)
}