feat: add option position for banner image (#106)

This commit is contained in:
Lry722
2024-06-10 02:03:57 +08:00
committed by GitHub
parent ce36ba37c5
commit 5868cddcb6
3 changed files with 9 additions and 4 deletions

View File

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