From bafe75463a6709a3faf756a5412aa42e24040d42 Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Mon, 18 Apr 2016 14:43:41 -0700 Subject: [PATCH] Added text/buttons for optionally saving to user's index.html --- views/tutorial/html/10.erb | 6 +++++- views/tutorial/html/9.erb | 11 ++++++----- views/tutorial/layout.erb | 3 ++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/views/tutorial/html/10.erb b/views/tutorial/html/10.erb index 10ff93ce..66cc01fb 100644 --- a/views/tutorial/html/10.erb +++ b/views/tutorial/html/10.erb @@ -1,6 +1,10 @@
- And that's it for Chapter One! Congrats on your first ever version of victoria.neocities.org! + And that's it for Chapter One! Congrats on your first ever + + (if they didn't save) hand-coded HTML website! + + (if they did save) version of <%= current_site.username %>.neocities.org!
But you're not done yet! There's much in store for you: Adding colors, fonts, backgrounds, and more, all in chapter 2! diff --git a/views/tutorial/html/9.erb b/views/tutorial/html/9.erb index 74c6da32..7d0d7fcd 100644 --- a/views/tutorial/html/9.erb +++ b/views/tutorial/html/9.erb @@ -1,9 +1,10 @@ -
-
- Good work! Everything you've written has been saved to index.html, which is the first web page people see when they visit your site. +
+
+ Great work! You can save everything you've coded so far to your Neocities site to continue working on it. + It'll be saved as index.html, which is the first web page people see when they visit your site.
-
- You can find and edit index.html by visiting your Neocities dashboard. +
+ You can can find and edit index.html by visitng your Neocities dashboard.
diff --git a/views/tutorial/layout.erb b/views/tutorial/layout.erb index 2529c5c4..bdaf4153 100644 --- a/views/tutorial/layout.erb +++ b/views/tutorial/layout.erb @@ -16,7 +16,8 @@
<% if request.path =~ /\/html\/9/ %> - Next + Save to <%= current_site.username %>.neocities.org + Don't Save <% else %>