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
@@ -1,18 +0,0 @@
import type { LanguageRepository } from '@/domain/language/repository';
import { isLanguage, type Language } from '@/domain/language/entities';
import { STORAGE_KEYS } from '@/domain/shared/constants';
export class LocalStorageLanguageRepository implements LanguageRepository {
load(): Language | null {
if (typeof window === 'undefined') return null;
const saved = localStorage.getItem(STORAGE_KEYS.language);
if (saved && isLanguage(saved)) return saved;
return null;
}
save(language: Language): void {
if (typeof window === 'undefined') return;
localStorage.setItem(STORAGE_KEYS.language, language);
}
}