From 2ef3029b985890794c98ca574f1779b134938a1c Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 14 May 2018 12:40:05 +0300 Subject: [PATCH 01/17] issue #codio-9611. new front page --- source/new-home.html.erb | 210 +++++++++++ source/partials/_nav.erb | 3 + source/partials/_schedule-logos.erb | 20 + source/partials/_schools-grid.erb | 46 +++ .../_topic-text-check-action-quote.erb | 45 +++ source/stylesheets/all.css.scss | 2 + source/stylesheets/pages/_new-home.scss | 341 ++++++++++++++++++ .../stylesheets/partials/_schools-grid.scss | 38 ++ .../_topic-text-check-action-quote.scss | 139 +++++++ 9 files changed, 844 insertions(+) create mode 100644 source/new-home.html.erb create mode 100644 source/partials/_schedule-logos.erb create mode 100644 source/partials/_schools-grid.erb create mode 100644 source/partials/_topic-text-check-action-quote.erb create mode 100644 source/stylesheets/pages/_new-home.scss create mode 100644 source/stylesheets/partials/_schools-grid.scss create mode 100644 source/stylesheets/partials/_topic-text-check-action-quote.scss diff --git a/source/new-home.html.erb b/source/new-home.html.erb new file mode 100644 index 0000000000..c5f581ba22 --- /dev/null +++ b/source/new-home.html.erb @@ -0,0 +1,210 @@ +--- +title: Home \| Teaching code \| Codio +layout: layout +fixed: true +transparent: false +description: The cloud infrastructure and learning management platform for computer science and stem education. +priority: 1.0 +--- + + +
+ +
+
+ +
+
+ +
+
+ <%= partial "topic-text-check-action-quote", + locals: { + topic: { + title: "instructor", + text: "text" + }, + text: [ + "for each", + "cut the time" + ], + check: [ + "configure", + "access", + "automatically" + ], + action: { + text: "schedule my demo", + link: "/somewhere" + }, + quote: { + topic: "get your", + text: "click", + author: { + name: "Dr. Gordon", + occupation: "senior lecturer", + avatar: "/some/image" + } + } + } + %> + <%= partial "schools-grid", + locals: { + schools: [ + { + title: "school name", + description: "see how \|school name\| \|insert important metric or benefit where applicable\|." + }, + { + title: "school name", + description: "see how \|school name\| \|insert important metric or benefit where applicable\|." + }, + { + title: "school name", + description: "see how \|school name\| \|insert important metric or benefit where applicable\|." + }, + { + title: "school name", + description: "see how \|school name\| \|insert important metric or benefit where applicable\|." + }, + ] + } + %> + <%= partial "schedule-logos", + locals: { + title: "Schedule a demo today and get Codio for the Fall 2018 Semester — free", + actions: [ + { + title: "Schedule my demo", + link: "about:blank" + }, + { + title: "See the codio platform", + link: "about:blank" + }, + { + title: "", + link: "" + }, + { + title: "", + link: "" + }, + { + title: "", + link: "" + }, + { + title: "", + link: "" + }, + { + title: "", + link: "" + } + ] + } + %> +
+ +
+
+
+
+
Higher performance Computer Science Programs
+
+ Save time. Reduce costs. Boost engagement. Gain better learning insights. +
+
+
+
+ <%= link_to 'Explore', '/cloudcs', class: 'button button-main button-rounded' %> +
+
+
+
+
+ +
+
+
+
diff --git a/source/partials/_nav.erb b/source/partials/_nav.erb index 5839d88bff..aa828681c1 100755 --- a/source/partials/_nav.erb +++ b/source/partials/_nav.erb @@ -1,4 +1,7 @@