Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function RestaurantMuseumPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="glass"
|
||||
@@ -47,7 +47,7 @@ export default function RestaurantMuseumPage() {
|
||||
tag="Premium Uzbek Experience"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
buttons={[
|
||||
{ text: "Reserve a Table", href: "booking" },
|
||||
{ text: "View Menu", href: "#" }
|
||||
@@ -69,7 +69,7 @@ export default function RestaurantMuseumPage() {
|
||||
description="Laziz Talipov"
|
||||
subdescription="Founder & Host"
|
||||
icon={Heart}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg"
|
||||
imageAlt="Restaurant Museum interior ambiance"
|
||||
mediaAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
@@ -89,7 +89,7 @@ export default function RestaurantMuseumPage() {
|
||||
carouselMode="buttons"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Plov", price: "65,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-rice-with-dough-slices-dark-surface-meal-photo-dish-food-dark_140725-82250.jpg?_wi=1", imageAlt: "Traditional Uzbek plov rice dish"
|
||||
id: "1", name: "Plov", price: "65,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-rice-with-dough-slices-dark-surface-meal-photo-dish-food-dark_140725-82250.jpg", imageAlt: "Traditional Uzbek plov rice dish"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Manty", price: "55,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/traditional-russian-pelmeni-dumplings-with-meat_114579-85606.jpg", imageAlt: "Steamed dumplings filled with juicy meat"
|
||||
@@ -112,15 +112,15 @@ export default function RestaurantMuseumPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Wear Traditional Clothing", description: "Put on authentic Uzbek national costumes and feel the spirit of heritage. Perfect for unforgettable photos.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-looking-ukranian-shirt_23-2149318809.jpg?_wi=1", imageAlt: "Traditional Uzbek national clothing"
|
||||
title: "Wear Traditional Clothing", description: "Put on authentic Uzbek national costumes and feel the spirit of heritage. Perfect for unforgettable photos.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-looking-ukranian-shirt_23-2149318809.jpg", imageAlt: "Traditional Uzbek national clothing"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Explore Museum Artifacts", description: "Our interior is designed like a living museum filled with handmade decorations, traditional carpets, and historical pieces.", imageSrc: "http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg?_wi=2", imageAlt: "Museum-style restaurant interior with artifacts"
|
||||
title: "Explore Museum Artifacts", description: "Our interior is designed like a living museum filled with handmade decorations, traditional carpets, and historical pieces.", imageSrc: "http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg", imageAlt: "Museum-style restaurant interior with artifacts"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Instagram-Worthy Photo Spots", description: "Every corner is designed to capture beautiful memories. One of the most photogenic restaurants in Tashkent.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520107.jpg?_wi=1", imageAlt: "Beautiful photo spots in restaurant"
|
||||
title: "Instagram-Worthy Photo Spots", description: "Every corner is designed to capture beautiful memories. One of the most photogenic restaurants in Tashkent.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520107.jpg", imageAlt: "Beautiful photo spots in restaurant"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -137,20 +137,16 @@ export default function RestaurantMuseumPage() {
|
||||
showRating={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Laziz Talipov", handle: "@laziz_t", testimonial: "Highly recommended. Great food, even better service. Bekzod made our evening special.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg", imageAlt: "Laziz Talipov"
|
||||
id: "1", name: "Laziz Talipov", handle: "@laziz_t", testimonial: "Highly recommended. Great food, even better service. Bekzod made our evening special.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg", imageAlt: "Laziz Talipov"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Bettina Robertson", handle: "@bettina_r", testimonial: "Delicious traditional Uzbek breakfast and very friendly staff. A real gem in Tashkent!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5937.jpg", imageAlt: "Bettina Robertson"
|
||||
id: "2", name: "Bettina Robertson", handle: "@bettina_r", testimonial: "Delicious traditional Uzbek breakfast and very friendly staff. A real gem in Tashkent!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5937.jpg", imageAlt: "Bettina Robertson"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Azamat Kadir", handle: "@azamat_k", testimonial: "One of the best Uzbek traditional restaurants in Tashkent. Must try Plov and Manty.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", imageAlt: "Azamat Kadir"
|
||||
id: "3", name: "Azamat Kadir", handle: "@azamat_k", testimonial: "One of the best Uzbek traditional restaurants in Tashkent. Must try Plov and Manty.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", imageAlt: "Azamat Kadir"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Anastasia A", handle: "@anastasia_a", testimonial: "Beautiful, cozy place with amazing hospitality and delicious food. Perfect for special occasions.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-outdoors_1262-20546.jpg", imageAlt: "Anastasia A"
|
||||
id: "4", name: "Anastasia A", handle: "@anastasia_a", testimonial: "Beautiful, cozy place with amazing hospitality and delicious food. Perfect for special occasions.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-outdoors_1262-20546.jpg", imageAlt: "Anastasia A"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -167,16 +163,16 @@ export default function RestaurantMuseumPage() {
|
||||
carouselMode="buttons"
|
||||
blogs={[
|
||||
{
|
||||
id: "1", category: "Interior", title: "Museum-Style Interior", excerpt: "Experience the authentic Uzbek atmosphere with traditional carpets, copper vessels, and cultural artifacts.", imageSrc: "http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg?_wi=3", imageAlt: "Restaurant interior with traditional decor", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg", date: "Always Open"
|
||||
id: "1", category: "Interior", title: "Museum-Style Interior", excerpt: "Experience the authentic Uzbek atmosphere with traditional carpets, copper vessels, and cultural artifacts.", imageSrc: "http://img.b2bpic.net/free-photo/cups-with-decoration-glass-with-cookies_1122-898.jpg", imageAlt: "Restaurant interior with traditional decor", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/cheerful-african-american-businessman_1262-20994.jpg", date: "Always Open"
|
||||
},
|
||||
{
|
||||
id: "2", category: "Cuisine", title: "Authentic Uzbek Flavors", excerpt: "Taste the centuries-old recipes prepared by our experienced chefs with the finest ingredients.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-rice-with-dough-slices-dark-surface-meal-photo-dish-food-dark_140725-82250.jpg?_wi=2", imageAlt: "Traditional plov preparation", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5937.jpg", date: "Fresh Daily"
|
||||
id: "2", category: "Cuisine", title: "Authentic Uzbek Flavors", excerpt: "Taste the centuries-old recipes prepared by our experienced chefs with the finest ingredients.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-rice-with-dough-slices-dark-surface-meal-photo-dish-food-dark_140725-82250.jpg", imageAlt: "Traditional plov preparation", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5937.jpg", date: "Fresh Daily"
|
||||
},
|
||||
{
|
||||
id: "3", category: "Experience", title: "Cultural Moments", excerpt: "Create unforgettable memories in our traditional costumes and museum atmosphere.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-looking-ukranian-shirt_23-2149318809.jpg?_wi=2", imageAlt: "Guests in traditional clothing", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", date: "Available Daily"
|
||||
id: "3", category: "Experience", title: "Cultural Moments", excerpt: "Create unforgettable memories in our traditional costumes and museum atmosphere.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-looking-ukranian-shirt_23-2149318809.jpg", imageAlt: "Guests in traditional clothing", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg", date: "Available Daily"
|
||||
},
|
||||
{
|
||||
id: "4", category: "Hospitality", title: "Warm Welcome", excerpt: "Our team is dedicated to providing exceptional service and making your visit memorable.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520107.jpg?_wi=2", imageAlt: "Guests dining together", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-outdoors_1262-20546.jpg", date: "Every Visit"
|
||||
id: "4", category: "Hospitality", title: "Warm Welcome", excerpt: "Our team is dedicated to providing exceptional service and making your visit memorable.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520107.jpg", imageAlt: "Guests dining together", authorName: "Restaurant Museum", authorAvatar: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-outdoors_1262-20546.jpg", date: "Every Visit"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"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;
|
||||
fill?: 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 = '',
|
||||
fontSize = 32,
|
||||
fontWeight = 700,
|
||||
fill = '#000000',
|
||||
}) => {
|
||||
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} ${fontSize * 1.5}`}
|
||||
className={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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user