Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 19:17:18 +00:00
2 changed files with 27 additions and 47 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="smallMedium"
sizing="largeSmallSizeLargeTitles"
background="aurora"
background="circleGradient"
cardStyle="soft-shadow"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
@@ -43,14 +43,14 @@ export default function LandingPage() {
<HeroBillboard
title="Authentic Flavors. Luxe Comfort."
description="Hyderabadi biryani, slow-cooked specialties, and warm hospitality in Tbilisi. Discover authentic Indian cuisine crafted fresh daily in our calm, elegant dining space."
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
tag="Rated 4.9 by Diners"
tagIcon={Star}
buttons={[
{ text: "Reserve Table", href: "#reservation" },
{ text: "View Menu", href: "#menu" }
]}
imageSrc="http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg"
imageAlt="Signature Hyderabadi biryani with golden rice crown"
mediaAnimation="slide-up"
/>
@@ -63,15 +63,15 @@ export default function LandingPage() {
features={[
{
id: "1", title: "Fresh, Flavorful Dishes", tags: ["Daily Sourced", "Artisan Prepared"],
imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg?_wi=1", imageAlt: "Fresh, flavorful dishes"
imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg", imageAlt: "Fresh, flavorful dishes"
},
{
id: "2", title: "Warm, Attentive Service", tags: ["Hospitable Staff", "Guest First"],
imageSrc: "http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg?_wi=1", imageAlt: "Warm, attentive service"
imageSrc: "http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg", imageAlt: "Warm, attentive service"
},
{
id: "3", title: "Calm Luxe Ambience", tags: ["Elegant Design", "Relaxing Space"],
imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg?_wi=1", imageAlt: "Calm luxe ambience"
imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg", imageAlt: "Calm luxe ambience"
}
]}
animationType="slide-up"
@@ -87,11 +87,11 @@ export default function LandingPage() {
products={[
{
id: "1", brand: "Specialty", name: "Hyderabadi Chicken Biryani", price: "₾20", rating: 5,
reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg?_wi=2", imageAlt: "Hyderabadi chicken biryani with aromatic saffron rice"
reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg", imageAlt: "Hyderabadi chicken biryani with aromatic saffron rice"
},
{
id: "2", brand: "Specialty", name: "Slow-Cooked Beef Curry", price: "₾18", rating: 5,
reviewCount: "342", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg?_wi=2", imageAlt: "Tender slow-cooked beef curry perfectly spiced"
reviewCount: "342", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg", imageAlt: "Tender slow-cooked beef curry perfectly spiced"
},
{
id: "3", brand: "Specialty", name: "Hyderabadi Beef Biryani", price: "₾22", rating: 5,
@@ -133,7 +133,7 @@ export default function LandingPage() {
description="Chef's Vision"
subdescription="Elakka Restaurant, Tbilisi"
icon={Heart}
imageSrc="http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg"
imageAlt="Elakka Restaurant interior showing calm luxe ambience"
mediaAnimation="slide-up"
useInvertedBackground={false}
@@ -151,7 +151,7 @@ export default function LandingPage() {
{ name: "date", type: "date", placeholder: "Preferred Date", required: true }
]}
textarea={{ name: "notes", placeholder: "Dietary preferences or special requests...", rows: 4, required: false }}
imageSrc="http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg"
imageAlt="Group dining at Elakka Restaurant"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,31 @@
"use client";
import React, { SVGProps } from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text: string;
className?: string;
}
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 = '', ...props }) => {
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"
xmlns="http://www.w3.org/2000/svg"
className={className}
{...props}
>
<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="24"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;