diff --git a/src/app/page.tsx b/src/app/page.tsx index 698373d..86365ba 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,6 @@ import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven"; import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve"; import FaqSplitText from "@/components/sections/faq/FaqSplitText"; import FooterBase from "@/components/sections/footer/FooterBase"; -import Link from "next/link"; export default function HomePage() { const navItems = [ @@ -23,8 +22,7 @@ export default function HomePage() { const footerColumns = [ { - title: "Product", - items: [ + title: "Product", items: [ { label: "Learn", href: "#learn" }, { label: "Ask Doubt", href: "#ask-doubt" }, { label: "Quiz", href: "#quiz" }, @@ -32,8 +30,7 @@ export default function HomePage() { ], }, { - title: "Company", - items: [ + title: "Company", items: [ { label: "About Us", href: "/about" }, { label: "Blog", href: "/blog" }, { label: "Careers", href: "/careers" }, @@ -41,8 +38,7 @@ export default function HomePage() { ], }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Cookie Policy", href: "#" }, @@ -69,9 +65,7 @@ export default function HomePage() { brandName="LearnAI" navItems={navItems} button={{ - text: "Start Learning Now", - href: "https://learnai.app/login", - }} + text: "Start Learning Now", href: "https://learnai.app/login"}} /> @@ -84,7 +78,7 @@ export default function HomePage() { { text: "Start Learning Now", href: "https://learnai.app/login" }, { text: "Explore Features", href: "#features" }, ]} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-serene-modern-study-environment-with-a-1773292649734-e26abce9.png?_wi=1" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-serene-modern-study-environment-with-a-1773292649734-e26abce9.png" imageAlt="AI-powered learning environment with holographic interface" showDimOverlay={true} /> @@ -95,37 +89,17 @@ export default function HomePage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..190d65a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; + fillColor?: string; } -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 = '', + fillColor = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;