1
0
Fork 0
forked from OpenNeo/impress

Add mini-survey announcement

Just sharing this out to gather info, since this might be coming kinda
soon!

I also moved the announcement higher up in the template, because it
gets broken on the user lists page which uses floats quite a bit for
the site header—and tbh I feel like this is better anyway lol.
This commit is contained in:
Emi Matchu 2023-11-06 12:12:25 -08:00
parent 2126cefdd4
commit 4ffd85ade0
2 changed files with 11 additions and 1 deletions

View file

@ -22,9 +22,9 @@
%body{:class => body_class} %body{:class => body_class}
#container #container
= yield :before_title = yield :before_title
= render 'static/announcement'
- if content_for?(:title) && show_title_header? - if content_for?(:title) && show_title_header?
%h1#title= yield :title %h1#title= yield :title
= render 'static/announcement'
= yield :before_flashes = yield :before_flashes
= flashes = flashes

View file

@ -0,0 +1,10 @@
<div class="notice">
<strong>💡 Mini-survey time!</strong><br />
We might get to share some thoughts with TNT soon—what do you want to make
sure they hear?
<a
href="https://docs.google.com/forms/d/e/1FAIpQLSecA-7ENxLGJfWGWPu17kJki7It1X_hjHBnpR2iOxoOhPsLtg/viewform"
>
Fill it out &rarr;
</a>
</div>