feat: initial commit for landing rotating clock
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// رصد · Nuxt config. Persian-first: lang/dir are set on <html> at render time, not patched later.
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: "2025-01-01",
|
||||
modules: ["@nuxtjs/tailwindcss"],
|
||||
css: ["~/assets/css/main.css"],
|
||||
// Fully static output: every product is in the HTML for crawlers; WebGL hydrates on top.
|
||||
nitro: { prerender: { routes: ["/"] } },
|
||||
app: {
|
||||
head: {
|
||||
htmlAttrs: { lang: "fa", dir: "rtl" },
|
||||
charset: "utf-8",
|
||||
viewport: "width=device-width, initial-scale=1, viewport-fit=cover",
|
||||
meta: [{ name: "theme-color", content: "#EEF1F4" }],
|
||||
link: [
|
||||
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
||||
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
|
||||
{ rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&family=JetBrains+Mono:wght@400;500&display=swap" },
|
||||
],
|
||||
},
|
||||
},
|
||||
vite: { build: { target: "es2020" }, optimizeDeps: { include: ["three", "gsap", "gsap/ScrollTrigger"] } },
|
||||
});
|
||||
Reference in New Issue
Block a user