Fix runttime
This commit is contained in:
+20
-7
@@ -3,7 +3,6 @@ import type { Dictionary } from "@/content/types";
|
||||
const ar: Dictionary = {
|
||||
common: {
|
||||
siteTitle: "ضياء",
|
||||
siteTagline: "موقع شخصي جديد قيد الإطلاق",
|
||||
navLabel: "التنقل الرئيسي",
|
||||
languageSwitcherLabel: "تبديل اللغة",
|
||||
themeToggleLabel: "نمط الواجهة",
|
||||
@@ -15,8 +14,16 @@ const ar: Dictionary = {
|
||||
contact: "تواصل",
|
||||
},
|
||||
footerRights: "{year} جميع الحقوق محفوظة",
|
||||
footerBuiltWith: "موقع ثنائي اللغة مهيأ للعرض المهني والنشر على خادم خاص.",
|
||||
availabilityBadge: "متاح لمشاريع الويب والتطوير المخصص",
|
||||
variants: {
|
||||
comingSoon: {
|
||||
siteTagline: "موقع شخصي جديد قيد الإطلاق",
|
||||
footerBuiltWith: "صفحة مؤقتة للإعلان عن قرب إطلاق الموقع الكامل على الخادم الخاص.",
|
||||
},
|
||||
full: {
|
||||
siteTagline: "مطور ويب يبني تجارب سريعة وقابلة للتوسع",
|
||||
footerBuiltWith: "موقع ثنائي اللغة مهيأ للعرض المهني والنشر على خادم خاص.",
|
||||
},
|
||||
},
|
||||
},
|
||||
home: {
|
||||
comingSoon: {
|
||||
@@ -92,10 +99,16 @@ const ar: Dictionary = {
|
||||
],
|
||||
},
|
||||
metadata: {
|
||||
homeTitle: "قريبًا",
|
||||
homeDescription: "صفحة ترحيبية مؤقتة للإعلان عن قرب إطلاق الموقع الشخصي الجديد.",
|
||||
fullHomeTitle: "الصفحة الرئيسية",
|
||||
fullHomeDescription: "موقع شخصي احترافي ثنائي اللغة يعرض الهوية المهنية والخبرة التقنية والاستعداد للنشر.",
|
||||
home: {
|
||||
comingSoon: {
|
||||
title: "قريبًا",
|
||||
description: "صفحة ترحيبية مؤقتة للإعلان عن قرب إطلاق الموقع الشخصي الجديد.",
|
||||
},
|
||||
full: {
|
||||
title: "الصفحة الرئيسية",
|
||||
description: "موقع شخصي احترافي ثنائي اللغة يعرض الهوية المهنية والخبرة التقنية والاستعداد للنشر.",
|
||||
},
|
||||
},
|
||||
aboutTitle: "من أنا",
|
||||
aboutDescription: "تعرف على الخبرات، المهارات، ومنهج العمل في بناء مواقع وأنظمة ويب حديثة.",
|
||||
contactTitle: "تواصل",
|
||||
|
||||
+20
-7
@@ -3,7 +3,6 @@ import type { Dictionary } from "@/content/types";
|
||||
const en: Dictionary = {
|
||||
common: {
|
||||
siteTitle: "Diyaa",
|
||||
siteTagline: "A new personal site is on the way",
|
||||
navLabel: "Main navigation",
|
||||
languageSwitcherLabel: "Switch language",
|
||||
themeToggleLabel: "Interface theme",
|
||||
@@ -15,8 +14,16 @@ const en: Dictionary = {
|
||||
contact: "Contact",
|
||||
},
|
||||
footerRights: "{year} All rights reserved",
|
||||
footerBuiltWith: "A bilingual professional site prepared for deployment on a private server.",
|
||||
availabilityBadge: "Available for web builds and custom development",
|
||||
variants: {
|
||||
comingSoon: {
|
||||
siteTagline: "A new personal site is on the way",
|
||||
footerBuiltWith: "A temporary landing page announcing the upcoming launch on the private server.",
|
||||
},
|
||||
full: {
|
||||
siteTagline: "Web developer building fast, scalable digital experiences",
|
||||
footerBuiltWith: "A bilingual professional site prepared for deployment on a private server.",
|
||||
},
|
||||
},
|
||||
},
|
||||
home: {
|
||||
comingSoon: {
|
||||
@@ -92,10 +99,16 @@ const en: Dictionary = {
|
||||
],
|
||||
},
|
||||
metadata: {
|
||||
homeTitle: "Coming Soon",
|
||||
homeDescription: "A temporary landing page announcing the upcoming launch of the new personal website.",
|
||||
fullHomeTitle: "Home",
|
||||
fullHomeDescription: "A bilingual professional site presenting technical expertise, project readiness, and server-friendly deployment.",
|
||||
home: {
|
||||
comingSoon: {
|
||||
title: "Coming Soon",
|
||||
description: "A temporary landing page announcing the upcoming launch of the new personal website.",
|
||||
},
|
||||
full: {
|
||||
title: "Home",
|
||||
description: "A bilingual professional site presenting technical expertise, project readiness, and server-friendly deployment.",
|
||||
},
|
||||
},
|
||||
aboutTitle: "About",
|
||||
aboutDescription: "Learn about experience, skills, and the working approach behind modern web builds.",
|
||||
contactTitle: "Contact",
|
||||
|
||||
+18
-11
@@ -1,6 +1,15 @@
|
||||
export type ModeVariants<T> = {
|
||||
comingSoon: T;
|
||||
full: T;
|
||||
};
|
||||
|
||||
export type CommonVariantContent = {
|
||||
siteTagline: string;
|
||||
footerBuiltWith: string;
|
||||
};
|
||||
|
||||
export type CommonContent = {
|
||||
siteTitle: string;
|
||||
siteTagline: string;
|
||||
navLabel: string;
|
||||
languageSwitcherLabel: string;
|
||||
themeToggleLabel: string;
|
||||
@@ -12,8 +21,7 @@ export type CommonContent = {
|
||||
contact: string;
|
||||
};
|
||||
footerRights: string;
|
||||
footerBuiltWith: string;
|
||||
availabilityBadge: string;
|
||||
variants: ModeVariants<CommonVariantContent>;
|
||||
};
|
||||
|
||||
export type HomeVariantContent = {
|
||||
@@ -29,10 +37,7 @@ export type HomeVariantContent = {
|
||||
}>;
|
||||
};
|
||||
|
||||
export type HomeContent = {
|
||||
comingSoon: HomeVariantContent;
|
||||
full: HomeVariantContent;
|
||||
};
|
||||
export type HomeContent = ModeVariants<HomeVariantContent>;
|
||||
|
||||
export type AboutContent = {
|
||||
kicker: string;
|
||||
@@ -64,11 +69,13 @@ export type ContactContent = {
|
||||
channels: ContactChannelContent[];
|
||||
};
|
||||
|
||||
export type MetadataVariantContent = {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
export type MetadataContent = {
|
||||
homeTitle: string;
|
||||
homeDescription: string;
|
||||
fullHomeTitle: string;
|
||||
fullHomeDescription: string;
|
||||
home: ModeVariants<MetadataVariantContent>;
|
||||
aboutTitle: string;
|
||||
aboutDescription: string;
|
||||
contactTitle: string;
|
||||
|
||||
Reference in New Issue
Block a user