|
1 | 1 | <template> |
2 | | - <div class="relative"> |
3 | | - <!-- Video Background --> |
4 | | - <div class="absolute inset-0 z-0 overflow-hidden"> |
5 | | - <video class="w-full h-full object-cover" autoplay muted loop poster="~/assets/videos/video.jpg"> |
6 | | - <source src="~/assets/videos/video.mp4" type="video/mp4"> |
7 | | - <track label="English" kind="subtitles" srclang="en" src="/_nuxt/assets/videos/video.en.vtt" default=""> |
8 | | - </video> |
9 | | - <div class="absolute inset-0 bg-black bg-opacity-50"></div> |
10 | | - </div> |
11 | | - |
12 | | - <!-- Content --> |
13 | | - <div class="relative z-10 max-w-6xl mx-auto px-4 py-24 text-center"> |
14 | | - <img src="~/assets/img/logo-square.svg" alt="Code for Philly" class="h-48 mx-auto mb-8"> |
15 | | - <div class="max-w-2xl mx-auto"> |
16 | | - <h1 class="text-2xl font-bold text-white mb-2"> |
| 2 | + <div class="max-w-6xl mx-auto px-4 py-12"> |
| 3 | + <div class="grid md:grid-cols-2 gap-8 items-center"> |
| 4 | + <!-- Content --> |
| 5 | + <div class="text-center md:text-left"> |
| 6 | + <img src="~/assets/img/logo-square.svg" alt="Code for Philly" class="h-32 mx-auto md:mx-0 mb-8"> |
| 7 | + <h1 class="text-2xl font-bold text-blue-700 mb-2"> |
17 | 8 | Contribute towards technology-related projects that benefit the City of Philadelphia. |
18 | 9 | </h1> |
19 | | - <p class="text-xl text-white mb-6"> |
| 10 | + <p class="text-xl text-red-600 mb-6"> |
20 | 11 | No coding experience required. |
21 | 12 | </p> |
22 | 13 | <button class="bg-red-600 text-white px-6 py-2 rounded hover:bg-red-700"> |
23 | 14 | Volunteer! |
24 | 15 | </button> |
25 | 16 | </div> |
| 17 | + |
| 18 | + <!-- Video --> |
| 19 | + <div class="relative aspect-video overflow-hidden rounded-lg shadow-xl"> |
| 20 | + <video class="w-full h-full object-cover" autoplay muted loop poster="~/assets/videos/video.jpg"> |
| 21 | + <source src="~/assets/videos/video.mp4" type="video/mp4"> |
| 22 | + <track label="English" kind="subtitles" srclang="en" src="/_nuxt/assets/videos/video.en.vtt" default=""> |
| 23 | + </video> |
| 24 | + </div> |
26 | 25 | </div> |
27 | 26 | </div> |
28 | 27 | </template> |
0 commit comments