Skip to content

Commit 1bcf5ee

Browse files
committed
feat(homepage): add conditional link to all events
1 parent 893f878 commit 1bcf5ee

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/views/dashboard/show.html.haml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
%h3.h5= date
7474
= render workshops
7575

76+
- if @has_more_events
77+
= link_to 'Explore all events →', events_path, class: 'btn btn-outline-primary mt-3'
78+
7679
.col-lg-4.pl-lg-5
7780
%h3
7881
= t('homepage.chapters.title')

0 commit comments

Comments
 (0)