Merge version_1 into main #2
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSmallSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-radial"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
tag="Curso Online de Marketing Digital"
|
||||
tagIcon={Rocket}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
mediaItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlVhvuKO9BjGVxXdZ2Sz8gAm1J/uploaded-1773367498451-d3ppirmj.png", imageAlt: "Mulher usando smartphone com sucesso em marketing digital" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=p66cbf", imageAlt: "Empreendedora online com celular" },
|
||||
@@ -90,19 +90,19 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Simples para Iniciantes", description: "O método foi feito para quem não tem experiência em marketing digital, ensinando tudo passo a passo desde o básico.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci&_wi=1", imageAlt: "Interface simples de aprendizado"
|
||||
title: "Simples para Iniciantes", description: "O método foi feito para quem não tem experiência em marketing digital, ensinando tudo passo a passo desde o básico.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci", imageAlt: "Interface simples de aprendizado"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Passo a Passo Estruturado", description: "O curso possui vários módulos organizados que mostram exatamente o que fazer para começar a vender online.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol&_wi=1", imageAlt: "Módulos estruturados do curso"
|
||||
title: "Passo a Passo Estruturado", description: "O curso possui vários módulos organizados que mostram exatamente o que fazer para começar a vender online.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol", imageAlt: "Módulos estruturados do curso"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Ganhe Dinheiro Online", description: "O foco do método é gerar renda pela internet, através de vendas digitais e estratégias de marketing comprovadas.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci&_wi=2", imageAlt: "Estratégias de vendas online"
|
||||
title: "Ganhe Dinheiro Online", description: "O foco do método é gerar renda pela internet, através de vendas digitais e estratégias de marketing comprovadas.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci", imageAlt: "Estratégias de vendas online"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Tudo pelo Celular", description: "Uma das propostas do método é trabalhar usando apenas o celular e internet, sem precisar de estrutura complexa.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol&_wi=2", imageAlt: "Trabalho pelo celular"
|
||||
title: "Tudo pelo Celular", description: "Uma das propostas do método é trabalhar usando apenas o celular e internet, sem precisar de estrutura complexa.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol", imageAlt: "Trabalho pelo celular"
|
||||
}
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -121,19 +121,19 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 5,
|
||||
title: "Sem Precisar Aparecer", description: "O método ensina estratégias para vender sem mostrar o rosto, algo que muitas pessoas preferem.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol&_wi=3", imageAlt: "Vendas anônimas online"
|
||||
title: "Sem Precisar Aparecer", description: "O método ensina estratégias para vender sem mostrar o rosto, algo que muitas pessoas preferem.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol", imageAlt: "Vendas anônimas online"
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
title: "Afiliados e Vendas Online", description: "Os alunos aprendem a se afiliar a produtos digitais e vender pela internet em plataformas como Hotmart e outras.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci&_wi=3", imageAlt: "Plataformas de afiliados"
|
||||
title: "Afiliados e Vendas Online", description: "Os alunos aprendem a se afiliar a produtos digitais e vender pela internet em plataformas como Hotmart e outras.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci", imageAlt: "Plataformas de afiliados"
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
title: "Estratégias de Anúncios", description: "O curso também ensina como fazer anúncios online (tráfego pago) para aumentar vendas exponencialmente.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol&_wi=4", imageAlt: "Estratégias de tráfego pago"
|
||||
title: "Estratégias de Anúncios", description: "O curso também ensina como fazer anúncios online (tráfego pago) para aumentar vendas exponencialmente.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=erkmol", imageAlt: "Estratégias de tráfego pago"
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
title: "Mentalidade Empreendedora", description: "O método trabalha também a mentalidade de sucesso e disciplina para empreender com confiança no digital.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci&_wi=4", imageAlt: "Desenvolvimento pessoal"
|
||||
title: "Mentalidade Empreendedora", description: "O método trabalha também a mentalidade de sucesso e disciplina para empreender com confiança no digital.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xssfci", imageAlt: "Desenvolvimento pessoal"
|
||||
}
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
|
||||
@@ -1,51 +1,40 @@
|
||||
"use client";
|
||||
import React, { SVGProps } from 'react';
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
className?: string;
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: string;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
fill?: string;
|
||||
fontFamily?: 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 = 'LOGO',
|
||||
fontSize = 32,
|
||||
fontWeight = 'bold',
|
||||
fill = 'currentColor',
|
||||
fontFamily = 'system-ui, -apple-system, sans-serif',
|
||||
...props
|
||||
}) => {
|
||||
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 || 1) * fontSize * 0.6} ${fontSize * 1.2}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<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={fontSize * 0.1}
|
||||
y={fontSize * 0.9}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user