Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 12:47:25 +00:00
2 changed files with 40 additions and 61 deletions

View File

@@ -9,7 +9,7 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Clock, Flame, Globe, MapPin, MessageSquare, Star, Utensils, Users } from 'lucide-react';
import { Clock, Flame, Globe, MapPin, MessageSquare, Star, Utensils, Users, Coffee } from 'lucide-react';
export default function LandingPage() {
return (
@@ -28,11 +28,11 @@ export default function LandingPage() {
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "home" },
{ name: "Menu", id: "menu" },
{ name: "About", id: "about" },
{ name: "Reviews", id: "reviews" },
{ name: "Contact", id: "contact" }
{ name: "Home", id: "/" },
{ name: "Menu", id: "#menu" },
{ name: "About", id: "#about" },
{ name: "Reviews", id: "#reviews" },
{ name: "Contact", id: "#contact" }
]}
brandName="Cafe Corner Ultimate"
bottomLeftText="CDA Sector-10, Cuttack"
@@ -45,7 +45,7 @@ export default function LandingPage() {
title="Cuttack's Favorite Café for Great Food & Coffee"
description="Experience warm hospitality, affordable pricing, and authentic flavors loved by students, families, and professionals. ⭐ 4.8-star rated from 80+ reviews."
tag="Café Corner Ultimate"
tagIcon={Utensils}
tagIcon={Coffee}
tagAnimation="slide-up"
background={{ variant: "plain" }}
buttons={[
@@ -55,7 +55,7 @@ export default function LandingPage() {
buttonAnimation="slide-up"
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/smiley-friends-cafe-enjoying-their-time_23-2148735439.jpg", imageAlt: "Cozy café interior with warm seating" },
{ imageSrc: "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg?_wi=1", imageAlt: "Café ambiance with comfortable setup" }
{ imageSrc: "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg", imageAlt: "Café ambiance with comfortable setup" }
]}
mediaAnimation="slide-up"
rating={5}
@@ -87,30 +87,30 @@ export default function LandingPage() {
features={[
{
title: "Cold Coffee", description: "Creamy, chilled, and refreshing a student favorite", bentoComponent: "media-stack", items: [
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg?_wi=1", imageAlt: "Creamy cold coffee" },
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg?_wi=1", imageAlt: "Thick milkshake" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg?_wi=2", imageAlt: "Iced beverage" }
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg", imageAlt: "Creamy cold coffee" },
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg", imageAlt: "Thick milkshake" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg", imageAlt: "Iced beverage" }
]
},
{
title: "Caesar Salad", description: "Fresh, crisp, and full of flavor your healthy choice", bentoComponent: "media-stack", items: [
{ imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg?_wi=1", imageAlt: "Fresh caesar salad" },
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg?_wi=1", imageAlt: "Starter platter" },
{ imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg?_wi=2", imageAlt: "Salad with dressing" }
{ imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg", imageAlt: "Fresh caesar salad" },
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg", imageAlt: "Starter platter" },
{ imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg", imageAlt: "Salad with dressing" }
]
},
{
title: "Indian Starters", description: "Authentic, mouth-watering, and pocket-friendly", bentoComponent: "media-stack", items: [
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg?_wi=2", imageAlt: "Fried Indian starters" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg?_wi=3", imageAlt: "Cold beverage pairing" },
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg?_wi=3", imageAlt: "Garlic appetizers" }
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg", imageAlt: "Fried Indian starters" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg", imageAlt: "Cold beverage pairing" },
{ imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg", imageAlt: "Garlic appetizers" }
]
},
{
title: "Shakes & Beverages", description: "Thick, creamy shakes perfect for any time of day", bentoComponent: "media-stack", items: [
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg?_wi=2", imageAlt: "Creamy shake" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg?_wi=4", imageAlt: "Cold coffee" },
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg?_wi=3", imageAlt: "Colorful shake" }
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg", imageAlt: "Creamy shake" },
{ imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg", imageAlt: "Cold coffee" },
{ imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg", imageAlt: "Colorful shake" }
]
}
]}
@@ -131,19 +131,19 @@ export default function LandingPage() {
products={[
{
id: "1", brand: "Cafe Corner", name: "Cold Coffee Special", price: "₹120", rating: 5,
reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg?_wi=5", imageAlt: "Cold Coffee"
reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/closeup-glass-ice-tea-with-milk-table-white_181624-21664.jpg", imageAlt: "Cold Coffee"
},
{
id: "2", brand: "Cafe Corner", name: "Caesar Salad", price: "₹180", rating: 5,
reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg?_wi=3", imageAlt: "Caesar Salad"
reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/autumn-salad-with-apples-walnuts-wooden-table_123827-26240.jpg", imageAlt: "Caesar Salad"
},
{
id: "3", brand: "Cafe Corner", name: "Garlic Starters", price: "₹220", rating: 5,
reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg?_wi=4", imageAlt: "Garlic Starters"
reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/toasts-with-tomatoes-grated-cheese-olives-arugula_141793-1010.jpg", imageAlt: "Garlic Starters"
},
{
id: "4", brand: "Cafe Corner", name: "Thick Milkshake", price: "₹130", rating: 5,
reviewCount: "160+", imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg?_wi=4", imageAlt: "Thick Milkshake"
reviewCount: "160+", imageSrc: "http://img.b2bpic.net/free-photo/strawberry-milkshake-with-whipped-cream-strawberry-syrup_140725-2579.jpg", imageAlt: "Thick Milkshake"
}
]}
gridVariant="four-items-2x2-equal-grid"
@@ -179,7 +179,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg"
imageAlt="Café interior ambiance"
mediaAnimation="slide-up"
mediaPosition="right"

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);
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={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="central"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;