Skip to content

Commit 472686e

Browse files
committed
Refactor app.vue layout to improve component structure
- Wrapped ProjectSwitcherBar and UBanner components in a sticky div for better UI consistency. - Moved AppHeader component inside the new sticky div to maintain layout integrity.
1 parent 850674f commit 472686e

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

docs/app/app.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
<UApp>
33
<NuxtLoadingIndicator />
44

5-
<ProjectSwitcherBar />
6-
7-
<UBanner
8-
icon="i-lucide-zap"
9-
title="Zero-downtime deployments to any VPS — one purchase, unlimited deploys with Spin Pro"
10-
to="https://getspin.pro/?ref=docker-php"
11-
color="primary"
12-
class="text-white bg-linear-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700"
13-
target="_blank"
14-
/>
5+
<div class="sticky top-0 z-50">
6+
<ProjectSwitcherBar />
157

16-
<AppHeader />
8+
<UBanner
9+
icon="i-lucide-zap"
10+
title="Zero-downtime deployments to any VPS — one purchase, unlimited deploys with Spin Pro"
11+
to="https://getspin.pro/?ref=docker-php"
12+
color="primary"
13+
class="text-white bg-linear-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700"
14+
target="_blank"
15+
/>
16+
17+
<AppHeader />
18+
</div>
1719

1820
<UMain class="bg-black">
1921
<NuxtLayout>

0 commit comments

Comments
 (0)