% def plan_pricing_button(plan_type) plan_type = plan_type.to_s if !parent_site %{Sign Up} elsif parent_site && parent_site.plan_type == plan_type %{
Current Plan
} else if plan_type == 'supporter' plan_price = "$#{Site::PLAN_FEATURES[plan_type.to_sym][:price]*12}, once per year" else plan_price = "$#{Site::PLAN_FEATURES[plan_type.to_sym][:price]}, monthly" end %{#{parent_site.plan_type == 'free' ? 'Upgrade' : 'Change'}} end end %>
Free$<%= Site::PLAN_FEATURES[:free][:price] %>/mo <%== plan_pricing_button :free %> |
Supporter$<%= Site::PLAN_FEATURES[:supporter][:price] %>/mo <%== plan_pricing_button :supporter %> |
Cat Bus$<%= Site::PLAN_FEATURES[:catbus][:price] %>/mo <%== plan_pricing_button :catbus %> |
Fat Cat$<%= Site::PLAN_FEATURES[:fatcat][:price] %>/mo <%== plan_pricing_button :fatcat %> |
|
---|---|---|---|---|
Storage | <%= Site::PLAN_FEATURES[:free][:space].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:supporter][:space].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:catbus][:space].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:fatcat][:space].to_bytes_pretty %> |
Bandwidth | <%= Site::PLAN_FEATURES[:free][:bandwidth].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:supporter][:bandwidth].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:catbus][:bandwidth].to_bytes_pretty %> | <%= Site::PLAN_FEATURES[:fatcat][:bandwidth].to_bytes_pretty %> |
No advertising, ever | ||||
Global CDN Site Cache | ||||
Free Site Subdomain | ||||
Custom Domains | ||||
WebDAV Uploading | ||||
One-Click Backups | ||||
Site Tags | ||||
RSS Feed | ||||
Follow Your Favorite Sites | ||||
Site Profile | ||||
Neocities Site Editor | ||||
Unlimited Site Creation | ||||
Custom SSL Certificates | ||||
No File Upload Type Restrictions |