Skip to content

Commit 11d7d4e

Browse files
committed
モバイルの navbar に「参加申込」ボタンを追加
1 parent ec62894 commit 11d7d4e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

_includes/header.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ <h1 class="xl:block hidden mx-auto max-w-lg pt-5 px-8">
66

77
<div class="fixed xl:hidden left-0 top-7 z-10 flex w-screen min-h-18 justify-center">
88
<div
9-
class="flex flex-col h-full w-[calc(100%-60px)] items-stretch rounded-[10px] bg-[#f5f5f5] px-5 py-3 shadow-[7px_7px_10px_rgba(125,125,125,0.15)] inset-shadow-[0px_-2px_10px_rgba(125,125,125,0.25)]">
9+
class="flex flex-col h-full w-[calc(100%-60px)] items-stretch rounded-[10px] bg-[#f5f5f5] py-3 pl-4 pr-3 shadow-[7px_7px_10px_rgba(125,125,125,0.15)] inset-shadow-[0px_-2px_10px_rgba(125,125,125,0.25)]">
1010
<div class="flex items-center justify-between gap-2">
1111
<a href="/" class="flex h-full items-center">
1212
<img src="/img/common/header-logo.webp" class="w-full max-w-[250px] max-h-full"
1313
alt="DojoCon Japan 2025 Inspire Next." />
1414
</a>
15-
<button id="menu-btn" type="button" aria-label="メニューを開く"
16-
class="flex p-2 shrink-0 flex-col items-center justify-center rounded border border-gray-300 bg-white cursor-pointer">
17-
<i class="fa-solid fa-bars"></i>
18-
</button>
15+
<div class="flex items-cetner gap-x-2 shrink-0">
16+
<div class="px-3 py-2 rounded-sm text-center bg-[#cc8f2e] text-[#f5f5f5] justify-center">
17+
<a href="/registration/">参加申込</a>
18+
</div>
19+
<button id="menu-btn" type="button" aria-label="メニューを開く"
20+
class="flex p-2 size-10 shrink-0 flex-col items-center justify-center rounded border border-gray-300 bg-white cursor-pointer">
21+
<i class="fa-solid fa-bars"></i>
22+
</button>
23+
</div>
1924
</div>
2025
<nav id="menu-nav" class="hidden my-2 flex-col items-stretch transition-all duration-300">
2126
<ul

0 commit comments

Comments
 (0)