Replace entire repo content with correct code from /root/shahikitchen-website/

This commit is contained in:
root
2026-06-29 16:22:09 +00:00
parent 57cc67d2d3
commit 50e3a34895
723 changed files with 20055 additions and 26101 deletions
+27
View File
@@ -0,0 +1,27 @@
import type { Metadata } from 'next';
import ScreenDisplay from '@/components/ScreenDisplay';
export const metadata: Metadata = {
title: 'Shahi Kitchen | Display Screen 2',
description: 'In-restaurant menu visualization — Screen 2',
robots: {
index: false,
follow: false,
},
};
export default function Screen2Page() {
// Early inline script: ensures html/body get kiosk no-scrollbar rules BEFORE React hydrates.
// Makes screen2 a perfectly clean full-window display (no web browser scrollbar) even on first paint / F11.
// Pairs with the .screen-root + useEffect in ScreenDisplay for robustness.
return (
<>
<script
dangerouslySetInnerHTML={{
__html: `(function(){var h=document.documentElement,b=document.body;h.classList.add('screen-kiosk');b.classList.add('screen-kiosk');h.style.overflow='hidden';b.style.overflow='hidden';})();`,
}}
/>
<ScreenDisplay screen={2} />
</>
);
}