Merge version_1 into main #2
@@ -47,11 +47,12 @@ export default function LandingPage() {
|
||||
tag="Chapa Top 2025"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=1"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png"
|
||||
imageAlt="Logo da Chapa Top - Talentos e Oportunidades"
|
||||
imagePosition="right"
|
||||
mediaAnimation="opacity"
|
||||
useInvertedBackground={false}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
buttons={[
|
||||
{ text: "Conheça Nossos Talentos", href: "#talent" },
|
||||
{ text: "Saiba Mais", href: "#opportunities" }
|
||||
@@ -60,11 +61,11 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Nicolas Mascaranhas", handle: "Presidente da Chapa", testimonial: "Nossa chapa existe para dar voz e oportunidades a cada estudante da Newton Reis.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=2"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png"
|
||||
},
|
||||
{
|
||||
name: "Lucas de Lima", handle: "Vice-Presidente da Chapa", testimonial: "Acreditamos que cada talento merece ser celebrado e desenvolvido em nossa comunidade.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=3"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -108,38 +109,38 @@ export default function LandingPage() {
|
||||
{
|
||||
id: "leadership", groupTitle: "Liderança", members: [
|
||||
{
|
||||
id: "nicolas", title: "Nicolas Mascaranhas", subtitle: "Presidente", detail: "Visionário e inspirador", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=4", imageAlt: "Nicolas Mascaranhas"
|
||||
id: "nicolas", title: "Nicolas Mascaranhas", subtitle: "Presidente", detail: "Visionário e inspirador", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Nicolas Mascaranhas"
|
||||
},
|
||||
{
|
||||
id: "lucas", title: "Lucas de Lima", subtitle: "Vice-Presidente", detail: "Estratégico e comprometido", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=5", imageAlt: "Lucas de Lima"
|
||||
id: "lucas", title: "Lucas de Lima", subtitle: "Vice-Presidente", detail: "Estratégico e comprometido", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Lucas de Lima"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "participants", groupTitle: "Participantes", members: [
|
||||
{
|
||||
id: "andressa", title: "Andressa Martins", subtitle: "Participante", detail: "Engajada e criativa", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=6", imageAlt: "Andressa Martins"
|
||||
id: "andressa", title: "Andressa Martins", subtitle: "Participante", detail: "Engajada e criativa", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Andressa Martins"
|
||||
},
|
||||
{
|
||||
id: "sarah", title: "Sarah Lima", subtitle: "Participante", detail: "Dinâmica e comunicativa", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=7", imageAlt: "Sarah Lima"
|
||||
id: "sarah", title: "Sarah Lima", subtitle: "Participante", detail: "Dinâmica e comunicativa", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Sarah Lima"
|
||||
},
|
||||
{
|
||||
id: "mariana", title: "Mariana Rosende", subtitle: "Participante", detail: "Organizada e dedicada", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=8", imageAlt: "Mariana Rosende"
|
||||
id: "mariana", title: "Mariana Rosende", subtitle: "Participante", detail: "Organizada e dedicada", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Mariana Rosende"
|
||||
},
|
||||
{
|
||||
id: "lorena", title: "Lorena Ribeiro", subtitle: "Participante", detail: "Líder e motivadora", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=9", imageAlt: "Lorena Ribeiro"
|
||||
id: "lorena", title: "Lorena Ribeiro", subtitle: "Participante", detail: "Líder e motivadora", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Lorena Ribeiro"
|
||||
},
|
||||
{
|
||||
id: "lorrane", title: "Lorrane", subtitle: "Participante", detail: "Criativa e inovadora", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=10", imageAlt: "Lorrane"
|
||||
id: "lorrane", title: "Lorrane", subtitle: "Participante", detail: "Criativa e inovadora", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Lorrane"
|
||||
},
|
||||
{
|
||||
id: "ruan", title: "Ruan Miguel", subtitle: "Participante", detail: "Estratégico e comprometido", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=11", imageAlt: "Ruan Miguel"
|
||||
id: "ruan", title: "Ruan Miguel", subtitle: "Participante", detail: "Estratégico e comprometido", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Ruan Miguel"
|
||||
},
|
||||
{
|
||||
id: "gabriella", title: "Gabriella Vitorino", subtitle: "Participante", detail: "Criativa e determinada", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=12", imageAlt: "Gabriella Vitorino"
|
||||
id: "gabriella", title: "Gabriella Vitorino", subtitle: "Participante", detail: "Criativa e determinada", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Gabriella Vitorino"
|
||||
},
|
||||
{
|
||||
id: "beatriz", title: "Beatriz Rodrigues", subtitle: "Participante", detail: "Engajada e solidária", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png?_wi=13", imageAlt: "Beatriz Rodrigues"
|
||||
id: "beatriz", title: "Beatriz Rodrigues", subtitle: "Participante", detail: "Engajada e solidária", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AmVumkhMxNmOcKWyRT7He2LPzB/uploaded-1773198095393-9hkyah1l.png", imageAlt: "Beatriz Rodrigues"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,51 +1,42 @@
|
||||
"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;
|
||||
fontWeight?: string | number;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'central';
|
||||
}
|
||||
|
||||
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 = 24,
|
||||
fontWeight = 'bold',
|
||||
letterSpacing = 0,
|
||||
dominantBaseline = 'central',
|
||||
}) => {
|
||||
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 * 20} 40`}
|
||||
className={className}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
y="50%"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
dominantBaseline={dominantBaseline}
|
||||
textAnchor="start"
|
||||
className="fill-current"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user