Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 02:03:09 +00:00
2 changed files with 31 additions and 52 deletions

View File

@@ -9,7 +9,7 @@ import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSp
import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen";
import ContactFaq from "@/components/sections/contact/ContactFaq";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Phone } from "lucide-react";
import { Phone, Zap } from "lucide-react";
export default function LandingPage() {
return (
@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="mediumSmall"
sizing="large"
background="noise"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
@@ -42,11 +42,11 @@ export default function LandingPage() {
title="Crispy, Fresh, Delivered Fast"
description="Experience the perfect fried chicken ordering experience. Quick, simple, and delicious."
tag="Fast Delivery"
tagIcon="Zap"
background={{ variant: "noise" }}
tagIcon={Zap}
background={{ variant: "plain" }}
mediaItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=1", imageAlt: "Fresh crispy fried chicken"
imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Fresh crispy fried chicken"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-crispy-fried-chicken-with-mayonnaise-ketchup_140725-54247.jpg", imageAlt: "Golden fried chicken meal"
@@ -71,15 +71,15 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Call Now", description: "Dial 01100016162 and speak to our friendly team ready to take your order anytime.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=2", imageAlt: "Call ChickenBox"
title: "Call Now", description: "Dial 01100016162 and speak to our friendly team ready to take your order anytime.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Call ChickenBox"
},
{
id: 2,
title: "Choose Your Meal", description: "Pick from our crispy chicken boxes, sandwiches, meals, and sides. Everything made fresh.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=1", imageAlt: "Chicken Box Menu"
title: "Choose Your Meal", description: "Pick from our crispy chicken boxes, sandwiches, meals, and sides. Everything made fresh.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Chicken Box Menu"
},
{
id: 3,
title: "Fast Delivery", description: "We prepare your order quickly and deliver hot to your location at 306 Corniche Street, El Tor.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=1", imageAlt: "Chicken Meal Delivery"
title: "Fast Delivery", description: "We prepare your order quickly and deliver hot to your location at 306 Corniche Street, El Tor.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Chicken Meal Delivery"
}
]}
/>
@@ -95,16 +95,16 @@ export default function LandingPage() {
gridVariant="three-columns-all-equal-width"
products={[
{
id: "1", name: "Chicken Box", price: "₤50", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=2", imageAlt: "Crispy fried chicken box"
id: "1", name: "Chicken Box", price: "₤50", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Crispy fried chicken box"
},
{
id: "2", name: "Chicken Sandwich", price: "₤35", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwich-with-green-salad-tomatoes-ham-inside-plate-with-french-fries_140725-29971.jpg", imageAlt: "Golden fried chicken sandwich"
},
{
id: "3", name: "Chicken Meal", price: "₤60", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=2", imageAlt: "Complete chicken meal combo"
id: "3", name: "Chicken Meal", price: "₤60", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Complete chicken meal combo"
},
{
id: "4", name: "Fries & Sides", price: "₤20", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg?_wi=1", imageAlt: "Golden crispy fries"
id: "4", name: "Fries & Sides", price: "₤20", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg", imageAlt: "Golden crispy fries"
}
]}
/>
@@ -132,19 +132,19 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Always Fresh", description: "We prepare every meal fresh to order using the highest quality ingredients. Never frozen, always delicious.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=3", imageAlt: "Fresh Ingredients"
title: "Always Fresh", description: "We prepare every meal fresh to order using the highest quality ingredients. Never frozen, always delicious.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Fresh Ingredients"
},
{
id: 2,
title: "Quick Service", description: "Order by phone and get your meal ready in minutes. We prioritize speed without sacrificing quality.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=3", imageAlt: "Quick Service"
title: "Quick Service", description: "Order by phone and get your meal ready in minutes. We prioritize speed without sacrificing quality.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Quick Service"
},
{
id: 3,
title: "Local Favorite", description: "Trusted by families and students across El Tor for quality fried chicken and friendly service.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=3", imageAlt: "Local Favorite"
title: "Local Favorite", description: "Trusted by families and students across El Tor for quality fried chicken and friendly service.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Local Favorite"
},
{
id: 4,
title: "Affordable Prices", description: "Great food at prices that work for your budget. Meals for singles or groups, all reasonably priced.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg?_wi=2", imageAlt: "Affordable Prices"
title: "Affordable Prices", description: "Great food at prices that work for your budget. Meals for singles or groups, all reasonably priced.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg", imageAlt: "Affordable Prices"
}
]}
/>

View File

@@ -1,51 +1,30 @@
"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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * 60} 100`}
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;