fix(navbar): remove ios and mac badge from apps nav link

This commit is contained in:
2026-11-11 16:42:11 +05:30
parent 2f81056bc0
commit 89cdd72ddd
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -45,8 +45,7 @@
},
{
"label": { "en": "Apps", "hi": "ऐप्स" },
"href": "/apps",
"badge": "iOS · Mac"
"href": "/apps"
},
{
"label": { "en": "Pricing", "hi": "मूल्य निर्धारण" },
+1 -1
View File
@@ -25,7 +25,7 @@ function readJsonFile<T>(filePath: string): T | null {
}
export function getSiteConfig(): SiteConfig {
if (siteConfigCache) return siteConfigCache;
if (siteConfigCache && process.env.NODE_ENV === 'production') return siteConfigCache;
const config = readJsonFile<SiteConfig>(path.join(CONTENT_DIR, 'site.config.json'));
if (!config) {
throw new Error('Crucial site.config.json missing or invalid');