blog/src/config.ts

53 lines
1.4 KiB
TypeScript
Raw Normal View History

2023-11-03 14:10:54 +08:00
import type {LicenseConfig, NavBarConfig, ProfileConfig, SiteConfig} from "./types/config.ts";
import {LinkPreset} from "./types/config.ts";
export const siteConfig: SiteConfig = {
title: 'Fuwari',
subtitle: 'Demo Site',
2023-11-03 14:10:54 +08:00
lang: 'en',
themeHue: 250,
banner: {
enable: true,
src: 'assets/images/demo-banner.png',
}
}
export const navBarConfig: NavBarConfig = {
links: [
LinkPreset.Home,
LinkPreset.Archive,
LinkPreset.About,
{
name: 'GitHub',
url: 'https://github.com/saicaca/fuwari',
external: true,
}
]
}
export const profileConfig: ProfileConfig = {
avatar: 'assets/images/demo-avatar.png',
name: 'Lorem Ipsum',
bio: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
links: [
{
name: 'Twitter',
icon: 'fa6-brands:twitter',
url: 'https://twitter.com',
}, {
name: 'Steam',
icon: 'fa6-brands:steam',
url: 'https://store.steampowered.com',
}, {
name: 'GitHub',
icon: 'fa6-brands:github',
url: 'https://github.com/saicaca/fuwari',
}
]
2023-11-03 14:10:54 +08:00
}
export const licenseConfig: LicenseConfig = {
enable: true,
name: 'CC BY-NC-SA 4.0',
url: 'https://creativecommons.org/licenses/by-nc-sa/4.0/',
}