|
| 1 | +import SearchBar from "@/components/searchbar"; |
1 | 2 | import Navbar from "@/components/Navbar";
|
2 | 3 | import StoredPapers from "@/components/StoredPapers";
|
3 | 4 | import Footer from "@/components/Footer";
|
4 |
| -import SearchBar from "@/components/Searchbar/searchbar"; |
| 5 | +import Hero from "@/components/Hero"; |
| 6 | +import Faq from "@/components/Faq"; |
5 | 7 |
|
6 | 8 | const HomePage = () => {
|
7 | 9 | return (
|
8 |
| - <div className="flex min-h-screen flex-col"> |
| 10 | + <div className="flex min-h-screen w-full flex-col vipna dark:bg-[#070114] bg-[#F3F5FF]"> |
9 | 11 | <div>
|
10 | 12 | <Navbar />
|
11 | 13 | </div>
|
12 | 14 | <div className="mt-2 flex flex-grow flex-col items-center justify-center gap-y-10">
|
13 | 15 | <div className="w-full max-w-2xl space-y-10 text-center">
|
14 |
| - <h1 className="phonk mx-auto text-2xl md:text-3xl"> |
| 16 | + <h1 className="vipnabd font-extrabold text-3xl md:text-3xl mx-auto mt-14 mb-6"> |
15 | 17 | Built by Students for Students
|
16 | 18 | </h1>
|
17 |
| - |
18 |
| - <p className="text-md mx-auto w-[90%] font-sans font-semibold md:w-full"> |
19 |
| - Prepare to excel in your CATs and FATs with CodeChef-VIT's |
20 |
| - dedicated repository of past exam papers. Access key resources to |
21 |
| - review concepts, tackle challenging questions, and familiarize |
22 |
| - yourself with exam patterns. Boost your confidence, sharpen your |
23 |
| - strategy, and get ready to ace your exams! |
24 |
| - </p> |
25 |
| - |
26 |
| - <div className="flex flex-wrap justify-center gap-4 text-sm font-bold"> |
27 |
| - {[ |
28 |
| - "NO SIGN UP REQUIRED", |
29 |
| - "FILTERED SEARCH", |
30 |
| - "FLEXIBLE DOWNLOAD", |
31 |
| - ].map((text) => ( |
32 |
| - <div |
33 |
| - key={text} |
34 |
| - className="rounded-full bg-gradient-to-r from-[#562EE7] to-[#bd21b4] p-[2px]" |
35 |
| - > |
36 |
| - <div className="rounded-full bg-white px-6 py-3 font-sans tracking-wider text-black dark:bg-black dark:text-white"> |
37 |
| - {text} |
38 |
| - </div> |
39 |
| - </div> |
40 |
| - ))} |
41 |
| - </div> |
42 | 19 | </div>
|
43 |
| - |
44 |
| - <div className="z-20 w-full max-w-xl"> |
| 20 | + <div className="z-20 w-full max-w-xl mb-6"> |
45 | 21 | <SearchBar />
|
46 | 22 | </div>
|
47 |
| - |
48 |
| - <div className="max-3xl w-full"> |
| 23 | + <div className="w-full max-w-7xl"> |
49 | 24 | <StoredPapers />
|
50 | 25 | </div>
|
| 26 | + <div className="w-full max-w-7xl"> |
| 27 | + <Hero /> |
| 28 | + </div> |
| 29 | + <div className="w-full max-w-7xl mb-10"> |
| 30 | + <Faq /> |
| 31 | + </div> |
51 | 32 | </div>
|
52 | 33 |
|
53 | 34 | <Footer />
|
|
0 commit comments