2026-10-06 16:28:05 +03:30
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { ConfigProvider, StyleProvider } from "ant-design-vue";
|
|
|
|
|
import faIR from "ant-design-vue/es/locale/fa_IR";
|
|
|
|
|
import { antdTheme } from "~/design/theme";
|
|
|
|
|
import { organizationSchema, websiteSchema } from "#shared/seo/schema";
|
|
|
|
|
|
|
|
|
|
const { $antdCache } = useNuxtApp();
|
|
|
|
|
|
2026-10-21 20:31:05 +03:30
|
|
|
const site = useSiteStore();
|
|
|
|
|
await callOnce("site", () => site.load());
|
|
|
|
|
|
2026-10-06 16:28:05 +03:30
|
|
|
useSiteSeo();
|
2026-10-21 20:31:05 +03:30
|
|
|
const seo = useSeoContext();
|
|
|
|
|
useJsonLd([organizationSchema(seo), websiteSchema(seo)]);
|
2026-10-06 16:28:05 +03:30
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<StyleProvider :cache="$antdCache">
|
|
|
|
|
<ConfigProvider :theme="antdTheme" direction="rtl" :locale="faIR">
|
2026-10-22 17:18:17 +03:30
|
|
|
<NuxtLayout>
|
|
|
|
|
<NuxtPage />
|
|
|
|
|
</NuxtLayout>
|
2026-10-06 16:28:05 +03:30
|
|
|
</ConfigProvider>
|
|
|
|
|
</StyleProvider>
|
|
|
|
|
</template>
|