diff --git a/app/views/main/for_writers.html.erb b/app/views/main/for_writers.html.erb index 3af5695a..1107ee58 100644 --- a/app/views/main/for_writers.html.erb +++ b/app/views/main/for_writers.html.erb @@ -98,7 +98,7 @@ body {
- <% [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| %>
<%= render partial: 'cards/intros/content_type_intro', locals: { content_type: content_type } %>
@@ -366,8 +366,8 @@ body {

We believe this trifecta of people, places, and things covers most worlds, but serious worldbuilders often opt - to pay for a Premium membership, which unlocks six additional ways to worldbuild — namely creatures, races, - religions, groups, magic, and languages. + to pay for a Premium membership, which unlocks <%= Rails.application.config.content_types[:premium].count %> additional ways to worldbuild — + namely <%= Rails.application.config.content_types[:premium].map { |ct| ct.name.downcase.pluralize }.to_sentence %>.

Premium memberships are $9.00, billed monthly, and allow you to create unlimited amounts of any type of content. @@ -375,11 +375,11 @@ body {

- <% [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| %> <%= content_type.icon %> - <%= '
'.html_safe if (i + 1) % 3 == 0 %> + <%= '
'.html_safe if (i + 1) % 4 == 0 %> <% end %>
@@ -471,6 +471,66 @@ body { - check + + Create countries + - + - + check + + + Create deities + - + - + check + + + Create floras + - + - + check + + + Create governments + - + - + check + + + Create landmarks + - + - + check + + + Create planets + - + - + check + + + Create religions + - + - + check + + + Create scenes + - + - + check + + + Create technologies + - + - + check + + + Create towns + - + - + check + Customize templates check