Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5bfdb3bf3 | |||
| 4a3741b062 | |||
| bcc57aa4cf | |||
| d18c3ea683 | |||
| 997e140f6f | |||
| 622f7d7af8 |
@@ -1,52 +1,41 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-halant", subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Hitni Vodoinstalater Zagreb | 24/7 Dostupan", description: "Brzi vodoinstalater u Zagrebu dostupan 24/7. Popravka cijevi, WC-a, odvoda. Nazovite odmah: 091 6225 387", keywords: "vodoinstalater Zagreb, hitni vodoinstalater, popravak cijevi, čišćenje odvoda, vodoinstalater 0-24", metadataBase: new URL("https://pervan-instalacije.hr"),
|
title: "Pervan Instalacije - Vodoinstalater Zagreb 24/7", description: "Hitni vodoinstalater Zagreb. Dostupni 24 sata. Popravci cijevi, WC-a, odvoda. Brza intervencija, pouzdano rješenje."
|
||||||
alternates: {
|
|
||||||
canonical: "https://pervan-instalacije.hr"},
|
|
||||||
openGraph: {
|
|
||||||
title: "Hitni Vodoinstalater Zagreb – Brza Intervencija 24/7", description: "Dostupan vodoinstalater u svim dijelovima Zagreba. Brza intervencija, pouzdano rješenje. Nazovite: 091 6225 387", url: "https://pervan-instalacije.hr", siteName: "Pervan Instalacije", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746307.jpg", alt: "Profesionalni vodoinstalater"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "Hitni Vodoinstalater Zagreb 24/7", description: "Brza intervencija za sve vodoinstalaterske probleme. 091 6225 387", images: ["http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746307.jpg"],
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} antialiased`}
|
<script
|
||||||
>
|
dangerouslySetInnerHTML={{
|
||||||
<Tag />
|
__html: `
|
||||||
{children}
|
(function() {
|
||||||
|
try {
|
||||||
|
const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);
|
||||||
|
document.documentElement.style.setProperty('--vw', (vw / 100) + 'px');
|
||||||
|
} catch (e) {}
|
||||||
|
})();
|
||||||
|
window.addEventListener('resize', function() {
|
||||||
|
try {
|
||||||
|
const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);
|
||||||
|
document.documentElement.style.setProperty('--vw', (vw / 100) + 'px');
|
||||||
|
} catch (e) {}
|
||||||
|
});
|
||||||
|
`,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1414,7 +1403,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export default function LandingPage() {
|
|||||||
{ imageSrc: "http://img.b2bpic.net/free-photo/female-plumber-working-fix-problems-client-s-house_23-2150990728.jpg", imageAlt: "Kvalitetni popravak vodovodnih instalacija" }
|
{ imageSrc: "http://img.b2bpic.net/free-photo/female-plumber-working-fix-problems-client-s-house_23-2150990728.jpg", imageAlt: "Kvalitetni popravak vodovodnih instalacija" }
|
||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "📞 Nazovite odmah – 091 6225 387", href: "tel:0916225387" },
|
{ text: "Hitna intervencija – Besplatan pregled", href: "tel:0916225387" },
|
||||||
{ text: "Pošaljite upit", href: "#contact" }
|
{ text: "Pošaljite upit", href: "#contact" }
|
||||||
]}
|
]}
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user