2023-10-26 19:12:13 +00:00
|
|
|
import { defineConfig } from "vitepress";
|
2023-10-26 20:15:13 +00:00
|
|
|
import UnoCSS from "unocss/vite";
|
|
|
|
import { presetUno, presetAttributify, presetIcons } from "unocss";
|
2023-10-26 19:12:13 +00:00
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
title: "FMHY",
|
|
|
|
description: "site",
|
|
|
|
titleTemplate: ":title | FreeMediaHeckYeah",
|
|
|
|
lang: "en-US",
|
|
|
|
lastUpdated: true,
|
|
|
|
cleanUrls: true,
|
|
|
|
appearance: "dark",
|
|
|
|
srcExclude: ["README.md", "single-page"],
|
|
|
|
head: [
|
|
|
|
["meta", { name: "theme-color", content: "#7bc5e4" }],
|
|
|
|
["meta", { name: "og:type", content: "website" }],
|
|
|
|
["meta", { name: "og:locale", content: "en" }],
|
|
|
|
],
|
2023-10-26 20:15:13 +00:00
|
|
|
vite: {
|
|
|
|
plugins: [
|
|
|
|
UnoCSS({
|
|
|
|
presets: [presetUno, presetAttributify, presetIcons({ scale: 1.2 })],
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
},
|
2023-10-26 19:12:13 +00:00
|
|
|
themeConfig: {
|
|
|
|
search: {
|
|
|
|
provider: "local",
|
|
|
|
},
|
|
|
|
// TODO: add navbar items
|
|
|
|
nav: [],
|
|
|
|
sidebar: [
|
2023-10-26 19:58:30 +00:00
|
|
|
{ text: "Beginners Guide to Piracy", link: "/Beginners-Guide" },
|
|
|
|
{ text: "Adblocking / Privacy", link: "/AdblockVPNGuide" },
|
|
|
|
{ text: "Artificial Intelligence", link: "/AI" },
|
2023-10-26 20:15:13 +00:00
|
|
|
{ text: "Android / iOS", link: "Android-iOSGuide" },
|
2023-10-26 19:58:30 +00:00
|
|
|
],
|
|
|
|
socialLinks: [
|
|
|
|
{ icon: "github", link: "https://github.com/fmhy/FMHYEdit" },
|
|
|
|
{ icon: "discord", link: "https://discord.gg/Stz6y6NgNg" },
|
2023-10-26 19:12:13 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
});
|