forked from Nutlope/qrGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHero.tsx
52 lines (49 loc) · 1.63 KB
/
Hero.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
'use client';
import Image from 'next/image';
import NavLink from './NavLink';
let heroImages = ['/1.png', '/6.png', '/3.png', '/4.png', '/5.png', '/2.png'];
export default function Hero() {
return (
<section>
<div className="custom-screen pt-28 text-gray-600">
<div className="space-y-5 max-w-4xl mx-auto text-center">
<h1 className="text-4xl text-gray-800 font-extrabold mx-auto sm:text-6xl">
Generate your next AI QR Code in seconds
</h1>
<p className="max-w-xl mx-auto">
QRGPT makes it simple for you to generate cool looking AI QR codes
in seconds, completely for free.
</p>
<div className="flex items-center justify-center gap-x-3 font-medium text-sm">
<NavLink
href="/start"
className="text-white bg-gray-800 hover:bg-gray-600 active:bg-gray-900 "
>
Generate your QR Code
</NavLink>
<NavLink
target="_blank"
href="https://github.com/Nutlope/qrGPT"
className="text-gray-700 border hover:bg-gray-50"
scroll={false}
>
Learn more
</NavLink>
</div>
<div className="grid sm:grid-cols-3 grid-cols-2 gap-4 pt-10">
{heroImages.map((image, idx) => (
<Image
key={idx}
alt="image"
src={image}
width={500}
height={500}
className="rounded-lg"
/>
))}
</div>
</div>
</div>
</section>
);
}