Merge version_1 into main #3
@@ -1,48 +1,32 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Cormorant_Garamond, Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const cormorant = Cormorant_Garamond({ variable: "--font-cormorant", subsets: ["latin"], weight: ["400", "500", "600", "700"] });
|
||||
const inter = Inter({ variable: "--font-inter", subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
title: "Fiorino Bratislava | Autentické Talianske Lahôdky", description: "Zažite kúsok Talianska v srdci Bratislavy na Bottovej 4. Ponúkame kurátorský výber syrov, údenín a vín priamo od talianskych producentov.", keywords: ["deli", "bratislava", "talianske potraviny", "fiorino", "syry", "víno"],
|
||||
metadataBase: new URL("https://fiorino.sk"),
|
||||
robots: { index: true, follow: true },
|
||||
openGraph: {
|
||||
title: "Fiorino Bratislava", description: "Autentické talianske lahôdky v Bratislave.", type: "website"
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<html lang="sk" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<body className={`${cormorant.variable} ${inter.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `${getVisualEditScript()}`
|
||||
}}
|
||||
/>
|
||||
<script dangerouslySetInnerHTML={{ __html: `${getVisualEditScript()}` }} />
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -48,10 +48,10 @@ export default function HomePage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "p1", name: "Burrata Italiana", price: "12,99 €", variant: "Najobľúbenejšia", imageSrc: "http://img.b2bpic.net/free-photo/world-tapa-s-day-celebration-with-snacks_23-2149368934.jpg" },
|
||||
{ id: "p2", name: "Prosciutto di Parma", price: "8,50 €", variant: "Premium", imageSrc: "http://img.b2bpic.net/free-photo/closeup-charcuterie-meat-products_53876-146578.jpg" },
|
||||
{ id: "p3", name: "Caffè Fiorino Espresso", price: "6,90 €", variant: "Bestseller", imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-hands-preparing-coffee-customer-coffee-shop_93675-135049.jpg" },
|
||||
{ id: "p4", name: "Prosecco Extra Dry", price: "15,50 €", variant: "Crowd favorite", imageSrc: "http://img.b2bpic.net/free-photo/table-with-glass-flowers_1157-783.jpg" }
|
||||
{ id: "p1", name: "Burrata Italiana", price: "12,99 €", variant: "Najobľúbenejšia", imageSrc: "http://img.b2bpic.net/free-photo/world-tapa-s-day-celebration-with-snacks_23-2149368934.jpg?_wi=1" },
|
||||
{ id: "p2", name: "Prosciutto di Parma", price: "8,50 €", variant: "Premium", imageSrc: "http://img.b2bpic.net/free-photo/closeup-charcuterie-meat-products_53876-146578.jpg?_wi=1" },
|
||||
{ id: "p3", name: "Caffè Fiorino Espresso", price: "6,90 €", variant: "Bestseller", imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-hands-preparing-coffee-customer-coffee-shop_93675-135049.jpg?_wi=1" },
|
||||
{ id: "p4", name: "Prosecco Extra Dry", price: "15,50 €", variant: "Crowd favorite", imageSrc: "http://img.b2bpic.net/free-photo/table-with-glass-flowers_1157-783.jpg?_wi=1" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -22,10 +22,10 @@ export default function ProductsPage() {
|
||||
<ProductCatalog
|
||||
layout="page"
|
||||
products={[
|
||||
{ id: "prod-1", name: "Mozzarella di Bufala", price: "4,90 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/world-tapa-s-day-celebration-with-snacks_23-2149368934.jpg" },
|
||||
{ id: "prod-2", name: "Salame Milano", price: "7,90 €", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/closeup-charcuterie-meat-products_53876-146578.jpg" },
|
||||
{ id: "prod-3", name: "Pesto Genovese", price: "5,50 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-hands-preparing-coffee-customer-coffee-shop_93675-135049.jpg" },
|
||||
{ id: "prod-4", name: "Parmigiano Reggiano", price: "9,90 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/table-with-glass-flowers_1157-783.jpg" }
|
||||
{ id: "prod-1", name: "Mozzarella di Bufala", price: "4,90 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/world-tapa-s-day-celebration-with-snacks_23-2149368934.jpg?_wi=2" },
|
||||
{ id: "prod-2", name: "Salame Milano", price: "7,90 €", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/closeup-charcuterie-meat-products_53876-146578.jpg?_wi=2" },
|
||||
{ id: "prod-3", name: "Pesto Genovese", price: "5,50 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-hands-preparing-coffee-customer-coffee-shop_93675-135049.jpg?_wi=2" },
|
||||
{ id: "prod-4", name: "Parmigiano Reggiano", price: "9,90 €", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/table-with-glass-flowers_1157-783.jpg?_wi=2" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user