5 Commits

Author SHA1 Message Date
83a0cf65d4 Update src/app/page.tsx 2026-03-09 18:15:08 +00:00
fef6d586c8 Update src/app/layout.tsx 2026-03-09 18:15:08 +00:00
0736fdb093 Switch to version 1: modified src/app/page.tsx 2026-03-09 18:04:20 +00:00
800fec501a Switch to version 1: modified src/app/layout.tsx 2026-03-09 18:04:20 +00:00
1e64b1aa45 Merge version_7 into main
Merge version_7 into main
2026-03-09 18:03:03 +00:00
2 changed files with 20 additions and 47 deletions

View File

@@ -1,8 +1,14 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google"; import { Geist, Geist_Mono } from "next/font/google";
import "@/styles/globals.css"; 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 = { export const metadata: Metadata = {
title: "Dosa & Samosa", description: "Autentická indická kuchyňa s rodinnou atmosférou"}; title: "Dosa & Samosa", description: "Autentická indická kuchyňa s rodinnou atmosférou"};
@@ -14,7 +20,9 @@ export default function RootLayout({
}) { }) {
return ( return (
<html lang="sk"> <html lang="sk">
<body className={inter.className}>{children} <body className={`${geist.variable} ${geistMono.variable}`}>
{children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `

View File

@@ -49,8 +49,9 @@ export default function LandingPage() {
imageSrc="http://img.b2bpic.net/free-photo/vertical-view-boiled-rice-brown-wooden-pot-different-spices_140725-135274.jpg" imageSrc="http://img.b2bpic.net/free-photo/vertical-view-boiled-rice-brown-wooden-pot-different-spices_140725-135274.jpg"
imageAlt="Indické curry podávané s ryžou a čerstvými bylinkami" imageAlt="Indické curry podávané s ryžou a čerstvými bylinkami"
mediaAnimation="slide-up" mediaAnimation="slide-up"
tag="Donáška dostupná"
buttons={[ buttons={[
{ text: "Objednať donášku", href: "#order" }, { text: "Objednať teraz - Online", href: "#order" },
{ text: "Pozrieť menu", href: "#menu" }, { text: "Pozrieť menu", href: "#menu" },
]} ]}
/> />
@@ -111,53 +112,17 @@ export default function LandingPage() {
gridVariant="three-columns-all-equal-width" gridVariant="three-columns-all-equal-width"
products={[ products={[
{ {
id: "1", name: "Chicken Tikka Masala", price: "9,90€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=1", imageAlt: "Chicken Tikka Masala", onProductClick: () => { id: "1", name: "Chicken Tikka Masala", price: "9,90€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=1", imageAlt: "Chicken Tikka Masala"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
{ {
id: "2", name: "Samosa", price: "4,50€", imageSrc: "http://img.b2bpic.net/free-photo/deep-fried-samosas-dumplings-gourmet-appetizer-generated-by-ai_188544-13491.jpg", imageAlt: "Chrumkavé samosy", onProductClick: () => { id: "2", name: "Samosa", price: "4,50€", imageSrc: "http://img.b2bpic.net/free-photo/deep-fried-samosas-dumplings-gourmet-appetizer-generated-by-ai_188544-13491.jpg", imageAlt: "Chrumkavé samosy"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
{ {
id: "3", name: "Butter Chicken", price: "9,90€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=2", imageAlt: "Butter Chicken", onProductClick: () => { id: "3", name: "Butter Chicken", price: "9,90€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=2", imageAlt: "Butter Chicken"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
{ {
id: "4", name: "Dosa Wrap", price: "7,50€", imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-composition_23-2149086046.jpg", imageAlt: "Dosa Wrap", onProductClick: () => { id: "4", name: "Dosa Wrap", price: "7,50€", imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-composition_23-2149086046.jpg", imageAlt: "Dosa Wrap"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
{ {
id: "5", name: "Chicken Madras Curry", price: "10,50€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=3", imageAlt: "Chicken Madras Curry", onProductClick: () => { id: "5", name: "Chicken Madras Curry", price: "10,50€", imageSrc: "http://img.b2bpic.net/free-photo/healthy-gourmet-meal-with-chicken-meat-curry-generated-by-ai_188544-18147.jpg?_wi=3", imageAlt: "Chicken Madras Curry"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
{ {
id: "6", name: "Dal Palak Shorba", price: "6,50€", imageSrc: "http://img.b2bpic.net/free-photo/bowl-lentil-soup-with-slice-bread-side_188544-24621.jpg", imageAlt: "Dal Palak Shorba", onProductClick: () => { id: "6", name: "Dal Palak Shorba", price: "6,50€", imageSrc: "http://img.b2bpic.net/free-photo/bowl-lentil-soup-with-slice-bread-side_188544-24621.jpg", imageAlt: "Dal Palak Shorba"},
const orderSection = document.getElementById('order');
if (orderSection) {
orderSection.scrollIntoView({ behavior: 'smooth' });
}
}
},
]} ]}
/> />
</div> </div>