From 0ff501d4aa28b64a11a3d9a6101e3f997a9e9795 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Tue, 07 Jan 2025 18:29:08 +0100
Subject: [PATCH] teleport per spostare il dialog in una posizione consona nel DOM

---
 10 - course project/xno-prj-cmp-01-starting-setup/src/components/layouts/TheHeader.vue |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/10 - course project/xno-prj-cmp-01-starting-setup/src/components/layouts/TheHeader.vue b/10 - course project/xno-prj-cmp-01-starting-setup/src/components/layouts/TheHeader.vue
new file mode 100644
index 0000000..4ba82fc
--- /dev/null
+++ b/10 - course project/xno-prj-cmp-01-starting-setup/src/components/layouts/TheHeader.vue
@@ -0,0 +1,27 @@
+<template>
+  <header>
+    <h1>{{ title }}</h1>
+  </header>
+</template>
+
+<script>
+export default {
+  props: ['title'],
+};
+</script>
+
+<style scoped>
+header {
+  width: 100%;
+  height: 5rem;
+  background-color: #640032;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+header h1 {
+  color: white;
+  margin: 0;
+}
+</style>

--
Gitblit v1.8.0