Merge version_1 into main #2

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

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="smallMedium"
sizing="largeSmallSizeMediumTitles"
background="aurora"
background="circleGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="flat"
secondaryButtonStyle="radial-glow"
@@ -52,7 +52,7 @@ export default function LandingPage() {
{ text: "View Menu", href: "#products" }
]}
buttonAnimation="slide-up"
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
carouselItems={[
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/top-view-little-raw-dumplings-with-different-ingredients-gray-background-food-pie-cake-cook-tasty-meat-dough-colors-flour-bake_140725-158446.jpg", imageAlt: "Georgian khinkali dumpling" },
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/from-adana-kebab-with-rice-fried-vegetables-chopped-onion-ayran_176474-2604.jpg", imageAlt: "Georgian kebab meat skewer platter" },
@@ -131,12 +131,12 @@ export default function LandingPage() {
useInvertedBackground={false}
carouselMode="buttons"
testimonials={[
{ id: "1", name: "Sarah Johnson", role: "Food Enthusiast", testimonial: "Food is very delicious here! Good quality beer and nice relaxing environment. The khinkali was absolutely perfect and brought back memories of my time in Georgia.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-businesswoman-posing-outdoors_23-2148767054.jpg?_wi=1", imageAlt: "Sarah Johnson" },
{ id: "2", name: "Zaza Zurashvili", role: "Local Regular", testimonial: "Delicious dishes, especially khinkali and kebab! Every time I visit, I'm impressed by the quality and authenticity. This is true Georgian cuisine at its finest.", imageSrc: "http://img.b2bpic.net/free-photo/browneyed-stylish-brunet-bearded-man-white-shirt-checkered-jacket-smiles-looks-into-camera-orange-background_197531-29376.jpg?_wi=1", imageAlt: "Zaza Zurashvili" },
{ id: "1", name: "Sarah Johnson", role: "Food Enthusiast", testimonial: "Food is very delicious here! Good quality beer and nice relaxing environment. The khinkali was absolutely perfect and brought back memories of my time in Georgia.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-businesswoman-posing-outdoors_23-2148767054.jpg", imageAlt: "Sarah Johnson" },
{ id: "2", name: "Zaza Zurashvili", role: "Local Regular", testimonial: "Delicious dishes, especially khinkali and kebab! Every time I visit, I'm impressed by the quality and authenticity. This is true Georgian cuisine at its finest.", imageSrc: "http://img.b2bpic.net/free-photo/browneyed-stylish-brunet-bearded-man-white-shirt-checkered-jacket-smiles-looks-into-camera-orange-background_197531-29376.jpg", imageAlt: "Zaza Zurashvili" },
{ id: "3", name: "Emily Rodriguez", role: "Visitor", testimonial: "Super! Everything is delicious, the service is top notch. The staff made us feel so welcome and explained every dish. A truly memorable dining experience!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-therapy_23-2148928886.jpg", imageAlt: "Emily Rodriguez" },
{ id: "4", name: "Michael Chen", role: "Georgian Culture Enthusiast", testimonial: "Authentic Georgian restaurant with passionate staff. The kebab was perfectly grilled and the khachapuri was exceptional. Highly recommend for anyone seeking genuine Georgian cuisine.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-caucasian-man-with-beard-with-arms-crossed-gesture-relaxed-with-serious-expression-face-simple-natural-looking-camera_839833-13410.jpg", imageAlt: "Michael Chen" },
{ id: "5", name: "Anna Weber", role: "Food Blogger", testimonial: "Elene's Bar delivers authentic Georgian flavors in a warm, inviting atmosphere. From the first bite of khinkali to the last sip of Georgian wine, every moment was special.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-businesswoman-posing-outdoors_23-2148767054.jpg?_wi=2", imageAlt: "Anna Weber" },
{ id: "6", name: "David Miller", role: "Corporate Guest", testimonial: "Perfect spot for business lunches or casual dinners. The service is attentive, food is outstanding, and the atmosphere promotes great conversation. We've made it our go-to place!", imageSrc: "http://img.b2bpic.net/free-photo/browneyed-stylish-brunet-bearded-man-white-shirt-checkered-jacket-smiles-looks-into-camera-orange-background_197531-29376.jpg?_wi=2", imageAlt: "David Miller" }
{ id: "5", name: "Anna Weber", role: "Food Blogger", testimonial: "Elene's Bar delivers authentic Georgian flavors in a warm, inviting atmosphere. From the first bite of khinkali to the last sip of Georgian wine, every moment was special.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-businesswoman-posing-outdoors_23-2148767054.jpg", imageAlt: "Anna Weber" },
{ id: "6", name: "David Miller", role: "Corporate Guest", testimonial: "Perfect spot for business lunches or casual dinners. The service is attentive, food is outstanding, and the atmosphere promotes great conversation. We've made it our go-to place!", imageSrc: "http://img.b2bpic.net/free-photo/browneyed-stylish-brunet-bearded-man-white-shirt-checkered-jacket-smiles-looks-into-camera-orange-background_197531-29376.jpg", imageAlt: "David Miller" }
]}
/>
</div>

View File

@@ -1,51 +1,42 @@
"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;
fontWeight?: number | string;
fill?: string;
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging';
}
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,
className = '',
fontSize = 24,
fontWeight = 600,
fill = 'currentColor',
dominantBaseline = 'middle'
}) => {
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 200 50"
className={`w-full h-auto ${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={dominantBaseline}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
fontFamily="inherit"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;