feat!: add credit configurations for banner image

BREAKING CHANGES: new mandatory fields added in `config.ts`
This commit is contained in:
saicaca committed 2024-07-27 22:13:14 +08:00
1 parent f28ad1b8e6
commit 336290a92f
5 files changed
+77 -43

No files matched your search

+5
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
// {