|
1 | | -<div class="text-center shadow-lg rounded-box mx-auto"> |
2 | | - <a href="https://rubyconf.africa" title="Click to visit Ruby Conf Africa 2025" class="btn btn-lg btn-primary btn-block text-xl sm:text-l font-extrabold flex items-center justify-center space-x-3 underline decoration-dashed hover:decoration-solid"> |
3 | | - <span class="text-xl font-bold tracking-wide">Ruby Conf Africa 2025 🔗</span> |
4 | | - </a> |
| 1 | +<div class="text-center rounded-box mx-auto relative"> |
| 2 | + <div class="relative"> |
| 3 | + <%= image_tag 'intro-landing.jpg', alt: "Ruby Conf Africa 2025", class: "w-full object-cover rounded-lg" %> |
| 4 | + <div class="absolute inset-0 bg-black bg-opacity-40 rounded-lg"></div> |
| 5 | + <div class="absolute inset-0 flex items-center justify-center"> |
| 6 | + <%= link_to "https://rubyconf.africa", title: "Click to visit Ruby Conf Africa 2025", class: "block relative z-10" do %> |
| 7 | + <div class="text-center"> |
| 8 | + <span class="text-2xl md:text-4xl font-extrabold text-white bg-red-600 bg-opacity-90 px-6 py-3 rounded-lg shadow-lg inline-block transform hover:scale-105 transition-transform duration-300 sm:inline-block group-hover:inline-block"> |
| 9 | + Ruby Conf Africa 2025 🔗 |
| 10 | + <p class="mt-4 text-white text-lg md:text-lg font-medium hidden sm:block">Join the largest Ruby conference in Africa!</p> |
| 11 | + </span> |
| 12 | + <% end %> |
| 13 | + </div> |
| 14 | + </div> |
5 | 15 | </div> |
6 | 16 |
|
7 | 17 | <div class="grid md:grid-cols-2 pt-10 pb-10 gap-10"> |
8 | | - <div class="md:pt-12 md:px-12 flex flex-col gap-8"> |
9 | | - <h1 class="text-5xl font-semibold capitalize text-red-600 leading-[60px]">African Ruby Community</h1> |
| 18 | + <div class="md:pt-12 md:px-12 flex flex-col gap-8 text-center md:text-left"> |
| 19 | + <h1 class="text-5xl font-semibold capitalize text-red-600 leading-[60px]"> |
| 20 | + African Ruby Community |
| 21 | + </h1> |
10 | 22 |
|
11 | | - <p class="text-base sm:w-3/4 leading-7 text-black font-normal"> |
| 23 | + <p class="text-base sm:w-3/4 leading-7 text-black font-normal mx-auto md:mx-0"> |
12 | 24 | A community organization that seeks to promote computer software programming skills with |
13 | 25 | the Ruby programming language. |
14 | 26 | </p> |
15 | 27 |
|
16 | | - <%= link_to new_user_registration_path do %> |
17 | | - <button class="btn btn-primary rounded-full py-4 px-8 text-white flex justify-center items-center gap-2"> |
18 | | - <span>Join Us</span> |
19 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4"> |
20 | | - <path fill-rule="evenodd" d="M2 10a.75.75 0 01.75-.75h12.59l-2.1-1.95a.75.75 0 |
21 | | - 111.02-1.1l3.5 3.25a.75.75 0 010 1.1l-3.5 3.25a.75.75 0 |
22 | | - 11-1.02-1.1l2.1-1.95H2.75A.75.75 0 012 10z" clip-rule="evenodd"/> |
23 | | - </svg> |
24 | | - </button> |
25 | | - <% end %> |
| 28 | + <div class="flex justify-center md:justify-start"> |
| 29 | + <%= link_to new_user_registration_path do %> |
| 30 | + <button class="btn btn-primary rounded-full py-4 px-8 text-white flex justify-center items-center gap-2"> |
| 31 | + <span>Join Us</span> |
| 32 | + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4"> |
| 33 | + <path fill-rule="evenodd" d="M2 10a.75.75 0 01.75-.75h12.59l-2.1-1.95a.75.75 0 |
| 34 | + 111.02-1.1l3.5 3.25a.75.75 0 010 1.1l-3.5 3.25a.75.75 0 |
| 35 | + 11-1.02-1.1l2.1-1.95H2.75A.75.75 0 012 10z" clip-rule="evenodd"/> |
| 36 | + </svg> |
| 37 | + </button> |
| 38 | + <% end %> |
| 39 | + </div> |
26 | 40 | </div> |
27 | 41 |
|
28 | 42 | <div class="grid lg:grid-cols-2 grid-cols-1 lg:gap-0 gap-5 lg:-ml-10"> |
29 | | - <div class="bg-red-600 text-white rounded-lg p-10 w-64 h-40 text flex flex-col gap-3 justify-center items-center"> |
| 43 | + <div class="bg-red-600 text-white rounded-lg p-10 w-76 h-40 text flex flex-col gap-3 justify-center items-center hover:scale-105 transition-transform duration-300"> |
30 | 44 | <p class="text-5xl font-bold"> 5000 + </p> |
31 | 45 | <p class="text-sm font-semibold">Members across East Africa</p> |
32 | 46 | </div> |
33 | | - <div class="rounded-lg lg:-ml-20"> |
| 47 | + <div class="rounded-lg lg:-ml-20 hover:scale-105 transition-transform duration-300"> |
34 | 48 | <%= image_tag 'developers.jpg', class: 'w-full lg:h-[110%] object-cover rounded-lg lg:rounded-tr-full' %> |
35 | 49 | </div> |
36 | | - <div class="lg:-mt-28 rounded-lg"> |
| 50 | + <div class="lg:-mt-28 rounded-lg hover:scale-105 transition-transform duration-300"> |
37 | 51 | <%= image_tag 'conference.jpg', class: 'w-full h-full object-cover rounded-lg lg:rounded-bl-full' %> |
38 | 52 | </div> |
39 | | - <div class="bg-red-600 text-white rounded-lg lg:rounded-bl-none lg:rounded-tl-none lg:rounded-tr-none p-10 w-76 h-40 text flex flex-col gap-3 justify-center items-center lg:mt-6"> |
| 53 | + <div class="bg-red-600 text-white rounded-lg lg:rounded-bl-none lg:rounded-tl-none lg:rounded-tr-none p-10 w-76 h-40 text flex flex-col gap-3 justify-center items-center lg:mt-6 hover:scale-105 transition-transform duration-300"> |
40 | 54 | <p class="text-5xl font-bold"> |
41 | 55 | <%= Time.now.year - 2010 %> + |
42 | 56 | </p> |
|
45 | 59 | </p> |
46 | 60 | </div> |
47 | 61 | </div> |
48 | | - |
49 | 62 | </div> |
50 | | - |
|
0 commit comments