From ddf7dd7ca2d9d9b1908a45f3d3aac56af7815e12 Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Tue, 28 Apr 2015 15:44:31 -0700 Subject: [PATCH] Initial work on education page --- app/index.rb | 4 + sass/_project-sass/_project-Header.scss | 13 + sass/_project-sass/_project-Main.scss | 22 ++ views/education.erb | 317 ++++++++++++++++++++++++ 4 files changed, 356 insertions(+) create mode 100644 views/education.erb diff --git a/app/index.rb b/app/index.rb index bb2eff39..d50ed3ea 100644 --- a/app/index.rb +++ b/app/index.rb @@ -43,6 +43,10 @@ get '/welcome' do erb :'welcome', locals: {site: current_site} end +get '/education' do + erb :education, layout: false +end + get '/tutorials' do erb :'tutorials' end diff --git a/sass/_project-sass/_project-Header.scss b/sass/_project-sass/_project-Header.scss index 2d5edbc3..2d4c4c78 100644 --- a/sass/_project-sass/_project-Header.scss +++ b/sass/_project-sass/_project-Header.scss @@ -83,6 +83,19 @@ } } } +.hp.education { + .col.intro { + padding-top: 20px; + img { + @include vendor(transform, scaleX(-1)); + width: 100px; + margin-right: 20px; + } + .intro-text { + font-size: 1.1em; + } + } +} .intro-List{ @extend %kill-List; diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index b2cd02fa..2cf6935f 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -1193,6 +1193,28 @@ a.tag:hover { background-image:url(/img/hpgallery-next.png); right: 0; } +.section.instructor-quotes { + background: #971D31; + + h2, h3, p { + color: #fff; + text-align: left; + } + h2 { + margin-left: 20px; + } + p { + font-size: 1em; + font-style: italic; + margin-right: 30px; + margin-top: 20px; + clear: both; + } + .image { + float: left; + margin-right: 22px; + } +} .section.features { background: #4F7E89; text-align: center; diff --git a/views/education.erb b/views/education.erb new file mode 100644 index 00000000..92816e27 --- /dev/null +++ b/views/education.erb @@ -0,0 +1,317 @@ + + + + + + + + Neocities: Create your free website now! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ +
+

What Instructors Say

+
+
+
+

Instructor Name
+ Location
+ Class name

+ +

"Neocities was an excellent resource for my students - it made everything very easy. + The Neocities team did a great job responding to any questions I had."

+
+
+
+

Instructor Name
+ Location
+ Class name

+ +

"Neocities was an excellent resource for my students - it made everything very easy. + The Neocities team did a great job responding to any questions I had."

+
+
+
+

Instructor Name
+ Location
+ Class name

+ +

"Neocities was an excellent resource for my students - it made everything very easy. + The Neocities team did a great job responding to any questions I had."

+
+
+
+ +
+

Support Us

+

Neocities is funded directly by our community through supporter plans and donations. We will never sell users' personal data or embed advertising on member sites.

+

Your support allows us to pay for server costs and continue working on Neocities full-time. You can support us on a subscription basis for $5/month or make a one-time donation.

+
+
+ +
+ + + <%== erb :'_footer', layout: false %> +
+ +
+ + + + +