Sync admin settings and media with the public landing site.

Show logo in the navbar, add image upload fields for logo/team/work/blog/gallery, and drive site chrome from settings everywhere.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-30 22:10:45 +03:30
co-authored by Cursor
parent ceac76781b
commit c33a757af4
14 changed files with 189 additions and 49 deletions
+14
View File
@@ -0,0 +1,14 @@
export async function useSiteChrome() {
const { data } = await useAsyncData("site-chrome", () => fetchPublicSite(), {
getCachedData: () => undefined,
});
return computed(() => ({
brand: data.value?.settings?.brandName || "منتک",
logoUrl: data.value?.settings?.logoUrl || "",
timezone: data.value?.settings?.timezone || "Asia/Tehran",
tagline: data.value?.settings?.tagline || "",
email: data.value?.settings?.email || "",
phone: data.value?.settings?.phone || "",
}));
}