diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx
index 21e742a..1d52bb6 100644
--- a/src/app/menu/page.tsx
+++ b/src/app/menu/page.tsx
@@ -15,7 +15,7 @@ export default function MenuPage() {
borderRadius="soft"
contentWidth="small"
sizing="mediumSizeLargeTitles"
- background="noiseDiagonalGradient"
+ background="circleGradient"
cardStyle="inset"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
@@ -30,9 +30,7 @@ export default function MenuPage() {
{ name: "Location", id: "location" },
]}
button={{
- text: "Reserve Now",
- href: "#reservations",
- }}
+ text: "Reserve Now", href: "#reservations"}}
animateOnLoad={true}
/>
@@ -44,64 +42,28 @@ export default function MenuPage() {
tag="All Items"
products={[
{
- id: "ribeye-16",
- name: "Prime Ribeye 16oz",
- price: "125 PLN",
- variant: "Classic grilled to perfection",
- imageSrc:
- "http://img.b2bpic.net/free-photo/man-cutting-steak-round-shape-wearing-black-gloves_140725-8334.jpg?_wi=3",
- imageAlt: "Prime ribeye steak",
- isFavorited: false,
+ id: "ribeye-16", name: "Prime Ribeye 16oz", price: "125 PLN", variant: "Classic grilled to perfection", imageSrc:
+ "http://img.b2bpic.net/free-photo/man-cutting-steak-round-shape-wearing-black-gloves_140725-8334.jpg", imageAlt: "Prime ribeye steak", isFavorited: false,
},
{
- id: "filet-mignon",
- name: "Filet Mignon",
- price: "135 PLN",
- variant: "8oz premium tenderloin",
- imageSrc:
- "http://img.b2bpic.net/free-photo/salt-sprinkles-are-fallen-top-beef-steak-served-with-wine_140725-1999.jpg?_wi=2",
- imageAlt: "Filet mignon premium cut",
- isFavorited: false,
+ id: "filet-mignon", name: "Filet Mignon", price: "135 PLN", variant: "8oz premium tenderloin", imageSrc:
+ "http://img.b2bpic.net/free-photo/salt-sprinkles-are-fallen-top-beef-steak-served-with-wine_140725-1999.jpg", imageAlt: "Filet mignon premium cut", isFavorited: false,
},
{
- id: "buffalo-burger",
- name: "Buffalo Burger",
- price: "48 PLN",
- variant: "Double patty with special sauce",
- imageSrc:
- "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg?_wi=3",
- imageAlt: "Buffalo burger signature dish",
- isFavorited: false,
+ id: "buffalo-burger", name: "Buffalo Burger", price: "48 PLN", variant: "Double patty with special sauce", imageSrc:
+ "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg", imageAlt: "Buffalo burger signature dish", isFavorited: false,
},
{
- id: "smash-burger",
- name: "Smash Burger",
- price: "45 PLN",
- variant: "Classic thin patty with cheese",
- imageSrc:
- "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg?_wi=4",
- imageAlt: "Smash burger deluxe",
- isFavorited: false,
+ id: "smash-burger", name: "Smash Burger", price: "45 PLN", variant: "Classic thin patty with cheese", imageSrc:
+ "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg", imageAlt: "Smash burger deluxe", isFavorited: false,
},
{
- id: "fire-pizza",
- name: "Fire Pizza",
- price: "52 PLN",
- variant: "Wood-fired fresh baked",
- imageSrc:
- "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg?_wi=2",
- imageAlt: "Fire pizza wood oven",
- isFavorited: false,
+ id: "fire-pizza", name: "Fire Pizza", price: "52 PLN", variant: "Wood-fired fresh baked", imageSrc:
+ "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg", imageAlt: "Fire pizza wood oven", isFavorited: false,
},
{
- id: "craft-cocktails",
- name: "Craft Cocktails",
- price: "35 PLN",
- variant: "Premium spirits selection",
- imageSrc:
- "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg?_wi=2",
- imageAlt: "Craft cocktails premium",
- isFavorited: false,
+ id: "craft-cocktails", name: "Craft Cocktails", price: "35 PLN", variant: "Premium spirits selection", imageSrc:
+ "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg", imageAlt: "Craft cocktails premium", isFavorited: false,
},
]}
textboxLayout="default"
@@ -119,44 +81,27 @@ export default function MenuPage() {
features={[
{
id: 1,
- title: "Premium Cuts",
- description:
- "Hand-selected USDA Prime beef from the finest suppliers, aged to perfection for maximum flavor and tenderness",
- imageSrc:
- "http://img.b2bpic.net/free-photo/man-cutting-steak-round-shape-wearing-black-gloves_140725-8334.jpg?_wi=4",
- imageAlt: "Premium beef selection",
- },
+ title: "Premium Cuts", description:
+ "Hand-selected USDA Prime beef from the finest suppliers, aged to perfection for maximum flavor and tenderness", imageSrc:
+ "http://img.b2bpic.net/free-photo/man-cutting-steak-round-shape-wearing-black-gloves_140725-8334.jpg", imageAlt: "Premium beef selection"},
{
id: 2,
- title: "Gourmet Burgers",
- description:
- "Made fresh daily with premium beef, house-made sauces, and finest toppings for the ultimate burger experience",
- imageSrc:
- "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg?_wi=5",
- imageAlt: "Gourmet burger creation",
- },
+ title: "Gourmet Burgers", description:
+ "Made fresh daily with premium beef, house-made sauces, and finest toppings for the ultimate burger experience", imageSrc:
+ "http://img.b2bpic.net/free-photo/side-view-beef-fitburger-black-bun-with-vegetable-salad_141793-4767.jpg", imageAlt: "Gourmet burger creation"},
{
id: 3,
- title: "Wood-Fired Pizza",
- description:
- "Authentic Italian-style pizzas baked in our brick oven at 900°F with premium ingredients and artisanal dough",
- imageSrc:
- "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg?_wi=3",
- imageAlt: "Wood fired pizza oven",
- },
+ title: "Wood-Fired Pizza", description:
+ "Authentic Italian-style pizzas baked in our brick oven at 900°F with premium ingredients and artisanal dough", imageSrc:
+ "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg", imageAlt: "Wood fired pizza oven"},
{
id: 4,
- title: "Craft Beverages",
- description:
- "Expertly crafted cocktails, premium whiskeys, and curated wine selection to complement your meal perfectly",
- imageSrc:
- "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg?_wi=3",
- imageAlt: "Craft beverage selection",
- },
+ title: "Craft Beverages", description:
+ "Expertly crafted cocktails, premium whiskeys, and curated wine selection to complement your meal perfectly", imageSrc:
+ "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg", imageAlt: "Craft beverage selection"},
]}
textboxLayout="default"
useInvertedBackground={false}
- mediaAnimation="opacity"
/>
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 5479226..0afdb3a 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -21,7 +21,7 @@ export default function HomePage() {
borderRadius="soft"
contentWidth="small"
sizing="mediumSizeLargeTitles"
- background="noiseDiagonalGradient"
+ background="circleGradient"
cardStyle="inset"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
@@ -36,9 +36,7 @@ export default function HomePage() {
{ name: "Location", id: "location" },
]}
button={{
- text: "Reserve Now",
- href: "#reservations",
- }}
+ text: "Reserve Now", href: "#reservations"}}
animateOnLoad={true}
/>
@@ -47,14 +45,14 @@ export default function HomePage() {
@@ -238,65 +173,29 @@ export default function HomePage() {
tag="Reviews"
testimonials={[
{
- id: "1",
- name: "Sarah Johnson",
- role: "Regular Customer",
- company: "Poznań",
- rating: 5,
+ id: "1", name: "Sarah Johnson", role: "Regular Customer", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/smiling-man-using-smartphone-cafe_1170-719.jpg?_wi=1",
- imageAlt: "Sarah Johnson",
- },
+ "http://img.b2bpic.net/free-photo/smiling-man-using-smartphone-cafe_1170-719.jpg", imageAlt: "Sarah Johnson"},
{
- id: "2",
- name: "Michael Chen",
- role: "Food Enthusiast",
- company: "Poznań",
- rating: 5,
+ id: "2", name: "Michael Chen", role: "Food Enthusiast", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg?_wi=1",
- imageAlt: "Michael Chen",
- },
+ "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", imageAlt: "Michael Chen"},
{
- id: "3",
- name: "Emily Rodriguez",
- role: "Event Organizer",
- company: "Poznań",
- rating: 5,
+ id: "3", name: "Emily Rodriguez", role: "Event Organizer", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/smiley-woman-posing-her-home_23-2148708980.jpg?_wi=1",
- imageAlt: "Emily Rodriguez",
- },
+ "http://img.b2bpic.net/free-photo/smiley-woman-posing-her-home_23-2148708980.jpg", imageAlt: "Emily Rodriguez"},
{
- id: "4",
- name: "David Kim",
- role: "Business Owner",
- company: "Poznań",
- rating: 5,
+ id: "4", name: "David Kim", role: "Business Owner", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/stuido-portrait-happy-cheerful-young-businessman_273609-12506.jpg?_wi=1",
- imageAlt: "David Kim",
- },
+ "http://img.b2bpic.net/free-photo/stuido-portrait-happy-cheerful-young-businessman_273609-12506.jpg", imageAlt: "David Kim"},
{
- id: "5",
- name: "Anna Kowalski",
- role: "Local Resident",
- company: "Poznań",
- rating: 5,
+ id: "5", name: "Anna Kowalski", role: "Local Resident", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5900.jpg?_wi=1",
- imageAlt: "Anna Kowalski",
- },
+ "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5900.jpg", imageAlt: "Anna Kowalski"},
{
- id: "6",
- name: "James Wilson",
- role: "Visitor",
- company: "Poznań",
- rating: 5,
+ id: "6", name: "James Wilson", role: "Visitor", company: "Poznań", rating: 5,
imageSrc:
- "http://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg?_wi=1",
- imageAlt: "James Wilson",
- },
+ "http://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg", imageAlt: "James Wilson"},
]}
gridVariant="uniform-all-items-equal"
animationType="slide-up"
@@ -312,26 +211,18 @@ export default function HomePage() {
description="Located at Piątkowska 200 in Poznań. We're open for lunch and dinner. Call us or visit to reserve your table."
inputs={[
{
- name: "name",
- type: "text",
- placeholder: "Your Name",
- required: true,
+ name: "name", type: "text", placeholder: "Your Name", required: true,
},
{
- name: "phone",
- type: "tel",
- placeholder: "Phone Number",
- required: true,
+ name: "phone", type: "tel", placeholder: "Phone Number", required: true,
},
]}
textarea={{
- name: "message",
- placeholder: "Tell us about your occasion (celebration, date night, etc.)",
- rows: 4,
+ name: "message", placeholder: "Tell us about your occasion (celebration, date night, etc.)", rows: 4,
required: false,
}}
useInvertedBackground={false}
- imageSrc="http://img.b2bpic.net/free-photo/unrecognizable-man-with-map_23-2147654173.jpg?_wi=1"
+ imageSrc="http://img.b2bpic.net/free-photo/unrecognizable-man-with-map_23-2147654173.jpg"
imageAlt="Buffalo House location in Poznań"
mediaAnimation="opacity"
mediaPosition="right"
diff --git a/src/app/reservations/page.tsx b/src/app/reservations/page.tsx
index e1c917f..daf26c1 100644
--- a/src/app/reservations/page.tsx
+++ b/src/app/reservations/page.tsx
@@ -16,7 +16,7 @@ export default function ReservationsPage() {
borderRadius="soft"
contentWidth="small"
sizing="mediumSizeLargeTitles"
- background="noiseDiagonalGradient"
+ background="circleGradient"
cardStyle="inset"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
@@ -31,8 +31,7 @@ export default function ReservationsPage() {
{ name: "Location", id: "location" }
]}
button={{
- text: "Reserve Now",
- href: "#reservations"
+ text: "Reserve Now", href: "#reservations"
}}
animateOnLoad={true}
/>
@@ -42,14 +41,14 @@ export default function ReservationsPage() {
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..4362da9 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,44 @@
-"use client";
-
-import { memo } from "react";
-import useSvgTextLogo from "./useSvgTextLogo";
-import { cls } from "@/lib/utils";
+import React, { useState, useEffect } from 'react';
+import { useTheme } from '@/hooks';
interface SvgTextLogoProps {
- logoText: string;
- adjustHeightFactor?: number;
- verticalAlign?: "top" | "center";
+ text: string;
className?: string;
+ animate?: boolean;
}
-const SvgTextLogo = memo(function SvgTextLogo({
- logoText,
- adjustHeightFactor,
- verticalAlign = "top",
- className = "",
-}) {
- const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
+export default function SvgTextLogo({
+ text,
+ className = '',
+ animate = false,
+}: SvgTextLogoProps) {
+ const theme = useTheme?.();
+ const [isVisible, setIsVisible] = useState(!animate);
+
+ useEffect(() => {
+ if (animate) {
+ setIsVisible(true);
+ }
+ }, [animate]);
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+}
\ No newline at end of file