|
2 | 2 | import { ArrowRight } from "lucide-svelte"; |
3 | 3 | </script> |
4 | 4 |
|
5 | | -<section class="bg-white py-32"> |
6 | | - <div class="mx-auto max-w-6xl px-6"> |
7 | | - <div class="mx-auto max-w-4xl text-center"> |
8 | | - <div class="mb-6 font-mono text-sm font-medium uppercase tracking-widest text-primary">SINCE 2019</div> |
| 5 | +<!-- Full-height hero with background image --> |
| 6 | +<section class="relative h-screen"> |
| 7 | + <img |
| 8 | + src="/images/headers/hero.jpg" |
| 9 | + alt="" |
| 10 | + class="absolute inset-0 h-full w-full object-cover" |
| 11 | + /> |
9 | 12 |
|
10 | | - <h1 class="mb-8 text-5xl font-bold leading-tight text-zinc-900 sm:text-6xl lg:text-7xl"> |
11 | | - Build the <span class="text-primary">Future</span><br /> |
12 | | - with Code<span class="text-primary">;</span> |
13 | | - </h1> |
14 | | - |
15 | | - <p class="mb-4 text-xl leading-relaxed text-zinc-600"> |
16 | | - 東京大学のソフトウェアエンジニアリングサークル。 |
17 | | - </p> |
18 | | - <p class="mb-12 text-lg font-medium leading-relaxed text-zinc-700"> |
19 | | - 学生が実際にプロダクトを作り、世に届ける。 |
20 | | - </p> |
21 | | - |
22 | | - <div class="flex flex-col items-center justify-center gap-4 sm:flex-row"> |
23 | | - <a |
24 | | - href="/join" |
25 | | - class="group inline-flex items-center gap-2 rounded-lg bg-primary px-8 py-4 font-semibold text-white shadow-lg transition-all hover:shadow-xl focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2" |
26 | | - > |
27 | | - <span>参加する</span> |
28 | | - <ArrowRight class="h-5 w-5 transition-transform group-hover:translate-x-1" /> |
29 | | - </a> |
30 | | - <a |
31 | | - href="/projects" |
32 | | - class="group inline-flex items-center gap-2 rounded-lg bg-zinc-900 px-8 py-4 font-semibold text-white transition-all hover:bg-zinc-800 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2" |
33 | | - > |
34 | | - プロジェクトを見る |
35 | | - <ArrowRight class="h-5 w-5 transition-transform group-hover:translate-x-1" /> |
36 | | - </a> |
37 | | - </div> |
| 13 | + <div class="absolute top-[40%] left-6 mr-6 max-w-lg bg-white p-8 shadow-xl md:left-10"> |
| 14 | + <h1 class="text-2xl font-bold text-zinc-900 md:text-3xl"> |
| 15 | + 東京大学のソフトウェア開発サークル |
| 16 | + </h1> |
| 17 | + <p class="prose mt-4 text-zinc-600"> |
| 18 | + ut.code(); は、2019 |
| 19 | + 年に発足した東京大学のソフトウェアエンジニアリングコミュニティ・プログラミングサークルです。 |
| 20 | + プログラミングの学習・教育から、実社会で役立つソフトウェア製作まで、幅広い活動を行っています。 |
| 21 | + </p> |
| 22 | + <div class="mt-8 flex flex-wrap gap-4"> |
| 23 | + <a |
| 24 | + href="/join" |
| 25 | + class="group inline-flex items-center gap-2 rounded-lg bg-primary px-6 py-3 font-semibold text-white shadow-lg transition-all hover:shadow-xl focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2" |
| 26 | + > |
| 27 | + <span>参加する</span> |
| 28 | + <ArrowRight class="h-5 w-5 transition-transform group-hover:translate-x-1" /> |
| 29 | + </a> |
| 30 | + <a |
| 31 | + href="/projects" |
| 32 | + class="group inline-flex items-center gap-2 rounded-lg bg-zinc-900 px-6 py-3 font-semibold text-white transition-all hover:bg-zinc-800 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2" |
| 33 | + > |
| 34 | + プロジェクトを見る |
| 35 | + <ArrowRight class="h-5 w-5 transition-transform group-hover:translate-x-1" /> |
| 36 | + </a> |
38 | 37 | </div> |
39 | 38 | </div> |
40 | 39 | </section> |
0 commit comments