Replace the landing with the artifact design and rebuild the admin in Ant Design.

Adds consultation leads, section editors, and the one-time content reset for this release.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-01 20:36:06 +03:30
co-authored by Cursor
parent 5147c661f0
commit b0088c35d1
130 changed files with 8024 additions and 2801 deletions
+22
View File
@@ -0,0 +1,22 @@
const STORAGE_KEY = "montech_theme";
/** The initial class is applied by the inline boot script in `nuxt.config.ts` before first paint. */
export function useTheme() {
const isDark = useState("theme-dark", () => false);
function sync() {
isDark.value = document.documentElement.classList.contains("dark");
}
function toggle() {
isDark.value = !isDark.value;
document.documentElement.classList.toggle("dark", isDark.value);
try {
localStorage.setItem(STORAGE_KEY, isDark.value ? "dark" : "light");
} catch {
/* storage unavailable (private mode) */
}
}
return { isDark, sync, toggle };
}