diff --git a/src/app/page.tsx b/src/app/page.tsx index d5246da..ed45b51 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,7 +50,7 @@ export default function LandingPage() { tag="Meal Planning + Pantry + Nutrition in One App" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "glowing-orb" }} kpis={[ { value: "100K+", label: "Meals Planned" }, { value: "45%", label: "Less Takeout" }, @@ -125,19 +125,19 @@ export default function LandingPage() { }, { id: "3", brand: "Feature", name: "Weekly Meal Planner", price: "Plan Ahead", rating: 5, - reviewCount: "Flexible", imageSrc: "http://img.b2bpic.net/free-vector/pastel-home-screen_23-2148744995.jpg?_wi=1", imageAlt: "Weekly Meal Planner interface" + reviewCount: "Flexible", imageSrc: "http://img.b2bpic.net/free-vector/pastel-home-screen_23-2148744995.jpg", imageAlt: "Weekly Meal Planner interface" }, { id: "4", brand: "Feature", name: "Protein & Nutrition Tracking", price: "Health Goals", rating: 5, - reviewCount: "Detailed", imageSrc: "http://img.b2bpic.net/free-vector/orange-charity-smartphone-app-template_23-2148627918.jpg?_wi=1", imageAlt: "Nutrition Tracking interface" + reviewCount: "Detailed", imageSrc: "http://img.b2bpic.net/free-vector/orange-charity-smartphone-app-template_23-2148627918.jpg", imageAlt: "Nutrition Tracking interface" }, { id: "5", brand: "Feature", name: "Weight Goal Support", price: "Progress Tracking", rating: 5, - reviewCount: "Motivating", imageSrc: "http://img.b2bpic.net/free-vector/orange-charity-smartphone-app-template_23-2148627918.jpg?_wi=2", imageAlt: "Weight Goals interface" + reviewCount: "Motivating", imageSrc: "http://img.b2bpic.net/free-vector/orange-charity-smartphone-app-template_23-2148627918.jpg", imageAlt: "Weight Goals interface" }, { id: "6", brand: "Feature", name: "Smart Grocery List Builder", price: "Shop Smarter", rating: 5, - reviewCount: "Organized", imageSrc: "http://img.b2bpic.net/free-vector/pastel-home-screen_23-2148744995.jpg?_wi=2", imageAlt: "Grocery List interface" + reviewCount: "Organized", imageSrc: "http://img.b2bpic.net/free-vector/pastel-home-screen_23-2148744995.jpg", imageAlt: "Grocery List interface" } ]} /> @@ -166,15 +166,13 @@ export default function LandingPage() { animationType="slide-up" plans={[ { - id: "free", tag: "Forkast Free", price: "Free", period: "Forever", description: "Great for getting started with meal planning", button: { text: "Start Free", href: "#contact" }, - featuresTitle: "What's Included:", features: [ + id: "free", tag: "Forkast Free", price: "Free", period: "Forever", description: "Great for getting started with meal planning", button: { text: "Start Free", href: "#contact" }, featuresTitle: "What's Included:", features: [ "Basic dinner recommendations", "Simple meal planning", "Calorie tracking", "Weekly grocery list" ] }, { id: "pro", tag: "Forkast Pro", tagIcon: Crown, - price: "$4.99", period: "/month", description: "For families serious about health and meal success", button: { text: "Start with Forkast Pro", href: "#contact" }, - featuresTitle: "Everything in Free, plus:", features: [ + price: "$4.99", period: "/month", description: "For families serious about health and meal success", button: { text: "Start with Forkast Pro", href: "#contact" }, featuresTitle: "Everything in Free, plus:", features: [ "Smarter personalized dinner recommendations", "Advanced nutrition insights & macros", "Personalized weekly meal plans", "Protein-forward meal suggestions", "Weight goal tracking & support", "Priority customer support", "Ad-free experience" ] } diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..37c5ac4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + letterSpacing?: 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 = '', + fontSize = 48, + fontWeight = 700, + fill = 'currentColor', + letterSpacing = 0, +}) => { + const svgWidth = text.length * (fontSize * 0.6) + 40; + const svgHeight = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;