import React, { useState } from 'react';
import { ShoppingCart, User, Book, Phone, Mail, Award, TrendingUp } from 'lucide-react';
const coursesData = [
{
id: 1,
title: 'IIT JEE Mathematics',
description: 'Specialized coaching for IIT Mains and Advanced, covering all essential topics for success in competitive exams.',
price: 500,
},
{
id: 2,
title: 'Class 9-12 Mathematics',
description: 'Comprehensive curriculum-based tuition for students in grades 9 through 12, focusing on building strong foundational skills.',
price: 500,
},
];
const App = () => {
const [activePage, setActivePage] = useState('home');
const [cart, setCart] = useState([]);
const [showModal, setShowModal] = useState(false);
const [showCart, setShowCart] = useState(false);
const addToCart = (course) => {
const existingCourse = cart.find(item => item.id === course.id);
if (existingCourse) {
setCart(cart.map(item =>
item.id === course.id ? { ...item, quantity: item.quantity + 1 } : item
));
} else {
setCart([...cart, { ...course, quantity: 1 }]);
}
setShowCart(true);
};
const removeFromCart = (courseId) => {
setCart(cart.filter(item => item.id !== courseId));
};
const totalAmount = cart.reduce((total, item) => total + item.price * item.quantity, 0);
const handleCheckout = () => {
setShowModal(true);
};
const renderPage = () => {
switch (activePage) {
case 'home':
return ;
case 'courses':
return ;
case 'teacher':
return ;
case 'contact':
return ;
case 'cart':
return ;
default:
return ;
}
};
return (
{renderPage()}
{showModal && setShowModal(false)} totalAmount={totalAmount} />}
);
};
const Header = ({ setActivePage, cartCount, showCart, setShowCart }) => (
tutordeepakjain.com
{['Home', 'Courses', 'Teacher', 'Contact'].map(item => (
setActivePage(item.toLowerCase())}
>
{item}
))}
setShowCart(!showCart)}
>
{cartCount > 0 && (
{cartCount}
)}
{showCart && (
{['Home', 'Courses', 'Teacher', 'Contact'].map(item => (
{ setActivePage(item.toLowerCase()); setShowCart(false); }}
>
{item}
))}
)}
);
const Footer = () => (
);
const Home = ({ addToCart }) => (
Unlock Your Potential
Expert tuition for 9th to 12th grade students across India.
{
const coursesSection = document.querySelector('main > div:nth-child(2)');
if (coursesSection) {
coursesSection.scrollIntoView({ behavior: 'smooth' });
}
}}
>
Explore Courses
Why Choose Us?
Focused on Results
Our specialized approach for IIT JEE has a track record of success.
top of page
rosoga2933
Industry Leaders: Lip Fillers Market Top Companies
The Lip Fillers Market top companies continue to dominate due to their innovation pipelines and strong practitioner support. Top companies focus on maintaining a wide filler portfolio, ensuring providers can cater to diverse patient needs.
Strategic acquisitions, global expansion, and digital marketing allow these companies to strengthen their global presence. Their ability to balance innovation with safety ensures they remain trusted leaders in the cosmetic industry.
FAQs Q1: Who are the top companies? A: Global dermal filler manufacturers with proven track records. Q2: How do they maintain leadership? A: Through innovation, safety focus, and partnerships.
Sonu.pawar Follow
ajayajain Follow
rosoga2933 Follow
bottom of page