From e7604f95e2975c6b6caa60f0a76e0ab4436c927f Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 15:42:06 +0000 Subject: [PATCH 1/6] Update src/app/classes/page.tsx --- src/app/classes/page.tsx | 137 +++++++++++---------------------------- 1 file changed, 37 insertions(+), 100 deletions(-) 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() {
-
- -
- -
- -
-
Date: Tue, 10 Mar 2026 15:42:09 +0000 Subject: [PATCH 2/6] Update src/app/login/page.tsx --- src/app/login/page.tsx | 199 +++++++++++++++++++++++------------------ 1 file changed, 112 insertions(+), 87 deletions(-) diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 418a739..bf9ec2b 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -3,11 +3,8 @@ import Link from "next/link"; import { useState } from "react"; import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; -import Input from "@/components/form/Input"; -import ButtonExpandHover from "@/components/button/ButtonExpandHover"; -import FooterCard from "@/components/sections/footer/FooterCard"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import { Mail, Lock, Twitter, Linkedin } from "lucide-react"; +import { Mail, Lock, ArrowRight } from "lucide-react"; const navItems = [ { name: "Home", id: "/" }, @@ -20,22 +17,26 @@ const navItems = [ export default function LoginPage() { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); - const [loading, setLoading] = useState(false); + const [isLoading, setIsLoading] = useState(false); const [error, setError] = useState(""); - const handleLogin = async (e: React.FormEvent) => { + 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 +} -- 2.49.1 From 7bf2c22288857e6cea0cf98e94023ab047616444 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 15:42:14 +0000 Subject: [PATCH 3/6] Update src/app/page.tsx --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +} -- 2.49.1 From 49a6d2f6bdc2df12f80b728c0240c0a2da72385a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 15:42:17 +0000 Subject: [PATCH 4/6] Update src/app/pricing/page.tsx --- src/app/pricing/page.tsx | 159 ++++++++------------------------------- 1 file changed, 30 insertions(+), 129 deletions(-) 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 +} -- 2.49.1 From e5d2d34fc7dd62d5cbe32e714ede413fb8c322ed Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 15:42:26 +0000 Subject: [PATCH 6/6] Update src/app/workshops/page.tsx --- src/app/workshops/page.tsx | 133 ++++++++++--------------------------- 1 file changed, 35 insertions(+), 98 deletions(-) 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() {
-
- -
- -
- -
-