Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -48,8 +48,8 @@ export default function LandingPage() {
|
||||
tag="Especialistas em Galvanoplastia"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/detail-shot-machinery-factory_1359-268.jpg?_wi=1"
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/detail-shot-machinery-factory_1359-268.jpg"
|
||||
imageAlt="Máquinas profissionais de galvanoplastia"
|
||||
buttons={[
|
||||
{ text: "Solicitar Orçamento", href: "contact" },
|
||||
@@ -87,31 +87,31 @@ export default function LandingPage() {
|
||||
id: "2", title: "Equipe Especializada", descriptions: [
|
||||
"Profissionais com 20+ anos de experiência", "Treinamento contínuo em novas técnicas", "Expertise em todos os tipos de galvanoplastia"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-engraving-wood-alone_23-2149061716.jpg?_wi=1", imageAlt: "quality inspection jewelry plated metal testing"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-engraving-wood-alone_23-2149061716.jpg", imageAlt: "quality inspection jewelry plated metal testing"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Laboratório Próprio", descriptions: [
|
||||
"Equipamento moderno e atualizado", "Testes de qualidade rigorosos", "Controle total de produção"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/detail-shot-machinery-factory_1359-268.jpg?_wi=2", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/detail-shot-machinery-factory_1359-268.jpg", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
},
|
||||
{
|
||||
id: "4", title: "Controle Rigoroso", descriptions: [
|
||||
"Inspeção em 100% das peças", "Testes de aderência e espessura", "Documentação completa de qualidade"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-jeweler-cuts-off-piece-solder-with-nippers_1153-3523.jpg?_wi=1", imageAlt: "professional jewelry inspection photography setup"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-jeweler-cuts-off-piece-solder-with-nippers_1153-3523.jpg", imageAlt: "professional jewelry inspection photography setup"
|
||||
},
|
||||
{
|
||||
id: "5", title: "Rastreabilidade Fotográfica", descriptions: [
|
||||
"Registro visual de cada lote", "Antes e depois da galvanoplastia", "Documentação para auditoria e compliance"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/jeweler-s-hands-making-jewellery_23-2150931424.jpg?_wi=1", imageAlt: "jewelry preparation cleaning laboratory"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/jeweler-s-hands-making-jewellery_23-2150931424.jpg", imageAlt: "jewelry preparation cleaning laboratory"
|
||||
},
|
||||
{
|
||||
id: "6", title: "Banho Hipoalergênico", descriptions: [
|
||||
"Seguro para pele sensível", "Conformidade com regulamentações ANVISA", "Certificações internacionais de qualidade"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-crafting-golden-metallic-object_23-2148742323.jpg?_wi=1", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-crafting-golden-metallic-object_23-2148742323.jpg", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -133,25 +133,25 @@ export default function LandingPage() {
|
||||
id: "step-1", title: "Recebimento e Fotografia", descriptions: [
|
||||
"Inspeção visual inicial", "Documentação fotográfica de todas as peças", "Registro de quantidade e qualidade inicial"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-jeweler-cuts-off-piece-solder-with-nippers_1153-3523.jpg?_wi=2", imageAlt: "professional jewelry inspection photography setup"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-jeweler-cuts-off-piece-solder-with-nippers_1153-3523.jpg", imageAlt: "professional jewelry inspection photography setup"
|
||||
},
|
||||
{
|
||||
id: "step-2", title: "Preparação das Peças", descriptions: [
|
||||
"Limpeza profunda de superfícies", "Remoção de óxidos e impurezas", "Preparação química para galvanoplastia"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/jeweler-s-hands-making-jewellery_23-2150931424.jpg?_wi=2", imageAlt: "jewelry preparation cleaning laboratory"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/jeweler-s-hands-making-jewellery_23-2150931424.jpg", imageAlt: "jewelry preparation cleaning laboratory"
|
||||
},
|
||||
{
|
||||
id: "step-3", title: "Processo de Galvanoplastia", descriptions: [
|
||||
"Imersão em banho eletrolítico controlado", "Aplicação uniforme de metal precioso", "Monitoramento de voltagem e temperatura"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-crafting-golden-metallic-object_23-2148742323.jpg?_wi=2", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-crafting-golden-metallic-object_23-2148742323.jpg", imageAlt: "electroplating equipment jewelry gold plating"
|
||||
},
|
||||
{
|
||||
id: "step-4", title: "Inspeção de Qualidade", descriptions: [
|
||||
"Teste de aderência e espessura", "Verificação visual detalhada", "Conformidade com especificações do cliente"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-engraving-wood-alone_23-2149061716.jpg?_wi=2", imageAlt: "quality inspection jewelry plated metal testing"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-engraving-wood-alone_23-2149061716.jpg", imageAlt: "quality inspection jewelry plated metal testing"
|
||||
},
|
||||
{
|
||||
id: "step-5", title: "Separação e Expedição", descriptions: [
|
||||
|
||||
@@ -1,51 +1,42 @@
|
||||
"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";
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: string;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
letterSpacing?: number;
|
||||
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 = 'Webild',
|
||||
fontSize = 32,
|
||||
fontWeight = 700,
|
||||
letterSpacing = 0,
|
||||
className = '',
|
||||
...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 300 100"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={`w-full h-auto ${className}`}
|
||||
{...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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
className="fill-current"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user