mirror of
https://github.com/rjNemo/meal_planner
synced 2026-06-06 02:26:49 +00:00
feat: Add skeleton loading state for recipe details page
feat: Add detailed skeleton loading state matching recipe layout
This commit is contained in:
parent
e5ede6f01a
commit
045d118b3f
1 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,11 @@ useSeoMeta({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div v-if="status !== 'success'">Loading</div>
|
||||
<div v-if="status !== 'success'" class="container mx-auto px-4 lg:px-8">
|
||||
<span
|
||||
class="loading loading-bars loading-lg flex justify-center items-center min-h-screen mx-auto"
|
||||
/>
|
||||
</div>
|
||||
<section v-else>
|
||||
<Recipe :recipe="recipe!" />
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in a new issue