diff --git a/components/Avatar.vue b/components/Avatar.vue index bb1b48c..3765b48 100644 --- a/components/Avatar.vue +++ b/components/Avatar.vue @@ -1,10 +1,11 @@ - + loading = status === 'loading'"> - + + {{ text }} @@ -16,5 +17,6 @@ const { src, icon, text } = defineProps<{ src: string icon?: string text?: string -}>(); +}>(); +const loading = ref(true); \ No newline at end of file diff --git a/components/Collapsible.vue b/components/Collapsible.vue index 9b874c7..4425838 100644 --- a/components/Collapsible.vue +++ b/components/Collapsible.vue @@ -10,7 +10,7 @@ - + diff --git a/components/Loading.vue b/components/Loading.vue index d77af97..6047929 100644 --- a/components/Loading.vue +++ b/components/Loading.vue @@ -1,3 +1,9 @@ - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/components/Toast.vue b/components/Toast.vue index 6a5b84a..a0b5cec 100644 --- a/components/Toast.vue +++ b/components/Toast.vue @@ -1,8 +1,11 @@ - - {{ title }} - × - {{ content }} + + + {{ title }} + × + {{ content }} + + @@ -11,11 +14,12 @@ diff --git a/pages/index.vue b/pages/index.vue index eaff0f5..0b3e6eb 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,12 @@ @@ -7,8 +14,7 @@ const open = ref(false), username = ref(""), price = ref(750), disabled = ref(fa Accueil - - + @@ -18,23 +24,12 @@ const open = ref(false), username = ref(""), price = ref(750), disabled = ref(fa - - - Texte - - - - Dice[any] - - - - - - - Contenu special - - - + + loading = true"> + Load data + + + \ No newline at end of file