diff --git a/.demo/content/1.index.md b/.demo/content/1.index.md index 28ff82a..88a6d64 100644 --- a/.demo/content/1.index.md +++ b/.demo/content/1.index.md @@ -82,6 +82,31 @@ navigation.title: 'Home' With a beautiful description ``` +### Theme configuration + +You can configure Content Wind global configuration in the `app.config.ts` file: + +```ts [signature] +interface AppConfigInput { + cover?: string, // default: '/cover.jpg' + socials?: { + twitter?: string + github?: string + } +} +``` + +Example of settings Twitter and GitHub icons in the navbar: + +```ts [app.config.ts] +export default defineAppConfig({ + socials: { + twitter: 'Atinux', + github: 'Atinux/content-wind' + } +}) +``` + ### Icons Use any icon from [icones.js.org](https://icones.js.org) with the `` component: