diff --git a/src/assets/images/banner.jpg b/src/assets/images/banner.jpg new file mode 100644 index 00000000..efe07c5e Binary files /dev/null and b/src/assets/images/banner.jpg differ diff --git a/src/assets/images/demo-banner.png b/src/assets/images/demo-banner.png index f8c03106..f58365be 100644 Binary files a/src/assets/images/demo-banner.png and b/src/assets/images/demo-banner.png differ diff --git a/src/config.ts b/src/config.ts index b0de7705..816375c3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -8,36 +8,35 @@ import type { import { LinkPreset } from "./types/config"; export const siteConfig: SiteConfig = { - title: "Fuwari", - subtitle: "Demo Site", - lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th' - themeColor: { - 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 - }, - banner: { - enable: false, - 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 - credit: { - enable: false, // Display the credit text of the banner image - text: "", // Credit text to be displayed - url: "", // (Optional) URL link to the original artwork or artist's page - }, - }, - toc: { - 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 - }, - favicon: [ - // Leave this array empty to use the default favicon - // { - // 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 - // sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes - // } - ], -}; + title: 'Fuwari', + subtitle: 'Demo Site', + lang: 'en', // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko' + themeColor: { + 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 + }, + banner: { + enable: true, + 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 + credit: { + enable: true, // Display the credit text of the banner image + text: '空色天絵 / NEO TOKYO NOIR 01', // Credit text to be displayed + url: 'https://www.pixiv.net/artworks/111024784' // (Optional) URL link to the original artwork or artist's page + } + }, + toc: { + 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 + }, + favicon: [ // Leave this array empty to use the default favicon + // { + // 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 + // sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes + // } + ] +} export const navBarConfig: NavBarConfig = { links: [