diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000000..053c27dc35 --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000000..674ea3ccc7 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,135 @@ +GEM + remote: https://rubygems.org/ + specs: + RedCloth (4.2.9) + activesupport (4.2.4) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.3.8) + blankslate (2.1.2.4) + celluloid (0.16.0) + timers (~> 4.0.0) + classifier-reborn (2.0.3) + fast-stemmer (~> 1.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.9.1.1) + colorator (0.1) + ethon (0.7.4) + ffi (>= 1.3.0) + execjs (2.6.0) + fast-stemmer (1.0.2) + ffi (1.9.10) + gemoji (2.1.0) + github-pages (39) + RedCloth (= 4.2.9) + github-pages-health-check (~> 0.2) + jekyll (= 2.4.0) + jekyll-coffeescript (= 1.0.1) + jekyll-feed (= 0.3.1) + jekyll-mentions (= 0.2.1) + jekyll-redirect-from (= 0.8.0) + jekyll-sass-converter (= 1.3.0) + jekyll-sitemap (= 0.8.1) + jemoji (= 0.5.0) + kramdown (= 1.5.0) + liquid (= 2.6.2) + maruku (= 0.7.0) + mercenary (~> 0.3) + pygments.rb (= 0.6.3) + rdiscount (= 2.1.7) + redcarpet (= 3.3.2) + terminal-table (~> 1.4) + github-pages-health-check (0.5.3) + addressable (~> 2.3) + net-dns (~> 0.8) + public_suffix (~> 1.4) + typhoeus (~> 0.7) + hitimes (1.2.3) + html-pipeline (1.9.0) + activesupport (>= 2) + nokogiri (~> 1.4) + i18n (0.7.0) + jekyll (2.4.0) + classifier-reborn (~> 2.0) + colorator (~> 0.1) + jekyll-coffeescript (~> 1.0) + jekyll-gist (~> 1.0) + jekyll-paginate (~> 1.0) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 1.1) + kramdown (~> 1.3) + liquid (~> 2.6.1) + mercenary (~> 0.3.3) + pygments.rb (~> 0.6.0) + redcarpet (~> 3.1) + safe_yaml (~> 1.0) + toml (~> 0.1.0) + jekyll-coffeescript (1.0.1) + coffee-script (~> 2.2) + jekyll-feed (0.3.1) + jekyll-gist (1.3.4) + jekyll-mentions (0.2.1) + html-pipeline (~> 1.9.0) + jekyll (~> 2.0) + jekyll-paginate (1.1.0) + jekyll-redirect-from (0.8.0) + jekyll (>= 2.0) + jekyll-sass-converter (1.3.0) + sass (~> 3.2) + jekyll-sitemap (0.8.1) + jekyll-watch (1.2.1) + listen (~> 2.7) + jemoji (0.5.0) + gemoji (~> 2.0) + html-pipeline (~> 1.9) + jekyll (>= 2.0) + json (1.8.3) + kramdown (1.5.0) + liquid (2.6.2) + listen (2.10.1) + celluloid (~> 0.16.0) + rb-fsevent (>= 0.9.3) + rb-inotify (>= 0.9) + maruku (0.7.0) + mercenary (0.3.5) + mini_portile (0.6.2) + minitest (5.8.0) + net-dns (0.8.0) + nokogiri (1.6.6.2) + mini_portile (~> 0.6.0) + parslet (1.5.0) + blankslate (~> 2.0) + posix-spawn (0.3.11) + public_suffix (1.5.1) + pygments.rb (0.6.3) + posix-spawn (~> 0.3.6) + yajl-ruby (~> 1.2.0) + rb-fsevent (0.9.6) + rb-inotify (0.9.5) + ffi (>= 0.5.0) + rdiscount (2.1.7) + redcarpet (3.3.2) + safe_yaml (1.0.4) + sass (3.4.18) + terminal-table (1.5.2) + thread_safe (0.3.5) + timers (4.0.4) + hitimes + toml (0.1.2) + parslet (~> 1.5.0) + typhoeus (0.7.3) + ethon (>= 0.7.4) + tzinfo (1.2.2) + thread_safe (~> 0.1) + yajl-ruby (1.2.1) + +PLATFORMS + ruby + +DEPENDENCIES + github-pages diff --git a/README.md b/README.md new file mode 100644 index 0000000000..98eb1c1ad2 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Flutter's website + +Designed to run in GitHub pages. + +## Developing + +Install Jekyll and related tools by following the +[instructions](https://help.github.com/articles/using-jekyll-with-pages/) +provided by GitHub. + +A tldr version follows: + +* First time contributor to this site? Ensure you have Ruby and bundler + installed, and then run `bundle install` +* Create a branch. +* Make your changes. +* To test your changes, run `bundle exec jekyll serve` diff --git a/_includes/footer.html b/_includes/footer.html index b80846dbf8..47f0971bfe 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -50,6 +50,11 @@ +

+ Terms | + Privacy +

+ diff --git a/_sass/_base.scss b/_sass/_base.scss index 9cb0656a96..d3d34ceeca 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -194,3 +194,11 @@ pre { } } } + + +/** + * Privacy policy and terms of service + */ +.terms { + font-size: 10px; +} diff --git a/tos.md b/tos.md new file mode 100644 index 0000000000..dd3c667c22 --- /dev/null +++ b/tos.md @@ -0,0 +1,14 @@ +--- +layout: page +title: Terms of Service +permalink: /tos/ +--- +# Terms of Service + +The Flutter website (the "Website") is hosted by Google. By using and/or +visiting the Website, you consent to be bound by Google's general +[Terms of Service][tos] and Google's general +[Privacy Policy][pp]. + +[tos]: http://www.google.com/accounts/TOS +[pp]: http://www.google.com/intl/en/policies/privacy/