Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 01:01:39 +00:00
2 changed files with 35 additions and 45 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="small"
sizing="large"
background="floatingGradient"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="gradient"
secondaryButtonStyle="radial-glow"
@@ -47,14 +47,14 @@ export default function LandingPage() {
description="Indulge in authentic Wagyu beef prepared by master chefs in an intimate teppan setting, where centuries of Japanese culinary tradition meet modern luxury."
tag="Fine Dining Excellence"
tagIcon={Sparkles}
background={{ variant: "floatingGradient" }}
background={{ variant: "sparkles-gradient" }}
buttons={[
{ text: "Reserve Your Table", href: "contact" },
{ text: "View Menu", href: "menu" }
]}
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/chef-putting-sauce-top-meat_23-2148491234.jpg", imageAlt: "Premium Wagyu beef with perfect marble" },
{ imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-table-with-elegant-setting-restaurant-evening_181624-24647.jpg?_wi=1", imageAlt: "Elegant fine dining table setting" },
{ imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-table-with-elegant-setting-restaurant-evening_181624-24647.jpg", imageAlt: "Elegant fine dining table setting" },
{ imageSrc: "http://img.b2bpic.net/free-photo/waiter-holding-platter-grilled-sausage-kebab-with-bread-grilled-tomato-pepper_140725-7113.jpg", imageAlt: "Chef cooking steak on teppan grill" },
{ imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-black-dress-sits-before-wall-books-christmas-decor_8353-8828.jpg", imageAlt: "Premium wine and sake selection" },
{ imageSrc: "http://img.b2bpic.net/free-photo/japanese-street-food-restaurant-nighttime_23-2149410163.jpg", imageAlt: "Steakhouse entrance at night" }
@@ -76,7 +76,7 @@ export default function LandingPage() {
imageAlt="Master chef preparing premium steak"
useInvertedBackground={true}
mediaAnimation="slide-up"
metricsAnimation="blur-reveal"
metricsAnimation="smooth"
/>
</div>
@@ -127,7 +127,7 @@ export default function LandingPage() {
{ id: "4", name: "Hiroshi Suzuki", role: "Head Server", description: "Trained in traditional Japanese hospitality with 12 years of fine dining service excellence. Ensures every detail of your meal is perfection.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-eating-restaurant_23-2148006697.jpg", imageAlt: "Hiroshi Suzuki", socialLinks: [{ icon: Globe, url: "#" }] }
]}
textboxLayout="default"
animationType="blur-reveal"
animationType="slide-up"
useInvertedBackground={false}
gridVariant="four-items-2x2-equal-grid"
/>
@@ -168,13 +168,13 @@ export default function LandingPage() {
{ id: "5", title: "What is the average cost per person?", content: "Our prix-fixe menu ranges from $85-$145 per person depending on beef selection and beverage pairings. Tax and gratuity are additional. We offer a la carte options for the bar and appetizers." },
{ id: "6", title: "Do you offer wine or sake pairings?", content: "Yes. Our sommelier offers curated wine pairings ($45-$75) and premium sake selections ($35-$65). We also welcome guests to enjoy their selections from our extensive beverage list." }
]}
imageSrc="http://img.b2bpic.net/free-photo/vertical-shot-table-with-elegant-setting-restaurant-evening_181624-24647.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/vertical-shot-table-with-elegant-setting-restaurant-evening_181624-24647.jpg"
imageAlt="Fine dining ambiance at Sakura"
mediaPosition="left"
textboxLayout="default"
animationType="blur-reveal"
animationType="smooth"
useInvertedBackground={false}
faqsAnimation="blur-reveal"
faqsAnimation="slide-up"
mediaAnimation="opacity"
/>
</div>
@@ -185,7 +185,7 @@ export default function LandingPage() {
tagIcon={Calendar}
title="Secure Your Culinary Experience"
description="Reserve your table at Sakura Steakhouse and step into an evening of uncompromising luxury, expert craftsmanship, and authentic Japanese hospitality."
background={{ variant: "floatingGradient" }}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={true}
inputPlaceholder="your@email.com"
buttonText="Reserve Now"

View File

@@ -1,51 +1,41 @@
"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;
textClassName?: string;
fontSize?: number;
fill?: 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 = 'LOGO',
className = '',
textClassName = '',
fontSize = 32,
fill = 'currentColor',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width="200"
height="60"
viewBox="0 0 200 60"
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="10"
y="45"
fontSize={fontSize}
fontWeight="bold"
fill={fill}
className={textClassName}
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;