Merge version_3 into main #5

Merged
bender merged 2 commits from version_3 into main 2026-03-05 15:16:16 +00:00
2 changed files with 18 additions and 31 deletions

View File

@@ -1,11 +1,17 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Herrería NAM - Herrería Profesional en Córdoba", description: "Rejas, portones, estructuras metálicas y trabajos de herrería a medida. Expertos en soldadura y reparaciones con garantía."};
title: "Herrería NAM - Profesionales en Córdoba", description: "Servicios de herrería profesional en Córdoba. Rejas, portones, estructuras metálicas y soldadura con garantía."};
export default function RootLayout({
children,
@@ -14,7 +20,9 @@ export default function RootLayout({
}) {
return (
<html lang="es">
<body className={inter.className}>{children}
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `

View File

@@ -9,19 +9,9 @@ import MediaAbout from '@/components/sections/about/MediaAbout';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Shield, Mail, MessageCircle } from "lucide-react";
import { useEffect, useState } from "react";
import { Shield, Mail } from "lucide-react";
export default function LandingPage() {
const [isMobile, setIsMobile] = useState(false);
useEffect(() => {
const checkMobile = () => setIsMobile(window.innerWidth < 768);
checkMobile();
window.addEventListener('resize', checkMobile);
return () => window.removeEventListener('resize', checkMobile);
}, []);
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
@@ -35,17 +25,6 @@ export default function LandingPage() {
secondaryButtonStyle="solid"
headingFontWeight="extrabold"
>
{/* Floating WhatsApp Button */}
<a
href="https://wa.me/543518139382?text=Hola%2C%20vi%20su%20p%C3%A1gina%20web%20y%20quiero%20consultar%20por%20un%20trabajo%20de%20herrer%C3%ADa."
target="_blank"
rel="noopener noreferrer"
className="fixed bottom-6 right-6 z-50 w-14 h-14 md:w-16 md:h-16 bg-[#25D366] hover:bg-[#1fb85a] rounded-full flex items-center justify-center shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110"
aria-label="Contactar por WhatsApp"
>
<MessageCircle className="w-7 h-7 md:w-8 md:h-8 text-white" />
</a>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
@@ -74,7 +53,7 @@ export default function LandingPage() {
mediaAnimation="slide-up"
buttons={[
{ text: "Llamar ahora", href: "tel:+543518139382" },
{ text: "Contactar por WhatsApp", href: "https://wa.me/543518139382?text=Hola%2C%20vi%20su%20p%C3%A1gina%20web%20y%20quiero%20consultar%20por%20un%20trabajo%20de%20herrer%C3%ADa." }
{ text: "Pedir presupuesto", href: "#contact" }
]}
buttonAnimation="slide-up"
/>
@@ -151,7 +130,7 @@ export default function LandingPage() {
imageSrc="http://img.b2bpic.net/free-photo/process-polishing-welding-metal-factory_651396-4.jpg?_wi=2"
imageAlt="Equipo profesional de Herrería NAM"
buttons={[
{ text: "Contactar por WhatsApp", href: "https://wa.me/543518139382?text=Hola%2C%20vi%20su%20p%C3%A1gina%20web%20y%20quiero%20consultar%20por%20un%20trabajo%20de%20herrer%C3%ADa." }
{ text: "Solicitar presupuesto", href: "#contact" }
]}
useInvertedBackground={false}
/>
@@ -191,7 +170,7 @@ export default function LandingPage() {
<ContactSplit
tag="Presupuesto sin compromiso"
title="Solicita tu presupuesto"
description="Completa el formulario con los detalles de tu proyecto. Nos pondremos en contacto a la brevedad para ofrecerte el mejor presupuesto. También puedes contactarnos directamente por WhatsApp."
description="Completa el formulario con los detalles de tu proyecto. Nos pondremos en contacto a la brevedad para ofrecerte el mejor presupuesto."
tagIcon={Mail}
background={{ variant: "plain" }}
useInvertedBackground={false}
@@ -201,7 +180,7 @@ export default function LandingPage() {
mediaAnimation="slide-up"
inputPlaceholder="tu@email.com"
buttonText="Enviar consulta"
termsText="Nos pondremos en contacto dentro de 24 horas. Presupuesto sin compromiso. O contactanos por WhatsApp para respuesta inmediata."
termsText="Responderemos tu consulta en menos de 2 horas durante horario laboral. Sin costo ni compromiso."
/>
</div>
@@ -218,7 +197,7 @@ export default function LandingPage() {
{
title: "Contacto", items: [
{ label: "Llamar: +54 351 813-9382", href: "tel:+543518139382" },
{ label: "WhatsApp", href: "https://wa.me/543518139382?text=Hola%2C%20vi%20su%20p%C3%A1gina%20web%20y%20quiero%20consultar%20por%20un%20trabajo%20de%20herrer%C3%ADa." },
{ label: "WhatsApp", href: "https://wa.me/543518139382" },
{ label: "Ubicación", href: "#" }
]
},