|
1 | | -<div class="text-center shadow-lg rounded-box mx-auto py-8 my-4"> |
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"> |
| 9 | + Ruby Conf Africa 2025 🔗 |
| 10 | + <p class="mt-4 text-white text-lg md:text-lg font-medium">Join the largest Ruby conference in Africa!</p> |
| 11 | + </span> |
| 12 | + </div> |
| 13 | + <% end %> |
| 14 | + </div> |
| 15 | + </div> |
5 | 16 | </div> |
6 | 17 |
|
7 | 18 | <div class="grid md:grid-cols-2 pt-10 pb-10 gap-10"> |
8 | 19 | <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> |
| 20 | + <h1 class="text-5xl font-semibold capitalize text-red-600 leading-[60px]"> |
| 21 | + African Ruby Community |
| 22 | + </h1> |
10 | 23 |
|
11 | 24 | <p class="text-base sm:w-3/4 leading-7 text-black font-normal"> |
12 | 25 | A community organization that seeks to promote computer software programming skills with |
|
17 | 30 | <button class="btn btn-primary rounded-full py-4 px-8 text-white flex justify-center items-center gap-2"> |
18 | 31 | <span>Join Us</span> |
19 | 32 | <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 |
| 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 |
22 | 35 | 11-1.02-1.1l2.1-1.95H2.75A.75.75 0 012 10z" clip-rule="evenodd"/> |
23 | 36 | </svg> |
24 | 37 | </button> |
25 | 38 | <% end %> |
26 | 39 | </div> |
27 | 40 |
|
28 | 41 | <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"> |
30 | | - <p class="text-5xl font-bold"> 5000 + </p> |
| 42 | + <div class="bg-red-600 text-white rounded-lg p-10 md:w-56 md:h-32 w-64 h-40 text flex flex-col gap-3 justify-center items-center hover:scale-105 transition-transform duration-300"> |
| 43 | + <p class="text-5xl font-bold">5000 +</p> |
31 | 44 | <p class="text-sm font-semibold">Members across East Africa</p> |
32 | 45 | </div> |
33 | | - <div class="rounded-lg lg:-ml-20"> |
| 46 | + <div class="rounded-lg lg:-ml-20 hover:scale-105 transition-transform duration-300"> |
34 | 47 | <%= image_tag 'developers.jpg', class: 'w-full lg:h-[110%] object-cover rounded-lg lg:rounded-tr-full' %> |
35 | 48 | </div> |
36 | | - <div class="lg:-mt-28 rounded-lg"> |
37 | | - <%= image_tag 'conference.jpg', class: 'w-full h-full object-cover rounded-lg lg:rounded-bl-full' %> |
| 49 | + <div class="lg:-mt-28 rounded-lg hover:scale-105 transition-transform duration-300"> |
| 50 | + <%= image_tag 'conference.jpg', class: 'w-full h-full object-cover rounded-lg lg:rounded-bl-full' %> |
38 | 51 | </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"> |
| 52 | + <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 | 53 | <p class="text-5xl font-bold"> |
41 | 54 | <%= Time.now.year - 2010 %> + |
42 | 55 | </p> |
|
45 | 58 | </p> |
46 | 59 | </div> |
47 | 60 | </div> |
48 | | - |
49 | 61 | </div> |
50 | | - |
|
0 commit comments