Cristiano Magro
2025-01-05 30949bb4a4b22fef5119f04c3e3276c42aaab085
09 - deeper into components/cmp-adv-01-starting-setup/src/components/UserInfo.vue
@@ -1,11 +1,13 @@
<template>
  <section>
    <base-card>
      <header>
      <template v-slot:header>
        <h3>{{ fullName }}</h3>
        <base-badge :type="role" :caption="role.toUpperCase()"></base-badge>
      </header>
      </template>
      <template v-slot:default>
      <p>{{ infoText }}</p>
      </template>
    </base-card>
  </section>
</template>
@@ -17,7 +19,6 @@
</script>
<style scoped>
section header {
  display: flex;
  justify-content: space-between;