Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,23 @@ class ApplicationMailer < ActionMailer::Base
default from: "UNICEF StartUp Lab Hack <hack25@devcongress.io>"
layout "mailer"

def self.hack_name
"The UNICEF StartUp Lab Hack"
end

def self.event_date
"Thursday, November 12, 2025"
end

def self.event_time
"2pm GMT"
end

def self.location
"[TBD]"
end

def self.location_map
"[TBD]"
end
end
10 changes: 3 additions & 7 deletions app/views/homepage/contact.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@
<div>
<dt class="text-lg font-semibold text-gray-900">What if I don't have a team?</dt>
<dd class="mt-2 text-gray-600">
No worries! You can also join our DevCongress on
<a class="text-blue-500" href="https://devcongress-community.slack.com/join/shared_invite/zt-274ooe0gj-CHhsbe78Ez6g0yRG0EQ8rQ#/shared-invite/email" target="_blank">
Slack
</a>
or on
<a class="text-blue-500" href="https://x.com/i/communities/1880201715611308114" target="_blank">
X
No worries! You can also join our StartupLabs Community on
<a class="text-blue-500" href="https://discord.gg/JGM7aYdGEX" target="_blank">
Discord
</a>
to connect with other participants before the event.
</dd>
Expand Down
5 changes: 2 additions & 3 deletions app/views/homepage/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@
Our Partners
</h2>
<p class="mt-4 text-lg text-gray-600">
Collaborating with industry leaders to empower the next generation of
fintech innovators
Collaborating with industry leaders to empower the next generation of innovators
</p>
</div>
<!-- Partners Grid -->
Expand Down Expand Up @@ -212,7 +211,7 @@
Interested in becoming a partner?
</h3>
<p class="mt-2 text-gray-600">
Join us in shaping the future of finance technology in Africa
Join us in building a better future for children in Ghana
</p>
<%= link_to "Contact Us About Partnership",
contact_path,
Expand Down
10 changes: 5 additions & 5 deletions app/views/invitations/confirm.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Theme Badge -->
<div class="mt-6">
<span class="inline-flex items-center rounded-full bg-primary-100 px-4 py-1 text-base font-medium text-primary-700">
Imagining the Future of Finance with AI
Transform Education. Empower Voices. Build the Future
</span>
</div>

Expand All @@ -33,7 +33,7 @@
</svg>
<div>
<h3 class="font-semibold text-gray-900">When</h3>
<p class="mt-1 text-gray-600">March 14-16, 2025</p>
<p class="mt-1 text-gray-600">November 14-16, 2025</p>
</div>
</div>

Expand All @@ -44,7 +44,7 @@
</svg>
<div>
<h3 class="font-semibold text-gray-900">Where</h3>
<p class="mt-1 text-gray-600">Academic City Campus</p>
<p class="mt-1 text-gray-600">UNICEF Ghana</p>
</div>
</div>
</div>
Expand All @@ -56,7 +56,7 @@
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-primary-600" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<div class="text-xl font-semibold text-primary-800">₵30,000+ in Prizes</div>
<div class="text-xl font-semibold text-primary-800">$15,000 in Prizes</div>
</div>
</div>

Expand Down Expand Up @@ -87,4 +87,4 @@
</div>
</div>
</div>
</div>
</div>
18 changes: 5 additions & 13 deletions app/views/invitations/invalid.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,12 @@

<!-- Community Links -->
<div class="flex flex-col sm:flex-row items-center gap-4 text-sm text-gray-600">
<a href="https://devcongress-community.slack.com/join/shared_invite/zt-274ooe0gj-CHhsbe78Ez6g0yRG0EQ8rQ#/shared-invite/email"
<a href="https://discord.gg/JGM7aYdGEX"
class="flex items-center space-x-2 hover:text-gray-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/>
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 24 24" id="discord" data-name="Flat Color" xmlns="http://www.w3.org/2000/svg" class="icon flat-color">
<path id="primary" d="M20.11,6.25A2,2,0,0,0,18.9,5.06,24.45,24.45,0,0,0,12,4,24.45,24.45,0,0,0,5.1,5.06,2,2,0,0,0,3.89,6.25,30.79,30.79,0,0,0,2,16.67a1.08,1.08,0,0,0,.21.62A8.31,8.31,0,0,0,7.93,20a1,1,0,0,0,1-.7l.76-2.49A17.94,17.94,0,0,0,12,17a17.94,17.94,0,0,0,2.28-.19L15,19.3a1,1,0,0,0,1,.7h.07a8.31,8.31,0,0,0,5.72-2.71,1.08,1.08,0,0,0,.21-.62A30.79,30.79,0,0,0,20.11,6.25Z" style="fill: rgb(0, 0, 0);"></path><path id="secondary" d="M10.5,10A1.5,1.5,0,1,1,9,8.5,1.5,1.5,0,0,1,10.5,10ZM15,8.5A1.5,1.5,0,1,0,16.5,10,1.5,1.5,0,0,0,15,8.5Z" style="fill: rgb(256, 256, 256);"></path>
</svg>
<span>Join on Slack</span>
</a>
<span class="hidden sm:inline text-gray-400">•</span>
<a href="https://x.com/i/communities/1880201715611308114"
class="flex items-center space-x-2 hover:text-gray-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
</svg>
<span>Join on X</span>
<span>Join on Discord</span>
</a>
</div>

