Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 09:08:34 +00:00
2 changed files with 30 additions and 43 deletions

View File

@@ -11,7 +11,7 @@ import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCar
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, Chef, Globe, Mail, Quote, Sparkles } from 'lucide-react';
import { Award, Globe, Mail, Sparkles } from 'lucide-react';
export default function LandingPage() {
return (
@@ -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,7 +47,7 @@ export default function LandingPage() {
description="Discover the pinnacle of premium beef dining. Artfully sourced authentic A5 wagyu, prepared by master chefs with decades of tradition."
tag="Premium Steakhouse"
tagIcon={Sparkles}
background={{ variant: "floatingGradient" }}
background={{ variant: "plain" }}
mediaItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/pork-sliced-grilling-pan_1339-6858.jpg", imageAlt: "Premium wagyu steak sizzling on grill" },
{ imageSrc: "http://img.b2bpic.net/free-photo/fresh-meat-with-green-sauce-tomato_140725-9524.jpg", imageAlt: "Elegant steakhouse interior with warm lighting" },
@@ -77,6 +77,7 @@ export default function LandingPage() {
imageAlt="Master chef with decades of expertise"
useInvertedBackground={true}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -85,7 +86,7 @@ export default function LandingPage() {
title="Premium Wagyu Selection"
description="Handpicked selections from Japan's finest ranches, each cut represents perfection in marbling, texture, and flavor."
tag="Signature Cuts"
tagIcon={Chef}
tagIcon={Globe}
textboxLayout="default"
useInvertedBackground={false}
products={[
@@ -238,7 +239,7 @@ export default function LandingPage() {
tag="Newsletter"
title="Stay Connected with Kobe Prime"
description="Subscribe for exclusive dining invitations, seasonal menu highlights, and special offers reserved for our community."
background={{ variant: "floatingGradient" }}
background={{ variant: "plain" }}
useInvertedBackground={true}
tagIcon={Mail}
inputPlaceholder="Your email address"

View File

@@ -1,51 +1,37 @@
"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;
width?: number | string;
height?: number | string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export default function SvgTextLogo({
text = 'LOGO',
className = '',
width = 200,
height = 100,
}: SvgTextLogoProps) {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
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;
}