Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumLarge"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -47,13 +47,13 @@ export default function LandingPage() {
|
||||
tag="Experimental Art"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "rotated-rays-animated" }}
|
||||
mediaItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/dead-hand-protruding-grass_23-2147903094.jpg", imageAlt: "Gallery installation one" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/white-beige-wedding-shoes-circled-around-engagement-ring-middle_8353-10521.jpg", imageAlt: "Gallery installation two" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/nail-polish-texture-macro_23-2148111209.jpg", imageAlt: "Gallery installation three" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/blurred-silhouette-man-looking-aside_246466-16.jpg", imageAlt: "Gallery installation four" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/urban-landscape-tokyo-city-food-places_23-2149347215.jpg?_wi=1", imageAlt: "Artist studio space" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/urban-landscape-tokyo-city-food-places_23-2149347215.jpg", imageAlt: "Artist studio space" }
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
buttons={[
|
||||
@@ -74,7 +74,7 @@ export default function LandingPage() {
|
||||
{ value: "15+", title: "Years of Creative Practice" },
|
||||
{ value: "50+", title: "Major Exhibitions Worldwide" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/urban-landscape-tokyo-city-food-places_23-2149347215.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/urban-landscape-tokyo-city-food-places_23-2149347215.jpg"
|
||||
imageAlt="Artist in studio"
|
||||
useInvertedBackground={true}
|
||||
mediaAnimation="slide-up"
|
||||
@@ -102,7 +102,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Technical Refinement", description: "Perfecting the work through meticulous attention to detail. Each element is carefully calibrated to maximize emotional impact and visual power.", imageSrc: "http://img.b2bpic.net/free-psd/holographic-music-band-banner-template_23-2148742147.jpg?_wi=1", imageAlt: "Technical refinement phase"
|
||||
title: "Technical Refinement", description: "Perfecting the work through meticulous attention to detail. Each element is carefully calibrated to maximize emotional impact and visual power.", imageSrc: "http://img.b2bpic.net/free-psd/holographic-music-band-banner-template_23-2148742147.jpg", imageAlt: "Technical refinement phase"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -120,7 +120,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "work-1", name: "Ethereal Dimensions", price: "Commissioned", variant: "Digital Installation · 2024", imageSrc: "http://img.b2bpic.net/free-psd/holographic-music-band-banner-template_23-2148742147.jpg?_wi=2", imageAlt: "Ethereal Dimensions installation"
|
||||
id: "work-1", name: "Ethereal Dimensions", price: "Commissioned", variant: "Digital Installation · 2024", imageSrc: "http://img.b2bpic.net/free-psd/holographic-music-band-banner-template_23-2148742147.jpg", imageAlt: "Ethereal Dimensions installation"
|
||||
},
|
||||
{
|
||||
id: "work-2", name: "Sculptural Rebellion", price: "Gallery Collection", variant: "Mixed Media · 2024", imageSrc: "http://img.b2bpic.net/free-photo/moody-architecture_181624-4185.jpg", imageAlt: "Sculptural Rebellion artwork"
|
||||
@@ -144,10 +144,10 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Contemporary Art Curator", imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-woman-fashion-glasses-home_329181-4275.jpg?_wi=1", imageAlt: "Art curator"
|
||||
id: "1", name: "Contemporary Art Curator", imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-woman-fashion-glasses-home_329181-4275.jpg", imageAlt: "Art curator"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Gallery Director", imageSrc: "http://img.b2bpic.net/free-photo/handsome-bearded-african-american-businessman-brown-classic-jacket-isolated-dark-background_613910-6551.jpg?_wi=1", imageAlt: "Gallery director"
|
||||
id: "2", name: "Gallery Director", imageSrc: "http://img.b2bpic.net/free-photo/handsome-bearded-african-american-businessman-brown-classic-jacket-isolated-dark-background_613910-6551.jpg", imageAlt: "Gallery director"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Creative Collaborator", imageSrc: "http://img.b2bpic.net/free-photo/happy-friendly-mature-business-man-wearing-jacket-glasses-posing-indoors-looking-camera_74855-9997.jpg", imageAlt: "Collaborator"
|
||||
@@ -156,10 +156,10 @@ export default function LandingPage() {
|
||||
id: "4", name: "Museum Director", imageSrc: "http://img.b2bpic.net/free-photo/handsome-sensitive-red-head-man-smiling_23-2149509800.jpg", imageAlt: "Museum director"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Artist Peer", imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-woman-fashion-glasses-home_329181-4275.jpg?_wi=2", imageAlt: "Artist colleague"
|
||||
id: "5", name: "Artist Peer", imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-woman-fashion-glasses-home_329181-4275.jpg", imageAlt: "Artist colleague"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Exhibition Curator", imageSrc: "http://img.b2bpic.net/free-photo/handsome-bearded-african-american-businessman-brown-classic-jacket-isolated-dark-background_613910-6551.jpg?_wi=2", imageAlt: "Exhibition curator"
|
||||
id: "6", name: "Exhibition Curator", imageSrc: "http://img.b2bpic.net/free-photo/handsome-bearded-african-american-businessman-brown-classic-jacket-isolated-dark-background_613910-6551.jpg", imageAlt: "Exhibition curator"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -173,8 +173,8 @@ export default function LandingPage() {
|
||||
tagIcon={Network}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
logos={[
|
||||
"http://img.b2bpic.net/free-vector/interior-design-logo-design_742173-10157.jpg", "http://img.b2bpic.net/free-vector/geometric-abstract-logo_1034-516.jpg", "http://img.b2bpic.net/free-vector/hand-drawn-culture-logo-design_23-2149857661.jpg", "http://img.b2bpic.net/free-vector/pack-four-modern-summer-badges_23-2147557647.jpg", "http://img.b2bpic.net/free-vector/logo-pack_53876-62712.jpg", "http://img.b2bpic.net/free-vector/minimal-colorful-business-card-template_23-2148379484.jpg", "http://img.b2bpic.net/free-vector/flat-design-muted-colors-label-collection_23-2150053290.jpg"
|
||||
names={[
|
||||
"Gallery One", "Museum Contemporary", "Art Collective", "Festival Culture", "Artist Residency", "Grant Foundation", "Creative Studio"
|
||||
]}
|
||||
speed={40}
|
||||
showCard={true}
|
||||
|
||||
@@ -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 default function SvgTextLogo({ text, className = '' }: SvgTextLogoProps) {
|
||||
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 * 60} 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;
|
||||
}
|
||||
Reference in New Issue
Block a user