From 775bad88daa9e4c61af85ac759c893a05a53e69c Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Mon, 15 May 2017 11:14:50 -0700 Subject: [PATCH] New homepage (#555) * new homepage and various fixes and tweaks * update screenshot * fix linter and 404 issues * tweaks from review * WIP * WIP * missing image * fix code sample * tweak style * make homepage cards look like other cards, remove unused JS * fix bug with top nav on desktop narrow * tweak footer * remove unneeded styles --- README.md | 2 +- _includes/footer.html | 13 +- _includes/header.html | 8 +- _includes/sidebar.html | 5 +- _layouts/code_comp_page.html | 15 - _layouts/default.html | 7 +- _layouts/page.html | 10 +- _layouts/tutorial.html | 1 + _sass/_base.scss | 27 -- _sass/_catalog.scss | 4 +- _sass/_code_pre.scss | 22 ++ _sass/_customstyles.scss | 87 ----- _sass/_homepage.scss | 168 +++++++++ _sass/_layout.scss | 91 +---- _sass/_sidebar.scss | 9 + _sass/_tutorial.scss | 1 + android-release-build.md | 2 +- animations.md | 2 +- assets-and-images.md | 2 +- bootstrap-into-dart.md | 2 +- bug_reports.md | 2 +- css/main.scss | 26 +- custom-fonts.md | 2 +- debugging.md | 2 +- design-principles.md | 2 +- faq.md | 2 +- formatting.md | 2 +- gestures.md | 2 +- getting-started.md | 4 +- images/homepage/hot-reload-bolt.png | Bin 0 -> 764 bytes images/homepage/ios-friendlychat.png | Bin 0 -> 105792 bytes images/homepage/screenshot-1.png | Bin 0 -> 106888 bytes images/homepage/screenshot-2.png | Bin 0 -> 94243 bytes images/homepage/screenshot-3.png | Bin 0 -> 173811 bytes index.md | 486 ++++++++++++++++----------- intellij-ide.md | 2 +- intellij-setup.md | 2 +- ios-release-build.md | 2 +- js/customscripts.js | 7 - js/toc.js | 82 ----- layout.md | 2 +- reading-writing-files.md | 2 +- rendering.md | 2 +- routing-and-navigation.md | 2 +- setup.md | 5 +- support.md | 21 ++ technical-overview.md | 213 ++++++++++++ testing.md | 1 - text-input.md | 1 - tos.md | 1 - tutorials/index.md | 2 +- tutorials/interactive/index.md | 4 +- tutorials/layout/index.md | 6 +- upgrading.md | 1 - web-analogs.md | 5 +- widgets-intro.md | 5 +- widgets.md | 1 - widgets/accessibility.md | 2 +- widgets/animation.md | 2 +- widgets/assets.md | 2 +- widgets/async.md | 2 +- widgets/basics.md | 2 +- widgets/cupertino.md | 2 +- widgets/input.md | 2 +- widgets/interaction.md | 2 +- widgets/layout.md | 2 +- widgets/materialdesign.md | 2 +- widgets/painting.md | 2 +- widgets/scrolling.md | 2 +- widgets/styling.md | 2 +- widgets/text.md | 2 +- 71 files changed, 797 insertions(+), 608 deletions(-) delete mode 100644 _layouts/code_comp_page.html create mode 100644 _sass/_code_pre.scss create mode 100644 _sass/_homepage.scss create mode 100644 images/homepage/hot-reload-bolt.png create mode 100644 images/homepage/ios-friendlychat.png create mode 100644 images/homepage/screenshot-1.png create mode 100644 images/homepage/screenshot-2.png create mode 100644 images/homepage/screenshot-3.png delete mode 100644 js/toc.js create mode 100644 support.md create mode 100644 technical-overview.md diff --git a/README.md b/README.md index 16ca56b7ae..19bce8c7f8 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ to the front matter of each page, and including some HTML. --- layout: tutorial title: "Constraints" -sidebar: home_sidebar + permalink: /tutorials/layout/constraints.html prev-page: /tutorials/layout/properties.html prev-page-title: "Container Properties" diff --git a/_includes/footer.html b/_includes/footer.html index 9409088e7c..cb7f4922b1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,24 +5,23 @@ -

- + • - + + - • +

- {{ site.email_name }} • + {{ site.email_name }}termsprivacy

diff --git a/_includes/header.html b/_includes/header.html index abe9a0b233..012cc4ea69 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -6,16 +6,16 @@ Flutter Logo {{ site.title }} - (tech preview) + (alpha)