Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -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"
|
||||
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
tag="Fine Dining"
|
||||
tagIcon={Flame}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
buttons={[
|
||||
{ text: "Reserve Your Table", href: "contact" },
|
||||
{ text: "View Menu", href: "menu" }
|
||||
@@ -93,9 +93,9 @@ export default function LandingPage() {
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{ id: "1", brand: "Prime Grade", name: "Wagyu Ribeye", price: "$89.00", rating: 5, reviewCount: "428", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-meat-with-sauce-greens-along-with-glass-wine-brown-desk-food-meat-meal_140725-26144.jpg?_wi=1", imageAlt: "Wagyu ribeye steak" },
|
||||
{ id: "2", brand: "Prime Grade", name: "Filet Mignon", price: "$82.00", rating: 5, reviewCount: "356", imageSrc: "http://img.b2bpic.net/free-photo/roasted-beef-cut-with-sauce-selection_140725-1842.jpg?_wi=1", imageAlt: "Filet mignon steak" },
|
||||
{ id: "3", brand: "Prime Grade", name: "Bone-In Ribeye", price: "$85.00", rating: 5, reviewCount: "392", imageSrc: "http://img.b2bpic.net/free-photo/well-done-t-bone-steak-pineapple_140725-7536.jpg?_wi=1", imageAlt: "Bone-in ribeye steak" }
|
||||
{ id: "1", brand: "Prime Grade", name: "Wagyu Ribeye", price: "$89.00", rating: 5, reviewCount: "428", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-meat-with-sauce-greens-along-with-glass-wine-brown-desk-food-meat-meal_140725-26144.jpg", imageAlt: "Wagyu ribeye steak" },
|
||||
{ id: "2", brand: "Prime Grade", name: "Filet Mignon", price: "$82.00", rating: 5, reviewCount: "356", imageSrc: "http://img.b2bpic.net/free-photo/roasted-beef-cut-with-sauce-selection_140725-1842.jpg", imageAlt: "Filet mignon steak" },
|
||||
{ id: "3", brand: "Prime Grade", name: "Bone-In Ribeye", price: "$85.00", rating: 5, reviewCount: "392", imageSrc: "http://img.b2bpic.net/free-photo/well-done-t-bone-steak-pineapple_140725-7536.jpg", imageAlt: "Bone-in ribeye steak" }
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
@@ -115,15 +115,15 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
tag: "Selection", title: "Premium Sourcing", subtitle: "Only the finest beef", description: "Our master butchers personally select each cut from trusted suppliers worldwide. We evaluate marbling, color, and texture to ensure only the highest-grade Prime and Wagyu beef makes it into our facility.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-meat-with-sauce-greens-along-with-glass-wine-brown-desk-food-meat-meal_140725-26144.jpg?_wi=2", imageAlt: "Premium beef selection"
|
||||
tag: "Selection", title: "Premium Sourcing", subtitle: "Only the finest beef", description: "Our master butchers personally select each cut from trusted suppliers worldwide. We evaluate marbling, color, and texture to ensure only the highest-grade Prime and Wagyu beef makes it into our facility.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fried-meat-with-sauce-greens-along-with-glass-wine-brown-desk-food-meat-meal_140725-26144.jpg", imageAlt: "Premium beef selection"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
tag: "Aging", title: "Dry Aging Mastery", subtitle: "45+ days of perfection", description: "Our climate-controlled dry-aging facility maintains precise temperature and humidity. This extended aging process concentrates flavors and creates the tender, juicy texture that defines a true steakhouse experience.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-beef-cut-with-sauce-selection_140725-1842.jpg?_wi=2", imageAlt: "Dry aging process"
|
||||
tag: "Aging", title: "Dry Aging Mastery", subtitle: "45+ days of perfection", description: "Our climate-controlled dry-aging facility maintains precise temperature and humidity. This extended aging process concentrates flavors and creates the tender, juicy texture that defines a true steakhouse experience.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-beef-cut-with-sauce-selection_140725-1842.jpg", imageAlt: "Dry aging process"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
tag: "Preparation", title: "Expert Grilling", subtitle: "Precision cooking", description: "Our head chef and team bring decades of combined experience to every plate. Each steak is seared to order on our custom-built grills, finished to your exact preference with compound butter and seasonal accents.", imageSrc: "http://img.b2bpic.net/free-photo/well-done-t-bone-steak-pineapple_140725-7536.jpg?_wi=2", imageAlt: "Expert grilling technique"
|
||||
tag: "Preparation", title: "Expert Grilling", subtitle: "Precision cooking", description: "Our head chef and team bring decades of combined experience to every plate. Each steak is seared to order on our custom-built grills, finished to your exact preference with compound butter and seasonal accents.", imageSrc: "http://img.b2bpic.net/free-photo/well-done-t-bone-steak-pineapple_140725-7536.jpg", imageAlt: "Expert grilling technique"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -255,7 +255,7 @@ export default function LandingPage() {
|
||||
description="Subscribe to receive exclusive offers, new menu announcements, and special event invitations delivered to your inbox."
|
||||
tagIcon={Mail}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
useInvertedBackground={true}
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Subscribe"
|
||||
|
||||
@@ -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;
|
||||
strokeWidth?: number;
|
||||
fontSize?: number;
|
||||
}
|
||||
|
||||
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 = '',
|
||||
textClassName = '',
|
||||
strokeWidth = 1,
|
||||
fontSize = 32
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
className={`w-full h-auto ${className}`}
|
||||
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
|
||||
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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fill="currentColor"
|
||||
stroke="currentColor"
|
||||
strokeWidth={strokeWidth}
|
||||
fontSize={fontSize}
|
||||
fontWeight="bold"
|
||||
dominantBaseline="auto"
|
||||
className={textClassName}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user