Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e232c75a79 | |||
| 2f1353725b | |||
| 7d7469ea67 |
@@ -1,14 +1,8 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Geist, Geist_Mono } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "@/styles/globals.css";
|
||||||
|
|
||||||
const geist = Geist({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
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"};
|
||||||
@@ -20,9 +14,7 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="sk">
|
<html lang="sk">
|
||||||
<body className={`${geist.variable} ${geistMono.variable}`}>
|
<body className={inter.className}>{children}
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export default function LandingPage() {
|
|||||||
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"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Objednať teraz", href: "#order" },
|
{ text: "Objednať donášku", href: "#order" },
|
||||||
{ text: "Pozrieť menu", href: "#menu" },
|
{ text: "Pozrieť menu", href: "#menu" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
@@ -111,17 +111,53 @@ 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"},
|
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: () => {
|
||||||
|
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"},
|
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: () => {
|
||||||
|
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"},
|
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: () => {
|
||||||
|
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"},
|
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: () => {
|
||||||
|
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"},
|
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: () => {
|
||||||
|
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"},
|
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: () => {
|
||||||
|
const orderSection = document.getElementById('order');
|
||||||
|
if (orderSection) {
|
||||||
|
orderSection.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user