diff --git a/src/app/classes/page.tsx b/src/app/classes/page.tsx index 7415796..4105ee7 100644 --- a/src/app/classes/page.tsx +++ b/src/app/classes/page.tsx @@ -5,8 +5,6 @@ import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleAp import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll"; import FeatureHoverPattern from "@/components/sections/feature/featureHoverPattern/FeatureHoverPattern"; import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne"; -import PricingCardOne from "@/components/sections/pricing/PricingCardOne"; -import TeamCardFive from "@/components/sections/team/TeamCardFive"; import FaqDouble from "@/components/sections/faq/FaqDouble"; import FooterCard from "@/components/sections/footer/FooterCard"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; @@ -14,13 +12,12 @@ import { Sparkles, Zap, Award, - DollarSign, + BookOpen, Users, HelpCircle, - Calendar, - Lock, - BarChart3, - Smartphone, + Play, + Target, + TrendingUp, Twitter, Linkedin, Mail, @@ -54,15 +51,15 @@ export default function ClassesPage() {
-
- -
- -
- -
-
{ + const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); - setLoading(true); setError(""); - + setIsLoading(true); + try { - // Placeholder for login logic - console.log("Login attempt with:", { email, password }); - // Add your login API call here + // Placeholder for actual login logic + if (!email || !password) { + setError("Please fill in all fields"); + return; + } + // API call would go here + console.log("Login attempt:", { email, password }); } catch (err) { setError("Login failed. Please try again."); } finally { - setLoading(false); + setIsLoading(false); } }; @@ -56,98 +57,122 @@ export default function LoginPage() {
-
+
-
-

Welcome Back

-

Sign in to your ClassHub account

-
+
+ {/* Header */} +
+

Welcome Back

+

Sign in to your ClassHub account

+
-
+ {/* Error Message */} {error && ( -
- {error} +
+

{error}

)} -
- - setEmail(value)} - placeholder="you@example.com" - required - /> + {/* Form */} + + {/* Email Field */} +
+ +
+ + setEmail(e.target.value)} + placeholder="you@example.com" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+
+ + {/* Password Field */} +
+
+ + + Forgot? + +
+
+ + setPassword(e.target.value)} + placeholder="••••••••" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+
+ + {/* Submit Button */} + + + + {/* Divider */} +
+
+ OR +
-
- - setPassword(value)} - placeholder="Enter your password" - required - /> + {/* Social Login */} +
+ +
-
- - - Forgot password? - -
- - - - -
-

+ {/* Footer */} +

Don't have an account?{" "} - - Create one here + + Sign up

-
-

Or continue with

-
- - -
+ {/* Additional Info */} +
+

By signing in, you agree to our Terms of Service and Privacy Policy

- - ); -} \ No newline at end of file +} diff --git a/src/app/page.tsx b/src/app/page.tsx index 6e1835c..c900958 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -244,4 +244,4 @@ export default function HomePage() {
); -} \ No newline at end of file +} diff --git a/src/app/pricing/page.tsx b/src/app/pricing/page.tsx index e22d7ba..50a8da9 100644 --- a/src/app/pricing/page.tsx +++ b/src/app/pricing/page.tsx @@ -3,28 +3,20 @@ import Link from "next/link"; import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll"; -import FeatureHoverPattern from "@/components/sections/feature/featureHoverPattern/FeatureHoverPattern"; -import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne"; import PricingCardOne from "@/components/sections/pricing/PricingCardOne"; -import TeamCardFive from "@/components/sections/team/TeamCardFive"; import FaqDouble from "@/components/sections/faq/FaqDouble"; import FooterCard from "@/components/sections/footer/FooterCard"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { Sparkles, + DollarSign, + HelpCircle, Zap, Award, - DollarSign, Users, - HelpCircle, - Calendar, - Lock, - BarChart3, - Smartphone, Twitter, Linkedin, Mail, - CheckCircle, } from "lucide-react"; const navItems = [ @@ -56,14 +48,14 @@ export default function PricingPage() {
-
- -
-
-
- -
- -
- -
-
-
+
-
-

Create Account

-

Join ClassHub and start learning today

-
- -
- {error && ( -
- {error} +
+ {/* Success State */} + {success ? ( +
+
+ +
+

Welcome to ClassHub!

+

Your account has been created successfully. Please check your email to verify your address.

+ + Go to Login + +
+ ) : ( + <> + {/* Header */} +
+

Create Account

+

Join ClassHub and start learning today

+
+ + {/* Error Message */} + {error && ( +
+

{error}

+
+ )} + + {/* Form */} + + {/* Full Name Field */} +
+ +
+ + setFullName(e.target.value)} + placeholder="John Doe" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+
+ + {/* Email Field */} +
+ +
+ + setEmail(e.target.value)} + placeholder="you@example.com" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+
+ + {/* Password Field */} +
+ +
+ + setPassword(e.target.value)} + placeholder="••••••••" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+ {password && ( +
+
+ {[...Array(5)].map((_, i) => ( +
+ ))} +
+ + {passwordStrength.label} + +
+ )} +
+ + {/* Confirm Password Field */} +
+ +
+ + setConfirmPassword(e.target.value)} + placeholder="••••••••" + className="w-full pl-10 pr-4 py-2.5 bg-background border border-foreground/10 rounded-lg text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary-cta/50" + disabled={isLoading} + /> +
+ {confirmPassword && password !== confirmPassword && ( +

Passwords do not match

+ )} +
+ + {/* Terms Checkbox */} +
+ setAgreeToTerms(e.target.checked)} + className="mt-1 w-4 h-4 rounded border-foreground/20 bg-background cursor-pointer" + disabled={isLoading} + /> + +
+ + {/* Submit Button */} + + + + {/* Footer */} +

+ Already have an account?{" "} + + Sign in + +

+ )} - -
-
- - handleChange("firstName", value)} - placeholder="John" - required - /> -
-
- - handleChange("lastName", value)} - placeholder="Doe" - required - /> -
-
- -
- - handleChange("email", value)} - placeholder="you@example.com" - required - /> -
- -
- - handleChange("password", value)} - placeholder="Create a strong password" - required - /> -
- -
- - handleChange("confirmPassword", value)} - placeholder="Confirm your password" - required - /> -
- -
- setAgreeToTerms(e.target.checked)} - className="mt-1 mr-2" - /> - -
- - - - -
-

- Already have an account?{" "} - - Sign in here - -

-
-

Or sign up with

-
- - -
+ {/* Additional Info */} +
+

We'll never share your personal information with anyone

- - ); -} \ No newline at end of file +} diff --git a/src/app/workshops/page.tsx b/src/app/workshops/page.tsx index 7afa8bb..9a5373f 100644 --- a/src/app/workshops/page.tsx +++ b/src/app/workshops/page.tsx @@ -5,8 +5,6 @@ import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleAp import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll"; import FeatureHoverPattern from "@/components/sections/feature/featureHoverPattern/FeatureHoverPattern"; import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne"; -import PricingCardOne from "@/components/sections/pricing/PricingCardOne"; -import TeamCardFive from "@/components/sections/team/TeamCardFive"; import FaqDouble from "@/components/sections/faq/FaqDouble"; import FooterCard from "@/components/sections/footer/FooterCard"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; @@ -14,13 +12,12 @@ import { Sparkles, Zap, Award, - DollarSign, + Clock, Users, HelpCircle, Calendar, - Lock, - BarChart3, - Smartphone, + MapPin, + Star, Twitter, Linkedin, Mail, @@ -54,15 +51,15 @@ export default function WorkshopsPage() {
-
- -
- -
- -
-