tachiyomi-website/website/src/.vitepress/config/theme.ts

46 lines
1.5 KiB
TypeScript
Raw Normal View History

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;