Skip to content

Commit 95e4b65

Browse files
committed
show basil notice until it's dismissed or we replace it
1 parent 2b2ba6f commit 95e4b65

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
<% if Date.current <= 'April 15, 2023'.to_date %>
2-
<div class="col s12 m5 l4">
3-
<div class="grey-text uppercase center">
4-
See what's new
5-
</div>
6-
<%= link_to basil_path do %>
7-
<div class="card-panel hoverable purple white-text" style="margin-bottom: 0">
8-
<div class="valign-wrapper">
9-
<i class="material-icons" class="left" style="font-size: 3em; margin-right: 0.3em;">camera</i>
10-
<div>
11-
Bring your notebook pages to life with our new image generator
12-
</div>
1+
<div class="col s12 m5 l4">
2+
<div class="grey-text uppercase center">
3+
See what's new
4+
</div>
5+
<%= link_to basil_path do %>
6+
<div class="card-panel hoverable purple white-text" style="margin-bottom: 0">
7+
<div class="valign-wrapper">
8+
<i class="material-icons" class="left" style="font-size: 3em; margin-right: 0.3em;">camera</i>
9+
<div>
10+
Bring your notebook pages to life with our new image generator
1311
</div>
1412
</div>
15-
<% end %>
16-
<div style="margin-bottom: 2em;">
17-
<%= link_to 'dismiss message', notice_dismissal_dismiss_path(notice_id: 20), class: 'right' %>
1813
</div>
14+
<% end %>
15+
<div style="margin-bottom: 2em;">
16+
<%= link_to 'dismiss message', notice_dismissal_dismiss_path(notice_id: 20), class: 'right' %>
1917
</div>
20-
<% end %>
18+
</div>

0 commit comments

Comments
 (0)