|
27 | 27 | </div> |
28 | 28 | <% end %> |
29 | 29 | <% end %> |
30 | | - <%= render 'shared/card', class: 'py-0 col-span-1 md:col-span-2 border-bp-warning border-2 space-y-0 flex flex-row items-center' do %> |
31 | | - <%= image_tag "campfire_smore.png", alt: "Campfire Smore", class: "w-20 mr-4 -my-4" %> |
32 | | - <%= image_tag "campfire_banner.png", alt: "Campfire Banner", class: "h-20 mr-2 -my-4" %> |
33 | | - <div class="grow mr-4 py-4"> |
34 | | - <p>Hack Club is running a hackathon with Open Sauce! Meet <a href="https://www.youtube.com/c/MichaelReeves" target="_blank" rel="noopener noreferrer" class="text-bp-warning font-semibold">Michael Reeves</a>, <a href="https://www.youtube.com/WilliamOsman" target="_blank" rel="noopener noreferrer" class="text-bp-warning font-semibold">Williams Osman</a>, and more! Get a ticket from the <a href="/toolbag" class="text-bp-warning font-semibold">Blueprint Shop</a> today</p> |
| 30 | + <% if current_user.ysws_verified %> |
| 31 | + <%= render 'shared/card', class: 'py-0 col-span-1 md:col-span-2 border-bp-warning border-2 space-y-0 flex flex-col md:flex-row md:items-center gap-3 md:gap-4' do %> |
| 32 | + <div class="flex items-center gap-2 shrink-0 pt-4 md:pt-0"> |
| 33 | + <%= image_tag "campfire_smore.png", alt: "Campfire Smore", class: "w-16 md:w-20 h-auto md:-my-4" %> |
| 34 | + <%= image_tag "campfire_banner.png", alt: "Campfire Banner", class: "h-12 md:h-20 w-auto md:-my-4" %> |
35 | 35 | </div> |
36 | | - <div class="whitespace-nowrap"> |
| 36 | + <div class="grow min-w-0 px-4 md:px-0 md:py-4"> |
| 37 | + <p class="text-sm md:text-base">Hack Club is running a hackathon with Open Sauce! Meet <a href="https://www.youtube.com/c/MichaelReeves" target="_blank" rel="noopener noreferrer" class="text-bp-warning font-semibold">Michael Reeves</a>, <a href="https://www.youtube.com/WilliamOsman" target="_blank" rel="noopener noreferrer" class="text-bp-warning font-semibold">Williams Osman</a>, and more! Get a ticket from the <a href="/toolbag" class="text-bp-warning font-semibold">Blueprint Shop</a> today</p> |
| 38 | + </div> |
| 39 | + <div class="w-full md:w-auto px-4 pb-4 md:p-0"> |
37 | 40 | <%= render 'shared/button', text: "RSVP Now", url: "https://flagship.hackclub.com/?utm_source=c-blueprint" %> |
38 | 41 | </div> |
39 | 42 | <% end %> |
| 43 | + <% end %> |
40 | 44 | <% unless current_user.is_pro %> |
41 | 45 | <%= render 'shared/card', class: 'col-span-1 md:col-span-2 flex flex-col motion-safe:transition-colors border-2 border-bp-warning border-solid' do %> |
42 | 46 | <p class="text-2xl md:text-3xl font-rc-full mb-8">Build your first hardware project. Start with Hackpad!</p> |
|
0 commit comments