|
1 | 1 | import React from 'react';
|
2 | 2 | import ApplyButton from '../components/ApplyButton';
|
3 | 3 | import '../styles/App.css';
|
4 |
| - |
| 4 | +// import Aos from 'locomotive-aos'; |
5 | 5 | import { Toaster } from 'sonner';
|
6 | 6 | import showNotif from '../components/ToastNotif';
|
| 7 | +import getMode from '../utils/getMode'; |
7 | 8 |
|
| 9 | +const Home = () => { |
| 10 | + var colorMode = getMode(); |
| 11 | + return ( |
| 12 | + <div data-scroll-section id='main-container' |
| 13 | + className={(colorMode === "dark") ? "text-white" : "text-black"} |
| 14 | + style={{backgroundColor: (colorMode === 'dark') ? "#18181B" : "#f3f3f3"}} |
| 15 | + > |
8 | 16 |
|
9 |
| -const Home = () => ( |
10 |
| - <div data-scroll-section id='main-container'> |
11 |
| - |
12 |
| - <div className='flex-container'> |
13 |
| - <div className="p-4 justify-center text-center" style={{ animation: 'textPopIn 0.7s ease-in-out' }}> |
14 |
| - <h2 className="text-2xl font-bold mb-4">Welcome to LuminAI Innovate Scholars</h2> |
15 |
| - <p className="mb-4">Empowering the next generation of AI innovators through comprehensive bootcamps.</p> |
16 |
| - <ApplyButton /> |
| 17 | + <div className='flex-container'> |
| 18 | + <div className="p-4 justify-center text-center" style={{ animation: 'textPopIn 0.7s ease-in-out' }}> |
| 19 | + <h2 className="text-2xl font-bold mb-4">Welcome to LuminAI Innovate Scholars</h2> |
| 20 | + <p className="mb-4">Empowering the next generation of AI innovators through comprehensive bootcamps.</p> |
| 21 | + <ApplyButton /> |
| 22 | + </div> |
17 | 23 | </div>
|
18 |
| - </div> |
19 |
| - |
20 |
| - <div className="p-4"> |
21 |
| - <h2 className="text-2xl font-bold mb-4" data-aos="fade-up">Welcome to Lumin AI Innovate Scholars</h2> |
22 |
| - <p className="mb-4" data-aos="fade-up" data-aos-delay="100">Empowering the next generation of AI innovators through comprehensive bootcamps.</p> |
23 | 24 |
|
24 |
| - <div className="grid grid-cols-1 md:grid-cols-2 gap-4" data-aos="fade-up" data-aos-delay="200"> |
25 |
| - <div className="bg-gray-100 p-4 rounded shadow-md"> |
26 |
| - <h3 className="text-xl font-bold">Completely Free</h3> |
27 |
| - <p>Lumin AI Innovate Scholars is a completely free bootcamp. We believe in providing quality education to everyone without any cost at all.</p> |
28 |
| - </div> |
29 |
| - <div className="bg-gray-100 p-4 rounded shadow-md"> |
30 |
| - <h3 className="text-xl font-bold">From Students, For Students</h3> |
31 |
| - <p>Our program is created by students who understand the challenges and needs of learning AI. We aim to make AI education accessible to all students.</p> |
| 25 | + <div className="p-4"> |
| 26 | + <h2 className="text-2xl font-bold mb-4" data-aos="fade-up">Welcome to Lumin AI Innovate Scholars</h2> |
| 27 | + <p className="mb-4" data-aos="fade-up" data-aos-delay="100">Empowering the next generation of AI innovators through comprehensive bootcamps.</p> |
| 28 | + |
| 29 | + <div className="grid grid-cols-1 md:grid-cols-2 gap-4" data-aos="fade-up" data-aos-delay="200"> |
| 30 | + <div className="bg-gray-100 p-4 rounded shadow-md"> |
| 31 | + <h3 className="text-xl font-bold">Completely Free</h3> |
| 32 | + <p>Lumin AI Innovate Scholars is a completely free bootcamp. We believe in providing quality education to everyone without any cost at all.</p> |
| 33 | + </div> |
| 34 | + <div className="bg-gray-100 p-4 rounded shadow-md"> |
| 35 | + <h3 className="text-xl font-bold">From Students, For Students</h3> |
| 36 | + <p>Our program is created by students who understand the challenges and needs of learning AI. We aim to make AI education accessible to all students.</p> |
| 37 | + </div> |
| 38 | + <div className="bg-gray-100 p-4 rounded shadow-md"> |
| 39 | + <h3 className="text-xl font-bold">Non-Profit Organization</h3> |
| 40 | + <p>We are a non-profit organization dedicated to spreading knowledge and fostering innovation in the field of artificial intelligence.</p> |
| 41 | + </div> |
| 42 | + <div className="bg-gray-100 p-4 rounded shadow-md"> |
| 43 | + <h3 className="text-xl font-bold">Legitimate Industry Standard AI</h3> |
| 44 | + <p>Our curriculum covers industry-standard AI tools and techniques, ensuring that our students are well-prepared for real-world applications.</p> |
| 45 | + </div> |
32 | 46 | </div>
|
33 |
| - <div className="bg-gray-100 p-4 rounded shadow-md"> |
34 |
| - <h3 className="text-xl font-bold">Non-Profit Organization</h3> |
35 |
| - <p>We are a non-profit organization dedicated to spreading knowledge and fostering innovation in the field of artificial intelligence.</p> |
36 |
| - </div> |
37 |
| - <div className="bg-gray-100 p-4 rounded shadow-md"> |
38 |
| - <h3 className="text-xl font-bold">Legitimate Industry Standard AI</h3> |
39 |
| - <p>Our curriculum covers industry-standard AI tools and techniques, ensuring that our students are well-prepared for real-world applications.</p> |
| 47 | + |
| 48 | + <div className="mt-8" data-aos="fade-up" data-aos-delay="300"> |
| 49 | + <h3 className="text-xl font-bold mb-4">Programming Frameworks and Libraries</h3> |
| 50 | + <p>We cover popular programming frameworks and libraries such as PyTorch and TensorFlow, helping you build robust AI models.</p> |
| 51 | + <ul className="list-disc list-inside"> |
| 52 | + <li>Convolutional Neural Networks (CNNs)</li> |
| 53 | + <li>Image Recognition</li> |
| 54 | + <li>Natural Language Processing (NLP)</li> |
| 55 | + <li>Reinforcement Learning (RL)</li> |
| 56 | + <li>Machine Learning Algorithms</li> |
| 57 | + </ul> |
40 | 58 | </div>
|
41 |
| - </div> |
42 | 59 |
|
43 |
| - <div className="mt-8" data-aos="fade-up" data-aos-delay="300"> |
44 |
| - <h3 className="text-xl font-bold mb-4">Programming Frameworks and Libraries</h3> |
45 |
| - <p>We cover popular programming frameworks and libraries such as PyTorch and TensorFlow, helping you build robust AI models.</p> |
46 |
| - <ul className="list-disc list-inside"> |
47 |
| - <li>Convolutional Neural Networks (CNNs)</li> |
48 |
| - <li>Image Recognition</li> |
49 |
| - <li>Natural Language Processing (NLP)</li> |
50 |
| - <li>Reinforcement Learning (RL)</li> |
51 |
| - <li>Machine Learning Algorithms</li> |
52 |
| - </ul> |
53 |
| - </div> |
| 60 | + <div className="mt-8" data-aos="fade-up" data-aos-delay="400"> |
| 61 | + <h3 className="text-xl font-bold mb-4">Mathematical Foundations</h3> |
| 62 | + <p>We also cover essential mathematical concepts that are fundamental to AI, including:</p> |
| 63 | + <ul className="list-disc list-inside"> |
| 64 | + <li>Matrices and Basic Linear Algebra</li> |
| 65 | + <li>Principles of Neural Networks</li> |
| 66 | + <li>Understanding Large Language Models (LLMs)</li> |
| 67 | + </ul> |
| 68 | + </div> |
54 | 69 |
|
55 |
| - <div className="mt-8" data-aos="fade-up" data-aos-delay="400"> |
56 |
| - <h3 className="text-xl font-bold mb-4">Mathematical Foundations</h3> |
57 |
| - <p>We also cover essential mathematical concepts that are fundamental to AI, including:</p> |
58 |
| - <ul className="list-disc list-inside"> |
59 |
| - <li>Matrices and Basic Linear Algebra</li> |
60 |
| - <li>Principles of Neural Networks</li> |
61 |
| - <li>Understanding Large Language Models (LLMs)</li> |
62 |
| - </ul> |
63 |
| - </div> |
| 70 | + <div className="text-center mt-12" data-aos="fade-up" data-aos-delay="500"> |
| 71 | + <ApplyButton /> |
| 72 | + </div> |
64 | 73 |
|
65 |
| - <div className="text-center mt-12" data-aos="fade-up" data-aos-delay="500"> |
66 |
| - <ApplyButton /> |
67 |
| - </div> |
| 74 | + <div> |
| 75 | + <Toaster richColors/> |
| 76 | + <button onClick={() => showNotif('Success! Message sent.', 'success')} className="btn mt-1 p-1 border rounded"> |
| 77 | + Show Success Toast |
| 78 | + </button> |
| 79 | + <button onClick={() => showNotif('Failed! Message not sent.', 'error')} className="btn mt-1 p-1 border rounded"> |
| 80 | + Show Error Toast |
| 81 | + </button> |
68 | 82 |
|
69 |
| - <div> |
70 |
| - <Toaster richColors/> |
71 |
| - <button onClick={() => showNotif('Success! Message sent.', 'success')} className="btn mt-1 p-1 border rounded"> |
72 |
| - Show Success Toast |
73 |
| - </button> |
74 |
| - <button onClick={() => showNotif('Failed! Message not sent.', 'error')} className="btn mt-1 p-1 border rounded"> |
75 |
| - Show Error Toast |
76 |
| - </button> |
| 83 | + </div> |
| 84 | + |
77 | 85 |
|
78 | 86 | </div>
|
79 |
| - |
80 |
| - |
81 | 87 | </div>
|
82 |
| - </div> |
83 |
| -); |
| 88 | + ); |
| 89 | +}; |
84 | 90 |
|
85 | 91 | export default Home;
|
0 commit comments