Expand All @@ -68,4 +60,4 @@
</div>
</div>
</div>
</div>
</div>
12 changes: 6 additions & 6 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<meta property="og:locale" content="en_GH"/>

<%# Event-specific Open Graph tags %>
<meta property="event:start_time" content="2025-03-14T19:00:00+00:00"/>
<meta property="event:end_time" content="2025-03-16T14:00:00+00:00"/>
<meta property="event:location" content="Academic City Campus"/>
<meta property="event:street-address" content="Academic City"/>
<meta property="event:start_time" content="2025-11-12T14:00:00+00:00"/>
<meta property="event:end_time" content="2025-11-14T14:17:00+00:00"/>
<meta property="event:location" content="UNICEF Ghana"/>
<meta property="event:street-address" content="UNICEF Ghana"/>
<meta property="event:locality" content="Accra"/>
<meta property="event:region" content="Greater Accra"/>
<meta property="event:country-name" content="Ghana"/>
Expand All @@ -71,9 +71,9 @@

<%# Additional Twitter Card event details %>
<meta name="twitter:label1" content="When"/>
<meta name="twitter:data1" content="March 14-16, 2025"/>
<meta name="twitter:data1" content="November 12-14, 2025"/>
<meta name="twitter:label2" content="Where"/>
<meta name="twitter:data2" content="Academic City Campus, Accra"/>
<meta name="twitter:data2" content="UNICEF Ghana, Accra"/>

<%# Mobile Meta Tags %>
<meta name="apple-mobile-web-app-capable" content="yes"/>
Expand Down
9 changes: 5 additions & 4 deletions app/views/team_mailer/late_qualified_email.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ What Does Late-Qualified Mean?

Due to overwhelming interest, we've reached the maximum team threshold for the event.
While your team has met the minimum requirements, your participation will depend on availability if any registered teams drop out or fail to complete their registration.
So be on the lookout in your inbox.


What's Next?
Expand All @@ -22,13 +23,13 @@ We'll notify you if a spot opens up and your team is selected to participate.
Key Details to Keep in Mind
===========================

🗓 Event kickoff: <%= ApplicationMailer.event_date %> | 7:00 PM sharp
📍 Location: Academic City Campus
🗺️ Google Map Directions: https://maps.app.goo.gl/SifT5QSLbQQV91Ye8
🗓 Event kickoff: <%= ApplicationMailer.event_date %> | <%= ApplicationMailer.event_time %>
📍 Location: <%= ApplicationMailer.location %>
🗺️ Google Map Directions: <%= ApplicationMailer.location_map %>

We appreciate your enthusiasm and patience. Let's keep the momentum going—good things come to those who wait! 🚀

Best regards,
The UNICEF StartUp Lab Hack Team
<%= ApplicationMailer.hack_name %> Team

P.S. Encourage your team to check their emails regularly for updates. If a spot opens up, we'll need you to act fast! 🔥
8 changes: 4 additions & 4 deletions app/views/team_mailer/qualified_email.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ What's Next?
2️⃣ Review event rules: Familiarize your team with guidelines and schedules [insert link to rules].
3️⃣ Finalize details: Need to tweak your team name or project idea? Update them in your dashboard.

🗓 Event kickoff: <%= ApplicationMailer.event_date %> | 7:00 PM GMT sharp
📍 Location: Academic City Campus
🗺️ Google Map Directions: https://maps.app.goo.gl/SifT5QSLbQQV91Ye8
🗓 Event kickoff: <%= ApplicationMailer.event_date %> | <%= ApplicationMailer.event_time %>
📍 Location: <%= ApplicationMailer.location %>
🗺️ Google Map Directions: <%= ApplicationMailer.location_map %>

Let's turn this qualification into a winning opportunity! 🚀

Best regards,
The UNICEF StartUp Lab Hack Team
<%= ApplicationMailer.hack_name %> Team

P.S. Remind your team to check their emails regularly for updates—missing critical info could cost you the competition! 🔥

Expand Down
8 changes: 4 additions & 4 deletions app/views/team_membership_mailer/welcome_email.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ What's Next?
Key Details to Mark
===================

🗓 Kickoff: <%= ApplicationMailer.event_date %> | 7PM GMT
📍 Location: Academic City Campus
🗺️ Google Map Directions: https://maps.app.goo.gl/SifT5QSLbQQV91Ye8
🗓 Event kickoff: <%= ApplicationMailer.event_date %> | <%= ApplicationMailer.event_time %>
📍 Location: <%= ApplicationMailer.location %>
🗺️ Google Map Directions: <%= ApplicationMailer.location_map %>

Let's make UNICEF StartUp Lab Hack legendary. It's time to build, break, and shine! 💻✨

Best regards,
The UNICEF StartUp Lab Hack Team
<%= ApplicationMailer.hack_name %> Team