forked from Nutlope/roomGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
79 lines (76 loc) · 3.01 KB
/
index.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import { NextPage } from "next";
import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import Footer from "../components/Footer";
import Header from "../components/Header";
import SquigglyLines from "../components/SquigglyLines";
import { Testimonials } from "../components/Testimonials";
const Home: NextPage = () => {
return (
<div className="flex max-w-6xl mx-auto flex-col items-center justify-center py-2 min-h-screen">
<Head>
<title>RoomGPT</title>
</Head>
<Header />
<main className="flex flex-1 w-full flex-col items-center justify-center text-center px-4 sm:mt-20 mt-20 background-gradient">
<a
href="https://vercel.fyi/roomGPT"
target="_blank"
rel="noreferrer"
className="border border-gray-700 rounded-lg py-2 px-4 text-gray-400 text-sm mb-5 transition duration-300 ease-in-out hover:text-gray-300"
>
Clone and deploy your own with{" "}
<span className="text-blue-600">Vercel</span>
</a>
<h1 className="mx-auto max-w-4xl font-display text-5xl font-bold tracking-normal text-gray-300 sm:text-7xl">
Generating dream rooms{" "}
<span className="relative whitespace-nowrap text-blue-600">
<SquigglyLines />
<span className="relative">using AI</span>
</span>{" "}
for everyone.
</h1>
<h2 className="mx-auto mt-12 max-w-xl text-lg sm:text-gray-400 text-gray-500 leading-7">
Take a picture of your room and see how your room looks in different
themes. 100% free – remodel your room today.
</h2>
<Link
className="bg-blue-600 rounded-xl text-white font-medium px-4 py-3 sm:mt-10 mt-8 hover:bg-blue-500 transition"
href="/dream"
>
Generate your dream room
</Link>
<div className="flex justify-between items-center w-full flex-col sm:mt-10 mt-6">
<div className="flex flex-col space-y-10 mt-4 mb-16">
<div className="flex sm:space-x-8 sm:flex-row flex-col">
<div>
<h3 className="mb-1 font-medium text-lg">Original Room</h3>
<Image
alt="Original photo of a room with roomGPT.io"
src="/1.jpg"
className="w-full object-cover h-96 rounded-2xl"
width={400}
height={400}
/>
</div>
<div className="sm:mt-0 mt-8">
<h3 className="mb-1 font-medium text-lg">Generated Room</h3>
<Image
alt="Generated photo of a room with roomGPT.io"
width={400}
height={400}
src="/1-new.jpg"
className="w-full object-cover h-96 rounded-2xl sm:mt-0 mt-2"
/>
</div>
</div>
</div>
</div>
</main>
<Testimonials />
<Footer />
</div>
);
};
export default Home;