You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.9 KiB
75 lines
1.9 KiB
import { viteBundler } from "@vuepress/bundler-vite";
|
|
import { defaultTheme } from "@vuepress/theme-default";
|
|
import { defineUserConfig } from "vuepress";
|
|
import { mediumZoomPlugin } from "@vuepress/plugin-medium-zoom";
|
|
|
|
export default defineUserConfig({
|
|
bundler: viteBundler({
|
|
viteOptions: {
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
// Uncomment if using SCSS variables
|
|
// additionalData: 'import stylesindex.scss',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
|
|
// Site meta and styles
|
|
head: [
|
|
["link", { rel: "stylesheet", href: "/styles/index.css" }],
|
|
["link", { rel: "icon", href: "/icon/logo.svg" }],
|
|
["link", { rel: "icon", href: "/icon/logo.svg" }],
|
|
],
|
|
|
|
// Default theme config
|
|
theme: defaultTheme({
|
|
locales: {
|
|
'/': {
|
|
notFound: [
|
|
`There's nothing here.`,
|
|
`How did we get here?`,
|
|
`That's a Four-Oh-Four.`,
|
|
'The Snowboys took the page.',
|
|
`Looks like we've got some broken links.`,
|
|
'Oops! This page does not exist.',
|
|
'Packhouse packed up this page.',
|
|
'Oh no looks like an intern messed up the routing.',
|
|
'Are you lost?',
|
|
],
|
|
|
|
},
|
|
},
|
|
navbar: [
|
|
{ text: "About Project XR", link: "#about", class: "button" },
|
|
{ text: "Our Service", link: "#service" },
|
|
{ text: "Projects", link: "#projects" },
|
|
// { text: "Plans & Pricing", link: "#StepsContainer" },
|
|
{ text: "Log In", link: "/login.md" },
|
|
],
|
|
sidebar: false,
|
|
logo: "/icon/logo.svg",
|
|
// isdarkMode: false,
|
|
colorMode: {
|
|
defaultMode: 'light', // Start in light mode
|
|
disableSwitch: true, // Hide the dark mode toggle
|
|
respectPrefersColorScheme: false, // Don't care about system settings
|
|
},
|
|
lastUpdated: false,
|
|
contributors: false,
|
|
editLink: false,
|
|
|
|
}),
|
|
|
|
// Plugins
|
|
plugins: [
|
|
mediumZoomPlugin({
|
|
selector: '.zoom',
|
|
}),
|
|
],
|
|
|
|
lang: "en-US",
|
|
});
|