From c735556726e75428550a3d28a2cf58e2c8490b7d Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Mon, 21 Jul 2025 21:56:55 +0300 Subject: Initial template --- src/components/widgets/Note.astro | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/widgets/Note.astro (limited to 'src/components/widgets/Note.astro') diff --git a/src/components/widgets/Note.astro b/src/components/widgets/Note.astro new file mode 100644 index 0000000..3594b39 --- /dev/null +++ b/src/components/widgets/Note.astro @@ -0,0 +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; +--- + +
+
+ + + +
+
-- cgit v1.2.3