Skip to content

Commit 0fe89e6

Browse files
committed
added campfire segment to blueprint site
1 parent cce0ce0 commit 0fe89e6

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed
131 KB
Loading
1.23 MB
Loading

app/views/home/_announcements.html.erb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<% announcements = [
22
{
3-
title: "Extended Again!",
4-
date: "Program Announcement",
5-
content: "The last day to submit your project is now March 31st, 2026.",
6-
level: :warning
7-
},
8-
{
9-
title: "Campfire Flagship",
3+
title: "Campfire Flagship",
104
date: "Hack Club Event",
115
content: "Curious about game development? Meet your favorite YouTubers including William Osman and Michael Reeves at Hack Club's Campfire Flagship! (Not directly part of Blueprint)",
126
level: :success,
137
cta: { text: "RSVP Now", url: "https://flagship.hackclub.com/?utm_source=c-blueprint" }
148
},
9+
{
10+
title: "BLUEPRINT IS EXTENDED!",
11+
date: "Program Announcement",
12+
content: "Blueprint just got extended again! The last day to submit your projects is now March 31st, 2026. THIS IS THE FINAL EXTENSION.",
13+
level: :warning
14+
},
1515

1616
]
1717
%>

app/views/home/index.html.erb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@
2727
</div>
2828
<% end %>
2929
<% 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>
35+
</div>
36+
<div class="whitespace-nowrap">
37+
<%= render 'shared/button', text: "RSVP Now", url: "https://flagship.hackclub.com/?utm_source=c-blueprint" %>
38+
</div>
39+
<% end %>
3040
<% unless current_user.is_pro %>
3141
<%= 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 %>
3242
<p class="text-2xl md:text-3xl font-rc-full mb-8">Build your first hardware project. Start with Hackpad!</p>

0 commit comments

Comments
 (0)