Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 06:52:05 +00:00
2 changed files with 17 additions and 46 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="smallMedium"
sizing="largeSmallSizeMediumTitles"
background="fluid"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="flat"
secondaryButtonStyle="radial-glow"
@@ -46,7 +46,7 @@ export default function LandingPage() {
description="Personalized fine dining experiences crafted with passion and precision. From intimate dinners to sophisticated gatherings, we bring restaurant-quality cuisine to your home."
tag="Premium Dining"
tagIcon={ChefHat}
background={{ variant: "fluid" }}
background={{ variant: "glowing-orb" }}
imageSrc="http://img.b2bpic.net/free-photo/chef-working-together-professional-kitchen_23-2149727991.jpg"
imageAlt="professional chef cooking gourmet kitchen"
imagePosition="right"
@@ -113,7 +113,7 @@ export default function LandingPage() {
variant: "text", texts: ["Vegetarian", "Vegan", "Gluten-Free", "Keto", "Mediterranean"]
},
{
title: "Menu Planning Process", description: "Collaborative planning for seasonal, themed, or custom menus", bentoComponent: "3d-task-list", title: "Menu Planning", items: [
title: "Menu Planning Process", description: "Collaborative planning for seasonal, themed, or custom menus", bentoComponent: "3d-task-list", items: [
{ icon: Lightbulb, label: "Concept", time: "Week 1" },
{ icon: BookOpen, label: "Selection", time: "Week 2" },
{ icon: CheckCircle, label: "Finalization", time: "Week 3" }
@@ -193,7 +193,7 @@ export default function LandingPage() {
tagIcon={Phone}
title="Book Your Culinary Experience"
description="Ready to elevate your dining? Contact us today for a personalized consultation to discuss your event, preferences, and culinary vision."
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/side-view-chef-cooking_23-2148471874.jpg"
imageAlt="professional chef preparing fresh ingredients"

View File

@@ -1,51 +1,22 @@
"use client";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
import React, { SVGProps } from 'react';
export default function SvgTextLogo(props: SVGProps<SVGSVGElement>) {
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 200 50"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<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="10"
y="35"
fontSize="32"
fontWeight="bold"
fill="currentColor"
dominantBaseline="alphabetic"
>
{logoText}
Logo
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
}