Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 65958036ab | |||
| 1af75482b8 | |||
| 04792d0b71 | |||
| 8159649c60 | |||
| 4b217de793 | |||
| 4862f7541b |
@@ -79,7 +79,8 @@ export default function BlogPage() {
|
||||
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
||||
const response = await fetch(url, {
|
||||
method: "GET", headers: {
|
||||
"Content-Type": "application/json"},
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
@@ -164,7 +165,7 @@ export default function BlogPage() {
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{label: "About Us", href: "about"},
|
||||
{label: "About Us", href: "/"},
|
||||
{label: "Our Team", href: "team"},
|
||||
{label: "Careers", href: "contact"}
|
||||
]
|
||||
@@ -182,4 +183,4 @@ export default function BlogPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
106
src/app/contact/page.tsx
Normal file
106
src/app/contact/page.tsx
Normal file
@@ -0,0 +1,106 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Mail, Zap } from 'lucide-react';
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="elastic-effect"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="sharp"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
brandName="IT Home"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Courses", id: "courses" },
|
||||
{ name: "Team", id: "team" },
|
||||
{ name: "Testimonials", id: "testimonials" }
|
||||
]}
|
||||
button={{
|
||||
text: "Enroll Now", href: "contact"
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
title="Get In Touch With IT Home"
|
||||
description="Have questions about our programs? Want to schedule a consultation? We're here to help you start your journey to a rewarding tech career."
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Contact Us"
|
||||
tagIcon={Zap}
|
||||
imageSrc="https://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg"
|
||||
imageAlt="IT Home contact page"
|
||||
buttons={[
|
||||
{ text: "Back to Home", href: "/" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact-form" data-section="contact-form">
|
||||
<ContactSplit
|
||||
tag="Contact Information"
|
||||
tagIcon={Mail}
|
||||
title="Let's Connect"
|
||||
description="Fill out the form below and our team will get back to you within 24 hours. Whether you have questions about our programs, need financial aid information, or want to schedule a campus tour, we're ready to help."
|
||||
useInvertedBackground="noInvert"
|
||||
imageSrc="https://img.b2bpic.net/free-photo/team-collaboration-IT-professionals_146671-16510.jpg"
|
||||
imageAlt="IT Home team ready to help"
|
||||
mediaPosition="right"
|
||||
inputPlaceholder="your@email.com"
|
||||
buttonText="Send Message"
|
||||
termsText="We respect your privacy and will only use your email to respond to your inquiry."
|
||||
onSubmit={(email) => {
|
||||
console.log('Contact form submitted with email:', email);
|
||||
// Handle form submission here
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
logoText="IT Home"
|
||||
copyrightText="© 2025 IT Home. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
title: "Programs", items: [
|
||||
{ label: "Web Development", href: "/" },
|
||||
{ label: "Data Science", href: "/" },
|
||||
{ label: "Python Programming", href: "/" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/" },
|
||||
{ label: "Our Team", href: "/" },
|
||||
{ label: "Careers", href: "contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "contact" },
|
||||
{ label: "FAQ", href: "/" },
|
||||
{ label: "Student Portal", href: "https://portal.ithome.example.com" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -1261,4 +1261,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"use client"
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
@@ -10,8 +10,9 @@ import TeamCardSix from '@/components/sections/team/TeamCardSix';
|
||||
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Award, Globe, Users, Zap } from 'lucide-react';
|
||||
import { Award, Globe, Users, Zap, Mail } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -193,14 +194,19 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
text="Ready to transform your career with IT Home? Join thousands of successful graduates and start your journey into technology today."
|
||||
useInvertedBackground="invertDefault"
|
||||
animationType="entrance-slide"
|
||||
buttons={[
|
||||
{ text: "Enroll Today", href: "contact" },
|
||||
{ text: "Schedule a Consultation", href: "contact" }
|
||||
]}
|
||||
<ContactSplit
|
||||
tag="Get In Touch"
|
||||
tagIcon={Mail}
|
||||
title="Ready to Start Your Journey?"
|
||||
description="Join thousands of successful graduates and transform your career with IT Home. Contact us today to learn more about our programs and get started."
|
||||
useInvertedBackground="noInvert"
|
||||
imageSrc="https://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg"
|
||||
imageAlt="Contact us at IT Home"
|
||||
mediaPosition="right"
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Sign Up"
|
||||
termsText="By signing up, you agree to our Terms and Conditions. We respect your privacy."
|
||||
onSubmit={(email) => console.log('Submitted email:', email)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -235,4 +241,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
127
src/app/products/page.tsx
Normal file
127
src/app/products/page.tsx
Normal file
@@ -0,0 +1,127 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Zap, Heart } from 'lucide-react';
|
||||
|
||||
export default function ProductsPage() {
|
||||
const products = [
|
||||
{
|
||||
id: "1", name: "Advanced Python Course", price: "$299", variant: "Lifetime Access · 40 Hours", imageSrc: "https://img.b2bpic.net/free-photo/person-computing-software-code-laptop_482257-85707.jpg", imageAlt: "Python programming course", isFavorited: false,
|
||||
onFavorite: () => console.log("Favorited product 1"),
|
||||
onProductClick: () => console.log("Clicked product 1")
|
||||
},
|
||||
{
|
||||
id: "2", name: "Web Development Bootcamp", price: "$499", variant: "12 Weeks · Job Guarantee", imageSrc: "https://img.b2bpic.net/free-photo/side-view-attractive-hispanic-developer-programming-software-using-computer-while-working-from-home_662251-988.jpg", imageAlt: "Web development course", isFavorited: false,
|
||||
onFavorite: () => console.log("Favorited product 2"),
|
||||
onProductClick: () => console.log("Clicked product 2")
|
||||
},
|
||||
{
|
||||
id: "3", name: "Data Science Masterclass", price: "$399", variant: "14 Weeks · Certification", imageSrc: "https://img.b2bpic.net/free-photo/man-working-energy-innovations-his-laptop_23-2148820170.jpg", imageAlt: "Data science course", isFavorited: false,
|
||||
onFavorite: () => console.log("Favorited product 3"),
|
||||
onProductClick: () => console.log("Clicked product 3")
|
||||
},
|
||||
{
|
||||
id: "4", name: "Cloud & DevOps Course", price: "$349", variant: "10 Weeks · Hands-on Labs", imageSrc: "https://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg", imageAlt: "Cloud and DevOps training", isFavorited: false,
|
||||
onFavorite: () => console.log("Favorited product 4"),
|
||||
onProductClick: () => console.log("Clicked product 4")
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="elastic-effect"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="sharp"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
brandName="IT Home"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Courses", id: "courses" },
|
||||
{ name: "Team", id: "team" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
]}
|
||||
button={{
|
||||
text: "Enroll Now", href: "contact"
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
title="Explore Our Course Catalog"
|
||||
description="Browse our comprehensive selection of in-demand tech courses designed to advance your career."
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Course Products"
|
||||
tagIcon={Zap}
|
||||
imageSrc="https://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg"
|
||||
imageAlt="IT Home courses showcase"
|
||||
buttons={[
|
||||
{ text: "View All Courses", href: "#products" },
|
||||
{ text: "Get Started", href: "contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardFour
|
||||
products={products}
|
||||
title="Featured Courses"
|
||||
description="Discover our most popular and highly-rated technology courses."
|
||||
tag="Products"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground="noInvert"
|
||||
buttons={[
|
||||
{ text: "View All Products", href: "/products" },
|
||||
{ text: "Filter by Category", href: "/products" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
logoText="IT Home"
|
||||
copyrightText="© 2025 IT Home. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
title: "Programs", items: [
|
||||
{ label: "Web Development", href: "courses" },
|
||||
{ label: "Data Science", href: "courses" },
|
||||
{ label: "Python Programming", href: "courses" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/" },
|
||||
{ label: "Our Team", href: "team" },
|
||||
{ label: "Careers", href: "contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "contact" },
|
||||
{ label: "FAQ", href: "faq" },
|
||||
{ label: "Student Portal", href: "https://portal.ithome.example.com" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user