diff --git a/src/app/page.tsx b/src/app/page.tsx index 4a4250b..ef1a43f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="largeSmall" - background="aurora" + background="circleGradient" cardStyle="inset" primaryButtonStyle="double-inset" secondaryButtonStyle="layered" @@ -43,7 +43,7 @@ export default function LandingPage() { title="Stockton's Most Legendary Tortas." description="Authentic Mexico City-style tortas stacked with flavor, made fresh every day. Generous portions, bold ingredients, and that legendary taste." tag="🥪 Authentic Mexico City Flavor" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/portioned-russian-napoleon-cake-plate_140725-7048.jpg" imageAlt="Massive torta being cut open with meat, avocado, and cheese" buttons={[ @@ -74,11 +74,11 @@ export default function LandingPage() { features={[ { id: "1", title: "Super Torta", tags: ["Massive", "Loaded"], - imageSrc: "http://img.b2bpic.net/free-photo/sandwich-chicken_74190-5971.jpg?_wi=1", imageAlt: "Super torta stacked with meats, cheese, avocado, beans" + imageSrc: "http://img.b2bpic.net/free-photo/sandwich-chicken_74190-5971.jpg", imageAlt: "Super torta stacked with meats, cheese, avocado, beans" }, { id: "2", title: "Street Tacos", tags: ["Authentic", "Bold"], - imageSrc: "http://img.b2bpic.net/free-photo/delicious-tacos-studio_23-2150770495.jpg?_wi=1", imageAlt: "Traditional street tacos with authentic toppings" + imageSrc: "http://img.b2bpic.net/free-photo/delicious-tacos-studio_23-2150770495.jpg", imageAlt: "Traditional street tacos with authentic toppings" }, { id: "3", title: "Micheladas", tags: ["Spicy", "Refreshing"], @@ -113,10 +113,10 @@ export default function LandingPage() { id: "2", name: "✔ Authentic Mexican recipes", price: "", imageSrc: "http://img.b2bpic.net/free-photo/vendor-displaying-box-lemons_482257-109956.jpg", imageAlt: "Kitchen staff preparing authentic Mexican food" }, { - id: "3", name: "✔ Loaded with flavor", price: "", imageSrc: "http://img.b2bpic.net/free-photo/sandwich-chicken_74190-5971.jpg?_wi=2", imageAlt: "Fully loaded torta with all toppings" + id: "3", name: "✔ Loaded with flavor", price: "", imageSrc: "http://img.b2bpic.net/free-photo/sandwich-chicken_74190-5971.jpg", imageAlt: "Fully loaded torta with all toppings" }, { - id: "4", name: "✔ Made fresh every order", price: "", imageSrc: "http://img.b2bpic.net/free-photo/delicious-tacos-studio_23-2150770495.jpg?_wi=2", imageAlt: "Fresh tacos made to order" + id: "4", name: "✔ Made fresh every order", price: "", imageSrc: "http://img.b2bpic.net/free-photo/delicious-tacos-studio_23-2150770495.jpg", imageAlt: "Fresh tacos made to order" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6ecb6d7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,29 @@ -"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; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file