Make empty donations page prettier
This commit is contained in:
parent
44ec856091
commit
7f5b8c22b7
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
<%= render MainWithTabnavComponent.new(tabnav_partial: "shared/tabnav_contributions") do %>
|
<%= render MainWithTabnavComponent.new(tabnav_partial: "shared/tabnav_contributions") do %>
|
||||||
<section>
|
<section>
|
||||||
<p class="mb-12">
|
|
||||||
Your financial contributions to the development and upkeep of Kosmos
|
|
||||||
software and services.
|
|
||||||
</p>
|
|
||||||
<% if @donations.any? %>
|
<% if @donations.any? %>
|
||||||
|
<p class="mb-12">
|
||||||
|
Your financial contributions to the development and upkeep of Kosmos
|
||||||
|
software and services.
|
||||||
|
</p>
|
||||||
<ul class="list-none">
|
<ul class="list-none">
|
||||||
<% @donations.each do |donation| %>
|
<% @donations.each do |donation| %>
|
||||||
<li class="mb-8 grid gap-y-2 gap-x-8 grid-cols-2 items-center">
|
<li class="mb-8 grid gap-y-2 gap-x-8 grid-cols-2 items-center">
|
||||||
@ -33,11 +33,19 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p class="text-gray-500">
|
<div class="text-center">
|
||||||
The donation process is not automated yet. Please
|
<p class="mt-8 mb-12 inline-flex align-center items-center">
|
||||||
<a href="https://wiki.kosmos.org/Main_Page#Community_.2F_Getting_in_touch_.2F_Getting_involved" class="ks-text-link" target="_blank">contact us</a>
|
<%= image_tag("/img/illustrations/undraw_savings_re_eq4w.svg", class: 'h-48') %>
|
||||||
if you'd like to contribute this way right now.
|
</p>
|
||||||
</p>
|
<h3>
|
||||||
|
No donations yet
|
||||||
|
</h3>
|
||||||
|
<p class="text-gray-500">
|
||||||
|
The donation process is not automated yet.<br>Please
|
||||||
|
<a href="https://wiki.kosmos.org/Main_Page#Community_.2F_Getting_in_touch_.2F_Getting_involved" class="ks-text-link" target="_blank">contact us</a>
|
||||||
|
if you'd like to contribute this way right now.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
1
public/img/illustrations/undraw_savings_re_eq4w.svg
Normal file
1
public/img/illustrations/undraw_savings_re_eq4w.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
Loading…
x
Reference in New Issue
Block a user