From d37c94870d147c57722e5bab496a0072a4519215 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 15:04:32 +0000 Subject: [PATCH 1/5] Update src/app/admin/page.tsx --- src/app/admin/page.tsx | 44 ++++++++++++------------------------------ 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 85aa337..6f6c8d2 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -59,7 +59,7 @@ export default function AdminPage() { borderRadius="rounded" contentWidth="compact" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -70,9 +70,7 @@ export default function AdminPage() { brandName="EduFlow" navItems={navItems} button={{ - text: "Get Started", - href: "#contact", - }} + text: "Get Started", href: "#contact"}} animateOnLoad={true} /> @@ -81,24 +79,15 @@ export default function AdminPage() { Date: Thu, 12 Mar 2026 15:04:32 +0000 Subject: [PATCH 2/5] Update src/app/page.tsx --- src/app/page.tsx | 175 +++++++++++------------------------------------ 1 file changed, 39 insertions(+), 136 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a972ee4..6b96026 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -61,7 +61,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="compact" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -72,9 +72,7 @@ export default function HomePage() { brandName="EduFlow" navItems={navItems} button={{ - text: "Get Started", - href: "#contact", - }} + text: "Get Started", href: "#contact"}} animateOnLoad={true} /> @@ -86,52 +84,32 @@ export default function HomePage() { tag="Liquid Glass Design" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} leftCarouselItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/city-committed-education-collage-concept_23-2150062208.jpg?_wi=1", - imageAlt: "Main dashboard interface", - }, + imageSrc: "http://img.b2bpic.net/free-photo/city-committed-education-collage-concept_23-2150062208.jpg", imageAlt: "Main dashboard interface"}, { - imageSrc: "http://img.b2bpic.net/free-vector/dashboard-business-user-panel_23-2148359900.jpg?_wi=1", - imageAlt: "Admin panel overview", - }, + imageSrc: "http://img.b2bpic.net/free-vector/dashboard-business-user-panel_23-2148359900.jpg", imageAlt: "Admin panel overview"}, { - imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg?_wi=1", - imageAlt: "Teacher portal interface", - }, + imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg", imageAlt: "Teacher portal interface"}, { - imageSrc: "http://img.b2bpic.net/free-vector/online-education-flat-background_23-2148136767.jpg?_wi=1", - imageAlt: "Student dashboard", - }, + imageSrc: "http://img.b2bpic.net/free-vector/online-education-flat-background_23-2148136767.jpg", imageAlt: "Student dashboard"}, ]} rightCarouselItems={[ { - imageSrc: "http://img.b2bpic.net/free-vector/online-education-flat-background_23-2148136767.jpg?_wi=2", - imageAlt: "Student learning interface", - }, + imageSrc: "http://img.b2bpic.net/free-vector/online-education-flat-background_23-2148136767.jpg", imageAlt: "Student learning interface"}, { - imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg?_wi=2", - imageAlt: "Teaching tools", - }, + imageSrc: "http://img.b2bpic.net/free-vector/flat-web-design-elements-green-color_23-2147542335.jpg", imageAlt: "Teaching tools"}, { - imageSrc: "http://img.b2bpic.net/free-vector/dashboard-business-user-panel_23-2148359900.jpg?_wi=2", - imageAlt: "Administration controls", - }, + imageSrc: "http://img.b2bpic.net/free-vector/dashboard-business-user-panel_23-2148359900.jpg", imageAlt: "Administration controls"}, { - imageSrc: "http://img.b2bpic.net/free-photo/city-committed-education-collage-concept_23-2150062208.jpg?_wi=2", - imageAlt: "Analytics and reports", - }, + imageSrc: "http://img.b2bpic.net/free-photo/city-committed-education-collage-concept_23-2150062208.jpg", imageAlt: "Analytics and reports"}, ]} buttons={[ { - text: "Launch Admin Panel", - href: "/admin", - }, + text: "Launch Admin Panel", href: "/admin"}, { - text: "Explore Features", - href: "#features", - }, + text: "Explore Features", href: "#features"}, ]} buttonAnimation="slide-up" carouselPosition="right" @@ -142,24 +120,15 @@ export default function HomePage() { Date: Thu, 12 Mar 2026 15:04:33 +0000 Subject: [PATCH 3/5] Update src/app/student/page.tsx --- src/app/student/page.tsx | 74 ++++++++-------------------------------- 1 file changed, 15 insertions(+), 59 deletions(-) diff --git a/src/app/student/page.tsx b/src/app/student/page.tsx index ee29f63..3fe5c94 100644 --- a/src/app/student/page.tsx +++ b/src/app/student/page.tsx @@ -59,7 +59,7 @@ export default function StudentPage() { borderRadius="rounded" contentWidth="compact" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -70,9 +70,7 @@ export default function StudentPage() { brandName="EduFlow" navItems={navItems} button={{ - text: "Get Started", - href: "#contact", - }} + text: "Get Started", href: "#contact"}} animateOnLoad={true} /> @@ -81,24 +79,15 @@ export default function StudentPage() { Date: Thu, 12 Mar 2026 15:04:33 +0000 Subject: [PATCH 4/5] Update src/app/teacher/page.tsx --- src/app/teacher/page.tsx | 74 ++++++++-------------------------------- 1 file changed, 15 insertions(+), 59 deletions(-) diff --git a/src/app/teacher/page.tsx b/src/app/teacher/page.tsx index 61c941f..cd7d02e 100644 --- a/src/app/teacher/page.tsx +++ b/src/app/teacher/page.tsx @@ -59,7 +59,7 @@ export default function TeacherPage() { borderRadius="rounded" contentWidth="compact" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -70,9 +70,7 @@ export default function TeacherPage() { brandName="EduFlow" navItems={navItems} button={{ - text: "Get Started", - href: "#contact", - }} + text: "Get Started", href: "#contact"}} animateOnLoad={true} /> @@ -81,24 +79,15 @@ export default function TeacherPage() { Date: Thu, 12 Mar 2026 15:04:33 +0000 Subject: [PATCH 5/5] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7cbe700 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,51 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; + textClassName?: string; + animationDuration?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', + animationDuration = 3, +}) => { return ( - {logoText} + {text} + ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1