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
+28
View File
@@ -0,0 +1,28 @@
/**
* Convenience re-export — all website images & media in one place.
*
* Usage:
* import { SITE_ASSETS, logoUrl, getMenuPosterSrc } from '@/lib/assets';
*/
export {
SITE_ASSETS,
MEDIA_FOLDERS,
RESTAURANT_GALLERY,
mediaUrl,
restaurantPhoto,
tableQrCode,
} from '@/infrastructure/assets/site-assets';
export {
logoUrl,
heroBannerSources,
chefExpressionUrl,
dishImageUrl,
dishPosterFromVideo,
getMenuPosterSrc,
getMenuPosterCandidates,
getMenuVideoSrc,
getMenuVideoSources,
applyNextImageFallback,
videoBaseName,
} from '@/application/media/asset-resolver';
+17
View File
@@ -0,0 +1,17 @@
/**
* Catering data — re-export from domain layer.
*/
export {
CATERING_DISH_CATALOG,
CATERING_CATEGORY_ORDER,
getCateringDishById,
groupDishesByCategory,
} from '@/domain/catering/dish-catalog';
export { cateringPackages } from '@/domain/catering/catering-packages';
export type {
CateringDish,
CateringDishCategory,
CateringPackage,
} from '@/domain/catering/entities';
+10
View File
@@ -0,0 +1,10 @@
/** Shared header layout constants — safe for Server Components (no 'use client'). */
export const LANGUAGE_BANNER_HEIGHT = 48;
export const NAVBAR_HEIGHT = 68;
export const HEADER_HEIGHT = LANGUAGE_BANNER_HEIGHT + NAVBAR_HEIGHT; // 116px
export const HEADER_HEIGHT_MOBILE = HEADER_HEIGHT;
export const HEADER_OFFSET_VAR = '--header-height';
/** @deprecated Use HEADER_HEIGHT */
export const headerHeight = HEADER_HEIGHT;
+5
View File
@@ -0,0 +1,5 @@
/**
* @deprecated Import from `@/presentation/providers/language-provider`.
* Kept for backward compatibility during Clean Architecture migration.
*/
export { LanguageProvider, useLanguage } from '@/presentation/providers/language-provider';
+11
View File
@@ -0,0 +1,11 @@
/**
* @deprecated Import from `@/infrastructure/menu/static-menu-data` or use `container.menuRepository`.
* Kept for backward compatibility during Clean Architecture migration.
*/
export {
menuCategories,
allMenuItems,
getMenuItemById,
type MenuItem,
type MenuCategory,
} from '@/infrastructure/menu/static-menu-data';
+9
View File
@@ -0,0 +1,9 @@
/**
* @deprecated Import from `@/infrastructure/audio/web-audio-sound-adapter`.
* Kept for backward compatibility during Clean Architecture migration.
*/
export {
playHoverSound,
playAddSound,
playSuccessSound,
} from '@/infrastructure/audio/web-audio-sound-adapter';
+10
View File
@@ -0,0 +1,10 @@
/**
* @deprecated Import from `@/presentation/i18n/translations`.
* Kept for backward compatibility during Clean Architecture migration.
*/
export {
languages,
translations,
getTranslation,
type Language,
} from '@/presentation/i18n/translations';