diff --git a/src/components/widgets/Note.astro b/src/components/widgets/Note.astro index 6543b4f..0ba65f1 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 16a9be4..95a607a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -52,7 +52,7 @@ const metadata = { - +