tachiyomi-website/website/src/.vitepress/config/theme.ts
Soitora ca560632b8
Attempt to move website to git subdirectory
Better readability as there's a bunch of files that are not related to each other in the root directory
2023-07-26 01:12:38 +02:00

46 lines
1.5 KiB
TypeScript

import type { DefaultTheme } from "vitepress";
import nav from "./navigation/navbar";
import sidebar from "./navigation/sidebar";
const themeConfig: DefaultTheme.Config = {
logo: "/img/logo-128px.png",
nav: nav,
sidebar: sidebar,
outline: [2, 3],
socialLinks: [
{ icon: "github", link: "https://github.com/tachiyomiorg/tachiyomi", ariaLabel: "Project GitHub" },
{ icon: "discord", link: "https://discord.gg/tachiyomi", ariaLabel: "Discord Server" },
{ icon: "twitter", link: "https://twitter.com/tachiyomiorg", ariaLabel: "Twitter Page" },
{ icon: "facebook", link: "https://facebook.com/tachiyomiorg", ariaLabel: "Facebook Page" },
//{ icon: "instagram", link: "https://instagram.com/tachiyomiorg", ariaLabel: "Instagram Page" },
],
footer: {
message: `<a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Open-source Apache Licensed</a> | <a href="./privacy">Privacy policy</a> | Powered by <a target="_blank" href="https://www.netlify.com/">Netlify <img src="/img/netlify.svg" height="12px" width="12px" style="display: inline-block"></a>`,
copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`,
},
editLink: {
pattern: "https://github.com/xhenos/kodo/edit/v3-vitepress/website/src/:path",
text: "Help us improve this page",
},
lastUpdated: {
text: "Last updated",
formatOptions: {
dateStyle: "long",
timeStyle: "short",
},
},
search: {
provider: "local",
},
};
export default themeConfig;