Skip to content
Merged
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
15 changes: 10 additions & 5 deletions app/views/events/_card.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,15 @@
</div>
<!-- 4️⃣ FULL-WIDTH CALENDAR LINKS ROW -->
<% if event.event_registrations.exists?(registrant_id: current_user.id) %>
<div class="flex gap-2 items-center justify-center w-full text-sm text-gray-700 mt-2">
<!-- <span class="font-semibold">Calendar:</span> -->
<%= event.calendar_links %>
</div>
<% end %>
<div class="flex flex-col items-center mt-4 pt-3 border-t border-gray-100">
<p class="text-xs font-bold text-gray-400 uppercase tracking-wide mb-2">
Add to Your Calendar
</p>

<div class="flex flex-wrap gap-3 items-center justify-center w-full text-sm text-blue-600 font-medium">
<%= event.calendar_links %>
</div>
</div>
<% end %>
<% end %>
<% end %>