Skip to content

Commit 55cc65e

Browse files
committed
feat: チケット販売開始のリンクを追加
1 parent a11b47e commit 55cc65e

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

2025/src/components/Top.astro

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import VimLogo from "./VimLogo.astro";
3+
import { ExternalLink } from "@lucide/astro";
34
---
45

56
<section
@@ -34,15 +35,30 @@ import VimLogo from "./VimLogo.astro";
3435
</p>
3536
</div>
3637
</div>
37-
<div class="flex flex-col items-center justify-center gap-3 sm:flex-row">
38+
<div
39+
class="mb-6 inline-flex items-center rounded-full bg-gradient-to-r from-emerald-500 to-green-500 px-6 py-3 text-white"
40+
>
41+
<span class="text-sm font-bold md:text-base"
42+
>🎉 チケット販売開始! 🎉</span
43+
>
44+
</div>
45+
<div
46+
class="mb-8 flex flex-col items-center justify-center gap-3 sm:flex-row"
47+
>
3848
<button
3949
class="inline-flex h-10 w-auto items-center justify-center gap-2 rounded-md border border-emerald-600 bg-background px-4 py-2 text-sm font-medium whitespace-nowrap text-emerald-700 ring-offset-background transition-colors hover:bg-emerald-50 hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
4050
><a href="#cfp">プロポーザルを提出する</a></button
4151
>
4252
<button
43-
disabled
44-
class="inline-flex h-10 w-auto items-center justify-center gap-2 rounded-md bg-emerald-600 px-4 py-2 text-sm font-medium whitespace-nowrap text-primary-foreground ring-offset-background transition-colors hover:bg-emerald-700 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
45-
>参加登録</button
53+
class="inline-flex h-10 items-center justify-center gap-2 rounded-md bg-emerald-600 px-4 py-2 text-sm font-medium whitespace-nowrap text-primary-foreground ring-offset-background transition-colors hover:bg-emerald-700 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
54+
><a
55+
class="flex"
56+
href="https://peatix.com/event/4468402/view"
57+
target="_blank"
58+
rel="noopener"
59+
>参加登録
60+
<ExternalLink class="ml-2 h-4 w-4" />
61+
</a></button
4662
><button
4763
disabled
4864
class="inline-flex h-10 w-auto items-center justify-center gap-2 rounded-md border border-emerald-600 bg-background px-4 py-2 text-sm font-medium whitespace-nowrap text-emerald-700 ring-offset-background transition-colors hover:bg-emerald-50 hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"

0 commit comments

Comments
 (0)