Merge version_1 into main #2
@@ -52,10 +52,10 @@ export default function LandingPage() {
|
||||
background={{ variant: 'plain' }}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sound-engineer-mixing-mastering-new-music-console_482257-121294.jpg?_wi=1", imageAlt: "Professional music producer in studio"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sound-engineer-mixing-mastering-new-music-console_482257-121294.jpg", imageAlt: "Professional music producer in studio"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-organizing-live-shop_23-2149947447.jpg?_wi=1", imageAlt: "Independent artist creating music"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-organizing-live-shop_23-2149947447.jpg", imageAlt: "Independent artist creating music"
|
||||
}
|
||||
]}
|
||||
rating={5}
|
||||
@@ -66,7 +66,6 @@ export default function LandingPage() {
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
mediaAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -131,7 +130,7 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Learn From Real Professionals", description: "Our mentors have generated millions of streams, managed artist campaigns, and scaled TikTok presence from zero. They teach what actually works in 2025.", media: {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg?_wi=1", imageAlt: "Professional training session"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg", imageAlt: "Professional training session"
|
||||
},
|
||||
items: [
|
||||
{ icon: CheckCircle, text: "Real campaign experience shared" },
|
||||
@@ -171,13 +170,13 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Digital Marketing for Artists", price: "Day 1-2", imageSrc: "http://img.b2bpic.net/free-photo/sound-engineer-mixing-mastering-new-music-console_482257-121294.jpg?_wi=2", imageAlt: "Digital marketing strategies"
|
||||
id: "1", name: "Digital Marketing for Artists", price: "Day 1-2", imageSrc: "http://img.b2bpic.net/free-photo/sound-engineer-mixing-mastering-new-music-console_482257-121294.jpg", imageAlt: "Digital marketing strategies"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Social Media Growth Strategy", price: "Day 2-3", imageSrc: "http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg?_wi=2", imageAlt: "Social media mastery"
|
||||
id: "2", name: "Social Media Growth Strategy", price: "Day 2-3", imageSrc: "http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg", imageAlt: "Social media mastery"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Music Release & Promotion", price: "Day 3-4", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-organizing-live-shop_23-2149947447.jpg?_wi=2", imageAlt: "Release strategy"
|
||||
id: "3", name: "Music Release & Promotion", price: "Day 3-4", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-organizing-live-shop_23-2149947447.jpg", imageAlt: "Release strategy"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -325,7 +324,7 @@ export default function LandingPage() {
|
||||
required: true
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg?_wi=3"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/man-playing-electric-guitar-live-concert_23-2149188054.jpg"
|
||||
imageAlt="Naiart School bootcamp classroom"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
|
||||
@@ -1,51 +1,31 @@
|
||||
"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);
|
||||
|
||||
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 200 60"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
aria-label={text}
|
||||
>
|
||||
<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="central"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user