Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 18:40:44 +00:00
2 changed files with 56 additions and 173 deletions

View File

@@ -23,8 +23,7 @@ export default function HomePage() {
const footerColumns = [
{
title: "Quick Links",
items: [
title: "Quick Links", items: [
{ label: "Home", href: "/" },
{ label: "Menu", href: "/menu" },
{ label: "About Us", href: "/about" },
@@ -32,16 +31,14 @@ export default function HomePage() {
],
},
{
title: "Contact Info",
items: [
title: "Contact Info", items: [
{ label: "Call: +92 330 7771171", href: "tel:+923307771171" },
{ label: "WhatsApp Order", href: "https://wa.me/923307771171" },
{ label: "Get Directions", href: "https://maps.google.com/?q=Bilal+Shaheed+Chowk+Chaklala" },
],
},
{
title: "Hours",
items: [
title: "Hours", items: [
{ label: "Daily: Open Until 2:30 AM", href: "#" },
{ label: "Dine-In Available", href: "#" },
{ label: "Takeaway & Delivery", href: "#" },
@@ -68,9 +65,7 @@ export default function HomePage() {
brandName="Cheesy Joe's"
navItems={navItems}
button={{
text: "Order Now",
href: "tel:+923307771171",
}}
text: "Order Now", href: "tel:+923307771171"}}
/>
</div>
@@ -90,18 +85,13 @@ export default function HomePage() {
buttonAnimation="slide-up"
mediaItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg?_wi=1",
imageAlt: "Delicious cheesy burger",
},
imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg", imageAlt: "Delicious cheesy burger"},
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-toppings_23-2148601642.jpg?_wi=1",
imageAlt: "Fresh hot pizza with cheese",
},
imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-toppings_23-2148601642.jpg", imageAlt: "Fresh hot pizza with cheese"},
]}
mediaAnimation="slide-up"
rating={5}
ratingText="Rated 5.0 by 26 Customers"
useInvertedBackground={false}
/>
</div>
@@ -117,37 +107,17 @@ export default function HomePage() {
buttonAnimation="slide-up"
testimonials={[
{
id: "1",
name: "Ahmed Khan",
role: "Regular Customer",
company: "Chaklala Local",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/older-woman-with-thumb-up_1149-1162.jpg",
},
id: "1", name: "Ahmed Khan", role: "Regular Customer", company: "Chaklala Local", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/older-woman-with-thumb-up_1149-1162.jpg"},
{
id: "2",
name: "Fatima Malik",
role: "Student",
company: "Rawalpindi",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-posing-outside_23-2149615165.jpg",
},
id: "2", name: "Fatima Malik", role: "Student", company: "Rawalpindi", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-posing-outside_23-2149615165.jpg"},
{
id: "3",
name: "Hassan Ali",
role: "Family Man",
company: "Chaklala Scheme 3",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-redhead-lady_23-2148339146.jpg",
},
id: "3", name: "Hassan Ali", role: "Family Man", company: "Chaklala Scheme 3", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-redhead-lady_23-2148339146.jpg"},
{
id: "4",
name: "Zainab Sheikh",
role: "Night Shift Worker",
company: "Late Night Lover",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/european-man-smiling-cheerful-expression-closeup-portrait_53876-129391.jpg",
},
id: "4", name: "Zainab Sheikh", role: "Night Shift Worker", company: "Late Night Lover", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/european-man-smiling-cheerful-expression-closeup-portrait_53876-129391.jpg"},
]}
kpiItems={[
{ value: "26+", label: "5-Star Reviews" },
@@ -171,32 +141,16 @@ export default function HomePage() {
features={[
{
id: 1,
title: "Fresh Ingredients Daily",
description: "We use premium ingredients sourced daily to ensure every burger, pizza, and roll is prepared fresh. Quality is never compromised.",
imageSrc: "http://img.b2bpic.net/free-photo/friends-having-food-bar_107420-94812.jpg?_wi=1",
imageAlt: "Modern fast food restaurant interior",
},
title: "Fresh Ingredients Daily", description: "We use premium ingredients sourced daily to ensure every burger, pizza, and roll is prepared fresh. Quality is never compromised.", imageSrc: "http://img.b2bpic.net/free-photo/friends-having-food-bar_107420-94812.jpg", imageAlt: "Modern fast food restaurant interior"},
{
id: 2,
title: "Lightning-Fast Service",
description: "Your order is prepared quickly without sacrificing taste. Our trained team works efficiently to get your food to you hot and ready.",
imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg?_wi=2",
imageAlt: "Delicious burger preparation",
},
title: "Lightning-Fast Service", description: "Your order is prepared quickly without sacrificing taste. Our trained team works efficiently to get your food to you hot and ready.", imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg", imageAlt: "Delicious burger preparation"},
{
id: 3,
title: "Open Late Until 2:30 AM",
description: "Perfect for late-night cravings. Whether it's midnight snacking or early morning hunger, we're here for you every single day.",
imageSrc: "http://img.b2bpic.net/free-psd/classic-poutine-with-golden-fries-cheese-curds-rich-gravy_84443-72725.jpg?_wi=1",
imageAlt: "Crispy loaded fries",
},
title: "Open Late Until 2:30 AM", description: "Perfect for late-night cravings. Whether it's midnight snacking or early morning hunger, we're here for you every single day.", imageSrc: "http://img.b2bpic.net/free-psd/classic-poutine-with-golden-fries-cheese-curds-rich-gravy_84443-72725.jpg", imageAlt: "Crispy loaded fries"},
{
id: 4,
title: "Family-Friendly Environment",
description: "Welcoming to everyone—families, students, professionals, and night shift workers. Enjoy dine-in comfort or quick takeaway service.",
imageSrc: "http://img.b2bpic.net/free-photo/cutting-homemade-apple-strudel_123827-36355.jpg?_wi=1",
imageAlt: "Golden cheesy roll",
},
title: "Family-Friendly Environment", description: "Welcoming to everyone—families, students, professionals, and night shift workers. Enjoy dine-in comfort or quick takeaway service.", imageSrc: "http://img.b2bpic.net/free-photo/cutting-homemade-apple-strudel_123827-36355.jpg", imageAlt: "Golden cheesy roll"},
]}
animationType="blur-reveal"
textboxLayout="default"
@@ -214,33 +168,13 @@ export default function HomePage() {
tagAnimation="slide-up"
products={[
{
id: "1",
name: "Zinger Burger",
price: "Rs. 350",
imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg?_wi=3",
imageAlt: "Crispy Zinger Burger",
},
id: "1", name: "Zinger Burger", price: "Rs. 350", imageSrc: "http://img.b2bpic.net/free-photo/high-protein-meal-burgers-close-up-detail_23-2149098863.jpg", imageAlt: "Crispy Zinger Burger"},
{
id: "2",
name: "Cheesy Pizza (Large)",
price: "Rs. 850",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-toppings_23-2148601642.jpg?_wi=2",
imageAlt: "Hot Cheesy Pizza",
},
id: "2", name: "Cheesy Pizza (Large)", price: "Rs. 850", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-toppings_23-2148601642.jpg", imageAlt: "Hot Cheesy Pizza"},
{
id: "3",
name: "Loaded Fries",
price: "Rs. 250",
imageSrc: "http://img.b2bpic.net/free-psd/classic-poutine-with-golden-fries-cheese-curds-rich-gravy_84443-72725.jpg?_wi=2",
imageAlt: "Crispy Loaded Fries",
},
id: "3", name: "Loaded Fries", price: "Rs. 250", imageSrc: "http://img.b2bpic.net/free-psd/classic-poutine-with-golden-fries-cheese-curds-rich-gravy_84443-72725.jpg", imageAlt: "Crispy Loaded Fries"},
{
id: "4",
name: "Cheesy Roll",
price: "Rs. 200",
imageSrc: "http://img.b2bpic.net/free-photo/cutting-homemade-apple-strudel_123827-36355.jpg?_wi=2",
imageAlt: "Golden Cheesy Roll",
},
id: "4", name: "Cheesy Roll", price: "Rs. 200", imageSrc: "http://img.b2bpic.net/free-photo/cutting-homemade-apple-strudel_123827-36355.jpg", imageAlt: "Golden Cheesy Roll"},
]}
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
@@ -259,34 +193,16 @@ export default function HomePage() {
tagAnimation="slide-up"
metrics={[
{
id: "1",
value: "5000+",
title: "Happy Customers Served",
items: [
"Daily customer satisfaction",
"Consistent quality delivery",
"Word-of-mouth referrals",
],
id: "1", value: "5000+", title: "Happy Customers Served", items: [
"Daily customer satisfaction", "Consistent quality delivery", "Word-of-mouth referrals"],
},
{
id: "2",
value: "2000+",
title: "Orders Monthly",
items: [
"Dine-in orders",
"Takeaway orders",
"Delivery orders",
],
id: "2", value: "2000+", title: "Orders Monthly", items: [
"Dine-in orders", "Takeaway orders", "Delivery orders"],
},
{
id: "3",
value: "24/7",
title: "Late-Night Service",
items: [
"Open until 2:30 AM daily",
"Midnight deliveries available",
"Round-the-clock support",
],
id: "3", value: "24/7", title: "Late-Night Service", items: [
"Open until 2:30 AM daily", "Midnight deliveries available", "Round-the-clock support"],
},
]}
animationType="slide-up"
@@ -305,35 +221,17 @@ export default function HomePage() {
tagAnimation="slide-up"
faqs={[
{
id: "1",
title: "What are your operating hours?",
content: "We're open daily from morning until 2:30 AM. We serve you for breakfast, lunch, dinner, and late-night cravings every single day.",
},
id: "1", title: "What are your operating hours?", content: "We're open daily from morning until 2:30 AM. We serve you for breakfast, lunch, dinner, and late-night cravings every single day."},
{
id: "2",
title: "Do you offer delivery?",
content: "Yes, we offer no-contact delivery throughout Chaklala and surrounding areas. Call or WhatsApp us to place your delivery order. We aim to get your food to you hot and fresh.",
},
id: "2", title: "Do you offer delivery?", content: "Yes, we offer no-contact delivery throughout Chaklala and surrounding areas. Call or WhatsApp us to place your delivery order. We aim to get your food to you hot and fresh."},
{
id: "3",
title: "What payment methods do you accept?",
content: "We accept cash payments in-store and for delivery. For online orders, cash on delivery is available. Contact us for details about other payment options.",
},
id: "3", title: "What payment methods do you accept?", content: "We accept cash payments in-store and for delivery. For online orders, cash on delivery is available. Contact us for details about other payment options."},
{
id: "4",
title: "Can I customize my order?",
content: "Absolutely! We happily customize your burger, pizza, or other items to your preference. Let us know your requirements when ordering, and we'll prepare it exactly how you like it.",
},
id: "4", title: "Can I customize my order?", content: "Absolutely! We happily customize your burger, pizza, or other items to your preference. Let us know your requirements when ordering, and we'll prepare it exactly how you like it."},
{
id: "5",
title: "Do you offer family packages?",
content: "Yes, we have combo deals and family packages available. Call us at +92 330 7771171 to ask about our current specials and group orders.",
},
id: "5", title: "Do you offer family packages?", content: "Yes, we have combo deals and family packages available. Call us at +92 330 7771171 to ask about our current specials and group orders."},
{
id: "6",
title: "Is your food suitable for all ages?",
content: "Yes! Our menu caters to everyone—children, teens, adults, and seniors. We have options ranging from mild to spicy, and vegetarian choices available.",
},
id: "6", title: "Is your food suitable for all ages?", content: "Yes! Our menu caters to everyone—children, teens, adults, and seniors. We have options ranging from mild to spicy, and vegetarian choices available."},
]}
textboxLayout="default"
useInvertedBackground={false}
@@ -351,7 +249,7 @@ export default function HomePage() {
tagAnimation="slide-up"
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/front-view-female-courier-green-uniform-with-dessert-yellow-background-work-color-job-delivery-woman-worker-food_179666-39074.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/front-view-female-courier-green-uniform-with-dessert-yellow-background-work-color-job-delivery-woman-worker-food_179666-39074.jpg"
imageAlt="Order delivery service"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,36 @@
"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;
fontSize?: number;
fontWeight?: 'bold' | 'normal' | 'lighter';
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
fontSize = 24,
fontWeight = 'bold',
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 * fontSize * 0.6} ${fontSize * 1.5}`}
className={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"
}}
y={fontSize}
fontSize={fontSize}
fontWeight={fontWeight}
dominantBaseline="hanging"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;