Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 22:57:05 +00:00
2 changed files with 37 additions and 44 deletions

View File

@@ -15,7 +15,7 @@ export default function LandingPage() {
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="reveal-blur"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="medium"
sizing="mediumLargeSizeMediumTitles"
@@ -123,13 +123,13 @@ export default function LandingPage() {
tag="Featured Venues"
products={[
{
id: "venue-1", name: "Club Euphoria - Johannesburg", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/luxury-restaurant-grill-bar-interior-with-chandeliers-furniture_114579-2341.jpg?_wi=1", imageAlt: "Club Euphoria luxury nightclub"
id: "venue-1", name: "Club Euphoria - Johannesburg", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/luxury-restaurant-grill-bar-interior-with-chandeliers-furniture_114579-2341.jpg", imageAlt: "Club Euphoria luxury nightclub"
},
{
id: "venue-2", name: "The Sanctuary - Pretoria", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/entrance-house-porch-shine-darkness_1304-3767.jpg", imageAlt: "The Sanctuary exclusive nightclub"
},
{
id: "venue-3", name: "Velvet Lounge - Cape Town", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/luxury-restaurant-grill-bar-interior-with-chandeliers-furniture_114579-2341.jpg?_wi=2", imageAlt: "Velvet Lounge premium venue"
id: "venue-3", name: "Velvet Lounge - Cape Town", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/luxury-restaurant-grill-bar-interior-with-chandeliers-furniture_114579-2341.jpg", imageAlt: "Velvet Lounge premium venue"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -167,10 +167,10 @@ export default function LandingPage() {
<TestimonialCardTwelve
testimonials={[
{
id: "1", name: "Thabo Mkhize", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-cheering-with-wine-glasses-restaurant_23-2150520079.jpg?_wi=1", imageAlt: "Thabo Mkhize"
id: "1", name: "Thabo Mkhize", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-cheering-with-wine-glasses-restaurant_23-2150520079.jpg", imageAlt: "Thabo Mkhize"
},
{
id: "2", name: "Amelia Johnson", imageSrc: "http://img.b2bpic.net/free-photo/friends-giving-cheer-new-year_329181-20405.jpg?_wi=1", imageAlt: "Amelia Johnson"
id: "2", name: "Amelia Johnson", imageSrc: "http://img.b2bpic.net/free-photo/friends-giving-cheer-new-year_329181-20405.jpg", imageAlt: "Amelia Johnson"
},
{
id: "3", name: "Nkosikhona Ndlela", imageSrc: "http://img.b2bpic.net/free-photo/two-beautiful-women-evening-dresses-smiling-holding-wine-glasses_176420-3791.jpg", imageAlt: "Nkosikhona Ndlela"
@@ -179,15 +179,15 @@ export default function LandingPage() {
id: "4", name: "Zara Williams", imageSrc: "http://img.b2bpic.net/free-photo/people-enjoying-their-time-dj-party_23-2149658429.jpg", imageAlt: "Zara Williams"
},
{
id: "5", name: "David Chen", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-cheering-with-wine-glasses-restaurant_23-2150520079.jpg?_wi=2", imageAlt: "David Chen"
id: "5", name: "David Chen", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-cheering-with-wine-glasses-restaurant_23-2150520079.jpg", imageAlt: "David Chen"
},
{
id: "6", name: "Patricia Okonkwo", imageSrc: "http://img.b2bpic.net/free-photo/friends-giving-cheer-new-year_329181-20405.jpg?_wi=2", imageAlt: "Patricia Okonkwo"
id: "6", name: "Patricia Okonkwo", imageSrc: "http://img.b2bpic.net/free-photo/friends-giving-cheer-new-year_329181-20405.jpg", imageAlt: "Patricia Okonkwo"
}
]}
cardTitle="Over 1,500 premium celebrations have been elevated with VVIP Bottle Service"
cardTag="Trusted by Johannesburg's Elite"
cardAnimation="reveal-blur"
cardAnimation="slide-up"
useInvertedBackground={true}
/>
</div>

View File

@@ -1,51 +1,44 @@
"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;
fontFamily?: string;
fontWeight?: string | number;
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 = 48,
fontFamily = 'Arial, sans-serif',
fontWeight = 'bold',
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 1000 200"
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%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;