Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 09:15:54 +00:00
2 changed files with 21 additions and 44 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="mediumSmall"
sizing="largeSmallSizeMediumTitles"
background="grid"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="shadow"
secondaryButtonStyle="glass"
@@ -77,7 +77,7 @@ export default function LandingPage() {
},
{
id: 2,
title: "Board Games Lounge", description: "150+ board games to explore. Relax with friends, family, or colleagues. Entertainment included with your dining.", imageSrc: "http://img.b2bpic.net/free-photo/young-multiracial-group-close-friends-celebrating-birthday-event-with-wine-party-home-living-room-happy-people-enjoying-fun-time-together-while-drinking-alcoholic-beverages_482257-49889.jpg?_wi=1", imageAlt: "Board game collection"
title: "Board Games Lounge", description: "150+ board games to explore. Relax with friends, family, or colleagues. Entertainment included with your dining.", imageSrc: "http://img.b2bpic.net/free-photo/young-multiracial-group-close-friends-celebrating-birthday-event-with-wine-party-home-living-room-happy-people-enjoying-fun-time-together-while-drinking-alcoholic-beverages_482257-49889.jpg", imageAlt: "Board game collection"
},
{
id: 3,
@@ -185,13 +185,13 @@ export default function LandingPage() {
uniformGridCustomHeightClasses="min-h-[500px]"
blogs={[
{
id: "1", category: "Entertainment", title: "Quiz Night Thursdays", excerpt: "Test your knowledge and win prizes. Teams welcome. Cash prizes weekly.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-friends-enjoying-party-bar_23-2148037474.jpg?_wi=1", imageAlt: "Quiz night event", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-business-woman-office_1398-6.jpg", date: "Every Thursday"
id: "1", category: "Entertainment", title: "Quiz Night Thursdays", excerpt: "Test your knowledge and win prizes. Teams welcome. Cash prizes weekly.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-friends-enjoying-party-bar_23-2148037474.jpg", imageAlt: "Quiz night event", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-business-woman-office_1398-6.jpg", date: "Every Thursday"
},
{
id: "2", category: "Sports", title: "Live Sports Screenings", excerpt: "Catch all major sports events on our premium screens with food & drinks.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-friends-enjoying-party-bar_23-2148037474.jpg?_wi=2", imageAlt: "Sports screening", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/cheerful-handsome-businessman_1262-21003.jpg", date: "Match Days"
id: "2", category: "Sports", title: "Live Sports Screenings", excerpt: "Catch all major sports events on our premium screens with food & drinks.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-friends-enjoying-party-bar_23-2148037474.jpg", imageAlt: "Sports screening", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/cheerful-handsome-businessman_1262-21003.jpg", date: "Match Days"
},
{
id: "3", category: "Gaming", title: "Board Game Tournaments", excerpt: "Compete with other gamers. Fun, prizes, and bragging rights await.", imageSrc: "http://img.b2bpic.net/free-photo/young-multiracial-group-close-friends-celebrating-birthday-event-with-wine-party-home-living-room-happy-people-enjoying-fun-time-together-while-drinking-alcoholic-beverages_482257-49889.jpg?_wi=2", imageAlt: "Board game tournament", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/selfie-portrait-videocall_23-2149186129.jpg", date: "Monthly"
id: "3", category: "Gaming", title: "Board Game Tournaments", excerpt: "Compete with other gamers. Fun, prizes, and bragging rights await.", imageSrc: "http://img.b2bpic.net/free-photo/young-multiracial-group-close-friends-celebrating-birthday-event-with-wine-party-home-living-room-happy-people-enjoying-fun-time-together-while-drinking-alcoholic-beverages_482257-49889.jpg", imageAlt: "Board game tournament", authorName: "Unlocked Team", authorAvatar: "http://img.b2bpic.net/free-photo/selfie-portrait-videocall_23-2149186129.jpg", date: "Monthly"
}
]}
buttons={[
@@ -235,7 +235,7 @@ export default function LandingPage() {
<ContactText
text="Ready for an unforgettable experience? Reserve your table or book an escape room adventure today."
animationType="entrance-slide"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
buttons={[
{ text: "Reserve Table", href: "#booking" },

View File

@@ -1,51 +1,28 @@
"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;
}
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, className = '' }) => {
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 300 100"
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"
}}
x="50%"
y="50%"
dominantBaseline="middle"
textAnchor="middle"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
};