feat!: add credit configurations for banner image

BREAKING CHANGES: new mandatory fields added in `config.ts`
This commit is contained in:
saicaca
2024-07-27 21:51:32 +08:00
parent f28ad1b8e6
commit 336290a92f
5 changed files with 77 additions and 43 deletions

View File

@@ -18,6 +18,11 @@ export const siteConfig: SiteConfig = {
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, defaults center
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
}
},
favicon: [ // Leave this array empty to use the default favicon
// {