diff --git a/app/index.rb b/app/index.rb index ee174099..8ff59edd 100644 --- a/app/index.rb +++ b/app/index.rb @@ -39,7 +39,7 @@ end get '/welcome' do require_login redirect '/' if current_site.plan_type != 'free' - erb :'welcome' + erb :'welcome', locals: {site: current_site} end get '/tutorials' do diff --git a/app/plan.rb b/app/plan.rb index 9d944716..5918bbbc 100644 --- a/app/plan.rb +++ b/app/plan.rb @@ -94,6 +94,6 @@ get '/plan/thanks' do erb :'plan/thanks' end -get '/plan/alternate' do +get '/plan/alternate/?' do erb :'/plan/alternate' -end \ No newline at end of file +end diff --git a/environment.rb b/environment.rb index 78f70caf..ccff05f4 100644 --- a/environment.rb +++ b/environment.rb @@ -32,12 +32,14 @@ DB = Sequel.connect $config['database'], sslmode: 'disable', max_connections: $c DB.extension :pagination # :nocov: +=begin if defined?(Pry) Pry.commands.alias_command 'c', 'continue' Pry.commands.alias_command 's', 'step' Pry.commands.alias_command 'n', 'next' Pry.commands.alias_command 'f', 'finish' end +=end # :nocov: Sidekiq::Logging.logger = nil unless ENV['RACK_ENV'] == 'production' diff --git a/views/plan/_pricing.erb b/views/plan/_pricing.erb index 72b796d4..56e062e7 100644 --- a/views/plan/_pricing.erb +++ b/views/plan/_pricing.erb @@ -273,7 +273,7 @@
To upgrade, enter your credit card info below:
+Neocities will never sell your personal data or embed advertising on member sites. Instead, we are funded directly by our community through supporter plans and donations. This allows us to base all our decisions on making the best possible web building experience for you, rather than on appeasing ad companies.
+You can downgrade back to a free account at any time on the plan page. If you do, we’ll refund the amount you didn’t use.
+ +We use Stripe and PayPal for payments, and never store your credit card information directly.
++ When you become a supporter, you are directly helping our quest to bring back the creative, independent web, and to continue to improve Neocities for everyone. +
++ Neocities is used by educators all over the world to teach thousands of students how to program. And as an Open Company, our site is completely open source and we share all our code with the community. +
+