Merge version_1 into main #1
@@ -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"
|
||||
@@ -46,7 +46,7 @@ export default function LandingPage() {
|
||||
title="Experience Premium Japanese Steakhouse Excellence"
|
||||
description="Indulge in an extraordinary culinary journey featuring the finest Japanese Wagyu and Kobe beef, expertly prepared by master chefs using traditional and contemporary techniques."
|
||||
tag="Authentic Japanese Cuisine"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pveuhk", imageAlt: "Premium Japanese Wagyu beef preparation"
|
||||
@@ -94,7 +94,7 @@ export default function LandingPage() {
|
||||
description="Explore our curated collection of the world's finest Japanese beef cuts, each offering a unique flavor profile and dining experience."
|
||||
tag="Signature Menu"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
animationType="blur-reveal"
|
||||
useInvertedBackground={true}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
@@ -144,7 +144,7 @@ export default function LandingPage() {
|
||||
description="Our team of internationally recognized teppanyaki masters bring decades of culinary excellence and authentic Japanese training to every performance."
|
||||
tag="Executive Team"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
animationType="blur-reveal"
|
||||
useInvertedBackground={true}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
members={[
|
||||
@@ -170,7 +170,7 @@ export default function LandingPage() {
|
||||
description="Hear from our valued guests who have experienced the pinnacle of Japanese steakhouse dining."
|
||||
tag="Testimonials"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
animationType="blur-reveal"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
@@ -201,7 +201,7 @@ export default function LandingPage() {
|
||||
description="Everything you need to know about our premium Japanese steakhouse, from reservations to menu details."
|
||||
tag="Help & Information"
|
||||
textboxLayout="default"
|
||||
animationType="slide-up"
|
||||
animationType="smooth"
|
||||
useInvertedBackground={true}
|
||||
mediaPosition="right"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9c4os9"
|
||||
@@ -236,7 +236,7 @@ export default function LandingPage() {
|
||||
tag="Get In Touch"
|
||||
title="Reserve Your Culinary Experience"
|
||||
description="Join us for an unforgettable evening of premium Japanese steakhouse excellence. Secure your reservation today."
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Make Reservation"
|
||||
|
||||
@@ -1,51 +1,35 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
fontSize = 24,
|
||||
fontFamily = 'Arial, sans-serif'
|
||||
}) => {
|
||||
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 * fontSize * 0.6} ${fontSize * 1.5}`}
|
||||
className={className}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user