From eb387dbd90a2a891ee5ee4458e32cccb460fd9b1 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Mon, 06 Jan 2025 18:15:48 +0100
Subject: [PATCH] first components e props

---
 09 - deeper into components/cmp-adv-04-named-slots/src/components/BadgeList.vue |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/09 - deeper into components/cmp-adv-04-named-slots/src/components/BadgeList.vue b/09 - deeper into components/cmp-adv-04-named-slots/src/components/BadgeList.vue
new file mode 100644
index 0000000..4be9746
--- /dev/null
+++ b/09 - deeper into components/cmp-adv-04-named-slots/src/components/BadgeList.vue
@@ -0,0 +1,37 @@
+<template>
+  <section>
+    <base-card>
+      <template v-slot:header>
+        <h2>Available Badges</h2>
+      </template>
+      <template v-slot:default>
+        <ul>
+          <li>
+            <base-badge type="admin" caption="ADMIN"></base-badge>
+          </li>
+          <li>
+            <base-badge type="author" caption="AUTHOR"></base-badge>
+          </li>
+        </ul>
+      </template>
+    </base-card>
+  </section>
+</template>
+
+<style scoped>
+section h2 {
+  margin: 0.5rem 0;
+  color: #3a3a3a;
+}
+ul {
+  list-style: none;
+  margin: 0;
+  padding: 0;
+  display: flex;
+  flex-direction: row;
+}
+
+li {
+  margin-right: 1rem;
+}
+</style>
\ No newline at end of file

--
Gitblit v1.8.0