Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 08:38:35 +00:00
2 changed files with 39 additions and 49 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles"
background="grid"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="double-inset"
secondaryButtonStyle="radial-glow"
@@ -48,19 +48,19 @@ export default function LandingPage() {
tag="Restaurant Optimization"
tagIcon={ChefHat}
tagAnimation="blur-reveal"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
testimonials={[
{
name: "Marcus Rivera", handle: "Owner, Rivera's Bistro", testimonial: "GrowTables helped us cut food costs by 18% while improving menu quality. Our profit margins have never been stronger.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg?_wi=1", imageAlt: "Marcus Rivera"
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg", imageAlt: "Marcus Rivera"
},
{
name: "Sarah Chen", handle: "Manager, Urban Kitchen Cafe", testimonial: "The operational systems they implemented saved us 20+ hours weekly on scheduling and inventory. Incredible ROI.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg?_wi=1", imageAlt: "Sarah Chen"
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg", imageAlt: "Sarah Chen"
},
{
name: "David Thompson", handle: "Operator, Thompson's Restaurant Group", testimonial: "Within 4 months, our kitchen efficiency increased 35%. Staff satisfaction improved and we're opening a second location.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-with-folded-arms-looking-camera_23-2147955314.jpg?_wi=1", imageAlt: "David Thompson"
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-with-folded-arms-looking-camera_23-2147955314.jpg", imageAlt: "David Thompson"
}
]}
testimonialRotationInterval={5000}
@@ -248,15 +248,15 @@ export default function LandingPage() {
testimonials={[
{
id: "1", name: "Marcus Rivera", handle: "Owner, Rivera's Bistro", testimonial: "GrowTables completely transformed our restaurant. Within three months, we cut food costs by 18%, streamlined our kitchen operations, and increased profit margins significantly. The systems they implemented are now core to how we operate.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg?_wi=2", imageAlt: "Marcus Rivera"
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg", imageAlt: "Marcus Rivera"
},
{
id: "2", name: "Sarah Chen", handle: "Manager, Urban Kitchen Cafe", testimonial: "The labor cost optimization alone saved us over 40 hours per week. Beyond the numbers, our team morale improved and we finally have real systems. GrowTables delivers on their promises.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg?_wi=2", imageAlt: "Sarah Chen"
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg", imageAlt: "Sarah Chen"
},
{
id: "3", name: "David Thompson", handle: "Operator, Thompson's Restaurant Group", testimonial: "We went from barely breaking even to opening a second location within a year. The consulting from GrowTables wasn't just advice—it was a complete operational overhaul that works.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-with-folded-arms-looking-camera_23-2147955314.jpg?_wi=2", imageAlt: "David Thompson"
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-with-folded-arms-looking-camera_23-2147955314.jpg", imageAlt: "David Thompson"
},
{
id: "4", name: "Jennifer Lopez", handle: "Chef Owner, Lopez's Kitchen", testimonial: "Best investment we made in our business. The free audit alone was worth thousands. Once they implemented their systems, profitability increased 40% in the first quarter. Highly recommend.", rating: 5,
@@ -264,11 +264,11 @@ export default function LandingPage() {
},
{
id: "5", name: "Robert Kim", handle: "Manager, Modern Eats Restaurant", testimonial: "GrowTables identified inefficiencies we didn't even know existed. Their systematic approach to kitchen operations and cost control is now our competitive advantage.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg?_wi=3", imageAlt: "Robert Kim"
imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934659.jpg", imageAlt: "Robert Kim"
},
{
id: "6", name: "Amanda Foster", handle: "Owner, Foster's Fine Dining", testimonial: "From struggling with inconsistent operations to running like a well-oiled machine. GrowTables gave us the tools, systems, and confidence to scale our business successfully.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg?_wi=3", imageAlt: "Amanda Foster"
imageSrc: "http://img.b2bpic.net/free-photo/proud-entrepreneur-with-employees-background_1098-3585.jpg", imageAlt: "Amanda Foster"
}
]}
/>
@@ -281,7 +281,7 @@ export default function LandingPage() {
tagAnimation="blur-reveal"
title="Request Your Free Restaurant Audit Today"
description="Discover exactly how much you can improve. Our free audit identifies your biggest cost and efficiency opportunities with no obligation."
background={{ variant: "grid" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
inputPlaceholder="your@email.com"
buttonText="Get Free Audit"

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";
className?: string;
text: string;
size?: number;
weight?: number;
fill?: string;
letterSpacing?: 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,
size = 48,
weight = 700,
fill = '#000',
letterSpacing = 0,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={text.length * size * 0.5}
height={size * 1.2}
viewBox={`0 0 ${text.length * size * 0.5} ${size * 1.2}`}
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="middle"
fontSize={size}
fontWeight={weight}
fill={fill}
letterSpacing={letterSpacing}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;