Replace entire repo content with kottgard-production-v1.1.zip (for shahikitchen-prod repo)

This commit is contained in:
root
2026-06-29 15:04:08 +00:00
parent 6cd5aaa048
commit 57cc67d2d3
850 changed files with 26149 additions and 15588 deletions
-27
View File
@@ -1,27 +0,0 @@
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} />
</>
);
}