mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 06:42:53 +01:00
chore: add demo contents
This commit is contained in:
BIN
src/assets/images/banner.jpg
Normal file
BIN
src/assets/images/banner.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 877 KiB After Width: | Height: | Size: 2.1 MiB |
@@ -8,36 +8,35 @@ import type {
|
|||||||
import { LinkPreset } from "./types/config";
|
import { LinkPreset } from "./types/config";
|
||||||
|
|
||||||
export const siteConfig: SiteConfig = {
|
export const siteConfig: SiteConfig = {
|
||||||
title: "Fuwari",
|
title: 'Fuwari',
|
||||||
subtitle: "Demo Site",
|
subtitle: 'Demo Site',
|
||||||
lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th'
|
lang: 'en', // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko'
|
||||||
themeColor: {
|
themeColor: {
|
||||||
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
|
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
|
||||||
fixed: false, // Hide the theme color picker for visitors
|
fixed: false, // Hide the theme color picker for visitors
|
||||||
},
|
},
|
||||||
banner: {
|
banner: {
|
||||||
enable: false,
|
enable: true,
|
||||||
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
|
src: 'assets/images/demo-banner.png', // Relative to the /src directory. Relative to the /public directory if it starts with '/'
|
||||||
position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
|
position: 'center', // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
|
||||||
credit: {
|
credit: {
|
||||||
enable: false, // Display the credit text of the banner image
|
enable: true, // Display the credit text of the banner image
|
||||||
text: "", // Credit text to be displayed
|
text: '空色天絵 / NEO TOKYO NOIR 01', // Credit text to be displayed
|
||||||
url: "", // (Optional) URL link to the original artwork or artist's page
|
url: 'https://www.pixiv.net/artworks/111024784' // (Optional) URL link to the original artwork or artist's page
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
toc: {
|
toc: {
|
||||||
enable: true, // Display the table of contents on the right side of the post
|
enable: true, // Display the table of contents on the right side of the post
|
||||||
depth: 2, // Maximum heading depth to show in the table, from 1 to 3
|
depth: 2 // Maximum heading depth to show in the table, from 1 to 3
|
||||||
},
|
},
|
||||||
favicon: [
|
favicon: [ // Leave this array empty to use the default favicon
|
||||||
// Leave this array empty to use the default favicon
|
// {
|
||||||
// {
|
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
|
||||||
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
|
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
|
||||||
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
|
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
|
||||||
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
|
// }
|
||||||
// }
|
]
|
||||||
],
|
}
|
||||||
};
|
|
||||||
|
|
||||||
export const navBarConfig: NavBarConfig = {
|
export const navBarConfig: NavBarConfig = {
|
||||||
links: [
|
links: [
|
||||||
|
|||||||
Reference in New Issue
Block a user