@@ -4,15 +4,19 @@ import { FC, useEffect, useState } from "react";
44import { Button } from "@/components/ui/button" ;
55import { Card , CardContent } from "@/components/ui/card" ;
66import {
7- FaBook , FaRobot , FaSchool ,
8- FaUserGraduate , FaLightbulb , FaRocket ,
9- FaHandshake , FaEnvelope , FaPhone ,
7+ FaBook ,
8+ FaSchool ,
9+ FaUserGraduate ,
10+ FaLightbulb ,
11+ FaRocket ,
12+ FaHandshake ,
13+ FaEnvelope ,
14+ FaPhone ,
15+ FaBookReader ,
1016} from "react-icons/fa" ;
11- // import {FaUserGraduate, FaLightbulb, FaRocket} from "react-icons/fa";
1217import { supabase } from "@/lib/supabase" ;
1318import { motion } from "framer-motion" ;
1419
15-
1620// Define Book type
1721interface Book {
1822 id : string ;
@@ -73,44 +77,54 @@ const HomePage: FC = () => {
7377
7478 { /* Top-Level Calls to Action */ }
7579 < div className = "mt-8 flex flex-wrap justify-center gap-6" >
80+ { /* 1. Free Educational Materials */ }
7681 < Card className = "w-80 shadow-lg" >
7782 < CardContent className = "p-6 flex flex-col items-center text-center" >
7883 < FaBook className = "text-blue-500 text-5xl" />
79- < h2 className = "text-xl font-semibold mt-4" > Free Educational Materials</ h2 >
84+ < h2 className = "text-xl font-semibold mt-4" > Free Educational Materials Available Now </ h2 >
8085 < p className = "text-gray-600 mt-2" >
81- Download high-quality learning resources, including elementary math books .
86+ Download our free, high-quality resources including textbooks, worksheets, and more .
8287 </ p >
83- { /* open link in new tab - /books */ }
84- { /* <Button className="mt-4">Explore Books</Button> */ }
8588 < a href = "/books" target = "_blank" rel = "noopener noreferrer" >
8689 < Button className = "mt-4" > Explore Books</ Button >
8790 </ a >
8891 </ CardContent >
8992 </ Card >
93+
94+ { /* 2. Personalized Learning Journeys (Coming Soon) */ }
9095 < Card className = "w-80 shadow-lg" >
9196 < CardContent className = "p-6 flex flex-col items-center text-center" >
92- < FaRobot className = "text-green-500 text-5xl" />
93- < h2 className = "text-xl font-semibold mt-4" > AI-Powered Learning (Coming Soon)</ h2 >
97+ < FaUserGraduate className = "text-green-500 text-5xl" />
98+ < h2 className = "text-xl font-semibold mt-4" >
99+ Personalized Learning Journeys (Coming Soon)
100+ </ h2 >
94101 < p className = "text-gray-600 mt-2" >
95- Our AI-driven learning experience will soon be available!
102+ Our curriculum evolves with you, delivering custom lessons for your unique learning path.
96103 </ p >
97- < Button className = "mt-4" disabled > Launching Soon</ Button >
104+ < Button className = "mt-4" disabled >
105+ Launching Soon
106+ </ Button >
98107 </ CardContent >
99108 </ Card >
109+
110+ { /* 3. Top-Quality Textbooks (Coming Soon) */ }
100111 < Card className = "w-80 shadow-lg" >
101112 < CardContent className = "p-6 flex flex-col items-center text-center" >
102113 < FaSchool className = "text-red-500 text-5xl" />
103- < h2 className = "text-xl font-semibold mt-4" > Accredited Programs (Coming Soon)</ h2 >
114+ < h2 className = "text-xl font-semibold mt-4" >
115+ Accredited Programs (Coming Soon)
116+ </ h2 >
104117 < p className = "text-gray-600 mt-2" >
105- We are working towards accredited K-12 learning programs .
118+ We craft specialized textbooks for K-12, CLEP, and AP, inspired by real homeschooling success .
106119 </ p >
107- < Button className = "mt-4" disabled > Stay Tuned</ Button >
120+ < Button className = "mt-4" disabled >
121+ Stay Tuned
122+ </ Button >
108123 </ CardContent >
109124 </ Card >
110125 </ div >
111126
112127 { /* Consulting & Partnerships */ }
113-
114128 < motion . div
115129 className = "mt-12 w-full max-w-3xl px-6 text-center"
116130 initial = { { opacity : 0 , scale : 0 } }
@@ -122,10 +136,10 @@ const HomePage: FC = () => {
122136 Consulting & Partnerships
123137 </ h2 >
124138 < p className = "text-gray-700 mt-2" >
125- We offer < strong > custom books, AI-powered learning solutions, and tailored software development</ strong > .
139+ We offer < strong > custom books, dynamic learning solutions, and tailored software development</ strong > .
126140 </ p >
127141 < p className = "text-gray-600 mt-2" >
128- Whether you're looking for < strong > a partnership in education technology</ strong > or a < strong > fully customized learning experience</ strong > ,
142+ Whether you're looking for a partnership in education technology or a fully customized learning experience,
129143 we can build something amazing together.
130144 </ p >
131145 < motion . div
@@ -143,75 +157,80 @@ const HomePage: FC = () => {
143157 </ motion . div >
144158 </ motion . div >
145159
146-
147160 { /* About Encorpora Section */ }
148161 < div className = "mt-10 flex flex-wrap justify-center gap-6" >
149-
150162 < Card className = "w-80 shadow-lg" >
151163 < CardContent className = "p-6 text-center" >
152- < FaUserGraduate className = "text-blue-500 text-5xl mx-auto" />
153- < h2 className = "text-xl font-semibold text-gray-900 mt-4" > Personalizing Learning</ h2 >
164+ { /* New icon and heading */ }
165+ < FaBookReader className = "text-blue-500 text-5xl mx-auto" />
166+ < h2 className = "text-xl font-semibold text-gray-900 mt-4" >
167+ Personalized Learning Tools
168+ </ h2 >
154169 < p className = "text-gray-600 mt-2" >
155- We create < strong > custom textbooks</ strong > tailored to your interests and needs. Our AI-powered platform < strong > adapts to your learning style</ strong > and < strong > challenges you</ strong > to grow.
170+ We craft custom textbooks tailored to your unique interests. Our
171+ approach ensures every learner is challenged and engaged.
156172 </ p >
157173 </ CardContent >
158174 </ Card >
159175
160176 < Card className = "w-80 shadow-lg" >
161177 < CardContent className = "p-6 text-center" >
162178 < FaLightbulb className = "text-yellow-500 text-5xl mx-auto" />
163- < h2 className = "text-xl font-semibold text-gray-900 mt-4" > Empowering Students</ h2 >
179+ < h2 className = "text-xl font-semibold text-gray-900 mt-4" >
180+ Empowering Student Potential
181+ </ h2 >
164182 < p className = "text-gray-600 mt-2" >
165- The future of education isn't static—it's < strong > interactive, adaptive, and designed just for you </ strong > .
166- Encorpora delivers a dynamic learning experience that < strong > inspires curiosity</ strong > and < strong > encourages exploration</ strong > .
183+ We believe education should be truly interactive and adaptable .
184+ Experience a dynamic platform that sparks curiosity and exploration.
167185 </ p >
168186 </ CardContent >
169187 </ Card >
170188
171189 < Card className = "w-80 shadow-lg" >
172190 < CardContent className = "p-6 text-center" >
173191 < FaRocket className = "text-red-500 text-5xl mx-auto" />
174- < h2 className = "text-xl font-semibold text-gray-900 mt-4" > Revolutionizing Education</ h2 >
192+ < h2 className = "text-xl font-semibold text-gray-900 mt-4" >
193+ Revolutionizing Education Together
194+ </ h2 >
175195 < p className = "text-gray-700 mt-2" >
176- We are turning < strong > decades of software engineering</ strong > and < strong > education experience</ strong > into a platform that < strong > empowers students</ strong > to learn in new ways. We are < strong > Encorpora</ strong > .
196+ We blend software and teaching expertise together into a platform
197+ that drives students to thrive. We are Encorpora.
177198 </ p >
178199 </ CardContent >
179200 </ Card >
180-
181201 </ div >
182202
183203 { /* Featured Books */ }
184- < div className = "mt-16 text-center max-w-3xl" >
204+ < div className = "mt-16 text-center max-w-3xl" >
185205 < h2 className = "text-3xl font-semibold" > Featured Books</ h2 >
186206 < p className = "text-gray-700 mt-2" >
187207 Explore our growing collection of free educational materials.
188208 </ p >
189- </ div >
209+ </ div >
190210
191211 { /* Featured Books List */ }
192- < div className = "mt-10 flex flex-wrap justify-center gap-6" >
193- {
194- loading ? (
195- < p className = "text-gray-600" > Loading featured books...</ p >
196- ) : featuredBooks . length === 0 ? (
197- < p className = "text-gray-600" > No featured books available.</ p >
198- ) : (
199- featuredBooks . map ( ( book ) => (
200- < Card key = { book . id } className = "w-80 shadow-lg" >
201- < CardContent className = "p-6 text-center" >
202- < h3 className = "text-lg font-semibold" > { book . title } </ h3 >
203- < p className = "text-gray-600" > { book . description } </ p >
204- < a href = { book . link } target = "_blank" rel = "noopener noreferrer" >
205- < Button className = "mt-4" > Download</ Button >
206- </ a >
207- </ CardContent >
208- </ Card >
209- ) )
210- ) }
211- </ div >
212+ < div className = "mt-10 flex flex-wrap justify-center gap-6" >
213+ { loading ? (
214+ < p className = "text-gray-600" > Loading featured books...</ p >
215+ ) : featuredBooks . length === 0 ? (
216+ < p className = "text-gray-600" > No featured books available.</ p >
217+ ) : (
218+ featuredBooks . map ( ( book ) => (
219+ < Card key = { book . id } className = "w-80 shadow-lg" >
220+ < CardContent className = "p-6 text-center" >
221+ < h3 className = "text-lg font-semibold" > { book . title } </ h3 >
222+ < p className = "text-gray-600" > { book . description } </ p >
223+ < a href = { book . link } target = "_blank" rel = "noopener noreferrer" >
224+ < Button className = "mt-4" > Download</ Button >
225+ </ a >
226+ </ CardContent >
227+ </ Card >
228+ ) )
229+ ) }
230+ </ div >
212231
213232 { /* View All Books Link */ }
214- < div className = "mt-6" >
233+ < div className = "mt-6" >
215234 < a
216235 href = "/books"
217236 target = "_blank"
@@ -220,7 +239,7 @@ const HomePage: FC = () => {
220239 >
221240 View All Books →
222241 </ a >
223- </ div >
242+ </ div >
224243
225244 < footer className = "mt-16 text-gray-500 text-sm" >
226245 © { new Date ( ) . getFullYear ( ) } Corpora Inc - All Rights Reserved.
0 commit comments