Merge version_1 into main #2

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

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="small"
sizing="mediumLarge"
background="aurora"
background="circleGradient"
cardStyle="subtle-shadow"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="solid"
@@ -43,13 +43,13 @@ export default function LandingPage() {
<HeroLogoBillboardSplit
logoText="MANOUSHE"
description="Authentic Lebanese street food. Freshly baked dough. Real Middle Eastern flavor. Unforgettable taste."
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Order Now", href: "#location" },
{ text: "Find The Truck", href: "#location" }
]}
layoutOrder="default"
imageSrc="http://img.b2bpic.net/free-photo/top-view-rolling-dough-composition_23-2148302951.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/top-view-rolling-dough-composition_23-2148302951.jpg"
imageAlt="Fresh manoushe bread being baked"
mediaAnimation="slide-up"
frameStyle="card"
@@ -81,19 +81,19 @@ export default function LandingPage() {
tag="Fresh Daily"
products={[
{
id: "1", name: "Zaatar Classic", price: "CHF 8", imageSrc: "http://img.b2bpic.net/free-photo/potato-gratin-baked-potatoes-with-cream-cheese-with-lavash-grilled-red-green-pepper_114579-112.jpg?_wi=1", imageAlt: "Zaatar manoushe traditional Lebanese bread"
id: "1", name: "Zaatar Classic", price: "CHF 8", imageSrc: "http://img.b2bpic.net/free-photo/potato-gratin-baked-potatoes-with-cream-cheese-with-lavash-grilled-red-green-pepper_114579-112.jpg", imageAlt: "Zaatar manoushe traditional Lebanese bread"
},
{
id: "2", name: "Spiced Beef Roll", price: "CHF 12", imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg?_wi=1", imageAlt: "Spiced beef manoushe customer favorite"
id: "2", name: "Spiced Beef Roll", price: "CHF 12", imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg", imageAlt: "Spiced beef manoushe customer favorite"
},
{
id: "3", name: "Halloumi Manoushe", price: "CHF 10", imageSrc: "http://img.b2bpic.net/free-photo/tomato-omelette-with-olives-cheese_140725-4095.jpg", imageAlt: "Grilled halloumi cheese manoushe"
},
{
id: "4", name: "Chicken Manoushe", price: "CHF 11", imageSrc: "http://img.b2bpic.net/free-photo/potato-gratin-baked-potatoes-with-cream-cheese-with-lavash-grilled-red-green-pepper_114579-112.jpg?_wi=2", imageAlt: "Marinated chicken manoushe"
id: "4", name: "Chicken Manoushe", price: "CHF 11", imageSrc: "http://img.b2bpic.net/free-photo/potato-gratin-baked-potatoes-with-cream-cheese-with-lavash-grilled-red-green-pepper_114579-112.jpg", imageAlt: "Marinated chicken manoushe"
},
{
id: "5", name: "Eggplant & Hummus", price: "CHF 9", imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg?_wi=2", imageAlt: "Eggplant hummus side manoushe"
id: "5", name: "Eggplant & Hummus", price: "CHF 9", imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg", imageAlt: "Eggplant hummus side manoushe"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -112,7 +112,7 @@ export default function LandingPage() {
features={[
{
id: "1", title: "Fresh Bread Every Time", description: "Your manoushe is baked when you order. Never pre-made, always hot, always authentic.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/top-view-rolling-dough-composition_23-2148302951.jpg?_wi=2"
imageSrc: "http://img.b2bpic.net/free-photo/top-view-rolling-dough-composition_23-2148302951.jpg"
},
items: [
{ icon: Flame, text: "Baked to order" },
@@ -134,7 +134,7 @@ export default function LandingPage() {
},
{
id: "3", title: "Amazing Prices, Premium Quality", description: "Street food prices with restaurant taste. Generous portions. No compromise on quality.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg?_wi=3"
imageSrc: "http://img.b2bpic.net/free-photo/side-view-turkish-pide-with-cheese-arranged-wooden-cutting-board_140725-10339.jpg"
},
items: [
{ icon: DollarSign, text: "Honest pricing" },

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