update for_writers page

This commit is contained in:
Andrew Brown 2018-11-09 14:33:12 -06:00
parent e5897bda6f
commit d7c1f4f186

View File

@ -98,7 +98,7 @@ body {
<div class="container">
<div class="section">
<div class="row">
<% [Character, Location, Item, Creature, Race, Religion, Group, Magic, Language].each do |content_type| %>
<% Rails.application.config.content_types[:all_non_universe].each do |content_type| %>
<div class="col l4 m4 s12">
<%= render partial: 'cards/intros/content_type_intro', locals: { content_type: content_type } %>
</div>
@ -366,8 +366,8 @@ body {
</p>
<p class="light">
We believe this trifecta of <em>people, places, and things</em> covers most worlds, but serious worldbuilders often opt
to pay for a Premium membership, which unlocks six additional ways to worldbuild &mdash; namely creatures, races,
religions, groups, magic, and languages.
to pay for a Premium membership, which unlocks <strong><%= Rails.application.config.content_types[:premium].count %></strong> additional ways to worldbuild &mdash;
namely <%= Rails.application.config.content_types[:premium].map { |ct| ct.name.downcase.pluralize }.to_sentence %>.
</p>
<p class="light">
<strong>Premium memberships are $9.00, billed monthly, and allow you to create unlimited amounts of any type of content.</strong>
@ -375,11 +375,11 @@ body {
</p>
</div>
<div class="col s3">
<% [Character, Location, Item, Creature, Race, Religion, Group, Magic, Language].each_with_index do |content_type, i| %>
<% Rails.application.config.content_types[:all].each_with_index do |content_type, i| %>
<i class="material-icons <%= content_type.color %>-text tooltipped" style="font-size: 72px" data-delay="100" data-tooltip="<%= User.new.can_create?(content_type) ? 'All' : 'Premium' %> users can create unlimited <%= content_type.name.pluralize %>.">
<%= content_type.icon %>
</i>
<%= '<br />'.html_safe if (i + 1) % 3 == 0 %>
<%= '<br />'.html_safe if (i + 1) % 4 == 0 %>
<% end %>
</div>
</div>
@ -471,6 +471,66 @@ body {
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create countries</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create deities</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create floras</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create governments</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create landmarks</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create planets</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create religions</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create scenes</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create technologies</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Create towns</th>
<td>-</td>
<td>-</td>
<td><i class="material-icons green-text">check</i></td>
</tr>
<tr>
<th>Customize templates</th>
<td><i class="material-icons green-text">check</i></td>