Skip to content

Commit f599d5d

Browse files
committed
feat(ui): make development banner more prominent
オレンジ色のグラデーション背景に白文字と警告アイコンを追加し、 開発中バナーをより目立つようにしました。
1 parent 5b73a5e commit f599d5d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/routes/(site)/+layout.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
{#if showDevBanner}
3030
<div
3131
role="alert"
32-
class="alert fixed top-0 right-0 left-0 z-50 rounded-none border-b border-yellow-600/20 bg-yellow-50 py-3 text-center"
32+
class="alert fixed top-0 right-0 left-0 z-50 rounded-none border-b-2 border-orange-600 bg-gradient-to-r from-orange-500 to-amber-500 py-4 text-center shadow-lg"
3333
>
34-
<span class="font-[JetBrains_Mono,monospace] text-sm text-yellow-900">
35-
このサイトは開発中です
34+
<span class="font-[JetBrains_Mono,monospace] text-base font-semibold text-white drop-shadow-md">
35+
⚠️ このサイトは開発中です
3636
</span>
3737
</div>
3838
{/if}
3939

4040
<nav
41-
class="sticky {showDevBanner ? 'top-12' : 'top-0'} right-0 left-0 z-50 border-b border-zinc-200 bg-white/80 backdrop-blur-md"
41+
class="sticky {showDevBanner ? 'top-14' : 'top-0'} right-0 left-0 z-50 border-b border-zinc-200 bg-white/80 backdrop-blur-md"
4242
>
4343
<div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-6">
4444
<div class="flex items-center gap-4">
@@ -148,7 +148,7 @@
148148
href="https://twitter.com/utokyo_code"
149149
target="_blank"
150150
rel="noopener noreferrer"
151-
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">Twitter</a
151+
class="text-sm text-zinc-500 transition-colors hover:text-zinc-900">X</a
152152
>
153153
</div>
154154
</div>

0 commit comments

Comments
 (0)