Merge version_2 into main #4
@@ -1,57 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito_Sans } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const nunitoSans = Nunito_Sans({
|
||||
variable: "--font-nunito-sans", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Herrería NAM Córdoba | Rejas, Portones y Herrería Profesional", description: "Herrería profesional en Córdoba. Rejas, portones, puertas de seguridad y estructuras metálicas. 4.9⭐ en Google. Presupuestos sin compromiso.", keywords: "herrería Córdoba, herrero Córdoba, rejas para casas Córdoba, portones metálicos Córdoba, puertas de seguridad, estructuras metálicas, soldadura Córdoba", metadataBase: new URL("https://herrerianam.com.ar"),
|
||||
alternates: {
|
||||
canonical: "https://herrerianam.com.ar"},
|
||||
openGraph: {
|
||||
title: "Herrería NAM Córdoba | Servicios de Herrería Profesional", description: "Expertos en rejas, portones y estructuras metálicas. 4.9⭐ en Google. Contáctanos para tu presupuesto.", url: "https://herrerianam.com.ar", siteName: "Herrería NAM", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/process-polishing-welding-metal-factory_651396-4.jpg", alt: "Herrería NAM - Servicios profesionales de herrería"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Herrería NAM Córdoba", description: "Rejas, portones y herrería profesional en Córdoba. 4.9⭐ en Google.", images: ["http://img.b2bpic.net/free-photo/process-polishing-welding-metal-factory_651396-4.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
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."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="es">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -9,9 +9,19 @@ 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 } from "lucide-react";
|
||||
import { Shield, Mail, MessageCircle } from "lucide-react";
|
||||
import { useEffect, useState } from "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"
|
||||
@@ -25,6 +35,17 @@ 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={[
|
||||
@@ -53,7 +74,7 @@ export default function LandingPage() {
|
||||
mediaAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Llamar ahora", href: "tel:+543518139382" },
|
||||
{ text: "Pedir presupuesto", href: "#contact" }
|
||||
{ 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." }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -130,7 +151,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: "Solicitar presupuesto", href: "#contact" }
|
||||
{ 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." }
|
||||
]}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
@@ -170,7 +191,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."
|
||||
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."
|
||||
tagIcon={Mail}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
@@ -180,7 +201,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."
|
||||
termsText="Nos pondremos en contacto dentro de 24 horas. Presupuesto sin compromiso. O contactanos por WhatsApp para respuesta inmediata."
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -197,7 +218,7 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Contacto", items: [
|
||||
{ label: "Llamar: +54 351 813-9382", href: "tel:+543518139382" },
|
||||
{ label: "WhatsApp", href: "https://wa.me/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: "Ubicación", href: "#" }
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user