diff --git a/src/components/widgets/Note.astro b/src/components/widgets/Note.astro index 6543b4f0a3..3594b39ab7 100644 --- a/src/components/widgets/Note.astro +++ b/src/components/widgets/Note.astro @@ -1,11 +1,23 @@ --- import { Icon } from 'astro-icon/components'; + +export interface Props { + icon?: string; + title?: string; + description?: string; +} + +const { + icon = 'tabler:info-square', + title = await Astro.slots.render('title'), + description = await Astro.slots.render('description'), +} = Astro.props; ---
- - Philosophy: Simplicity, Best Practices and High Performance + + +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 16a9be4797..95a607a9ae 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -52,7 +52,7 @@ const metadata = { - +