diff --git a/app/home/page.tsx b/app/home/page.tsx index 757b825..e5cffd6 100644 --- a/app/home/page.tsx +++ b/app/home/page.tsx @@ -6,7 +6,7 @@ const Home: React.FC = () => {

A Pre-school and Daycare

for Free Thinkers

- Slide + Slide

“This is a place where our child feels loved, valued, and excited to learn”

diff --git a/app/page.tsx b/app/page.tsx index 757b825..9b36d2d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,21 +1,177 @@ +// import Layout from "components/Layout"; + +// const Home: React.FC = () => { +// return ( +// +//
+//

A Pre-school and Daycare

+//

for Free Thinkers

+// Slide +//

“This is a place where our child feels loved, valued, and excited to learn”

+//
+//
+//

Our Overview

+//
+//
Centres 130+
+//
Children 130+
+//
Faculty 600+
+//
Decades 1
+//
+//
+//
+// ); +// }; + +// export default Home; + import Layout from "components/Layout"; +import Image from "next/image"; +import Link from "next/link"; const Home: React.FC = () => { + const line1 = 'A Pre-school and Daycare'; + const line2 = 'for Free Thinkers'; + + const renderColoredText = (text: string, startIndex: number) => { + let colorIndex = startIndex; + return text.split('').map((char, idx) => { + const colorClass = `text-color-${colorIndex}`; + colorIndex += 1; + + // Replace space with non-breaking space to preserve spacing + const displayChar = char === ' ' ? '\u00A0' : char; + + return ( + + {displayChar} + + ); + }); + }; + + return ( -
-

A Pre-school and Daycare

-

for Free Thinkers

- Slide -

“This is a place where our child feels loved, valued, and excited to learn”

+
+

+ {renderColoredText(line1, 1)} +

+

+ {renderColoredText(line2, line1.length + 1)} +

+ +
+ +
+ Slide +

+ “This is a place where our child feels loved, valued, and excited to learn” +

+ Kids' drawings
-
-

Our Overview

-
-
Centres 130+
-
Children 130+
-
Faculty 600+
-
Decades 1
+ + {/* Overview Section */} +
+

OUR OVERVIEW

+
+
+

Centres 130+

+
+
+

Children 130+

+
+
+

Faculty 600+

+
+
+

Decades 1

+
+
+
+ Kids reading a book +
+
+ + {/* Testimonials Section */} +
+

Our Testimonials

+
+ {/* First testimonial */} +
+ Parent with child +

+ “Lil Pals has been a wonderful experience for our daughter, Mia. From the moment we stepped into the school, we were impressed by the warm and welcoming environment..." +

+

— Christine & Phil, parents of Mia

+
⭐️⭐️⭐️⭐️⭐️
+
+ {/* Second testimonial */} +
+ Father with child +

+ "Lil Pals has been a wonderful experience for our daughter, Ava. From the moment we joined, we were impressed by the warm and nurturing environment..." +

+

— Lena & Raj, parents of Ava

+
⭐️⭐️⭐️⭐️⭐️
+
+ {/* Third testimonial */} +
+ Mother with child +

+ “Lil Pals has been a wonderful experience for our daughter, Mia. From the moment we stepped into the school, we were impressed by the warm and welcoming environment..." +

+

— Christine & Phil, parents of Mia

+
⭐️⭐️⭐️⭐️⭐️
+
+
+
+ + +
+
+ + {/* Admissions Section */} +
+
+
+ Lil Pals Logo +

+ Admissions open for 2024-25!! +

+ +
+
+ Kids playing +
diff --git a/components/Font/index.tsx b/components/Font/index.tsx new file mode 100644 index 0000000..654e6e5 --- /dev/null +++ b/components/Font/index.tsx @@ -0,0 +1,25 @@ +// pages/_document.js +import Document, { Html, Head, Main, NextScript } from 'next/document'; + +class MyDocument extends Document { + render() { + return ( + + + {/* Import Google Fonts */} + + + + +
+ + + + ); + } +} + +export default MyDocument; diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 7254859..18f2f93 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -1,10 +1,12 @@ import Link from 'next/link'; +import Image from "next/image"; + const Header: React.FC = () => { return (
- logo + logo