From 4b295fc70d4ac709130f028981403cffa719d1c0 Mon Sep 17 00:00:00 2001 From: Samuel Imolorhe Date: Thu, 9 Nov 2017 02:05:04 +0100 Subject: [PATCH] Added binary download links to altair site. Added github fork link. --- docs/_config.yml | 7 +++---- docs/_includes/github_fork.html | 1 + docs/_includes/landingfooter.html | 15 +++++++++------ docs/_layouts/landing.html | 1 + docs/_sass/_layout.scss | 6 +++++- 5 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 docs/_includes/github_fork.html diff --git a/docs/_config.yml b/docs/_config.yml index 2d7bf9a7e3..5ec31ce817 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -23,22 +23,21 @@ description: > # this means to ignore newlines until "baseurl:" releases: - name: macOS - status: true image: osx_logo.svg + unique_term: darwin link: https://github.com/imolorhe/altair/releases/latest - name: linux - status: false image: linux_logo.svg + unique_term: deb link: - name: windows - status: false image: windows_logo.svg + unique_term: exe link: - name: chrome - status: true image: chrome_icon.svg link: https://chrome.google.com/webstore/detail/altair-graphql-client/flnheeellpciglgpaodhkhmapeljopja diff --git a/docs/_includes/github_fork.html b/docs/_includes/github_fork.html new file mode 100644 index 0000000000..3a16133ca4 --- /dev/null +++ b/docs/_includes/github_fork.html @@ -0,0 +1 @@ + diff --git a/docs/_includes/landingfooter.html b/docs/_includes/landingfooter.html index 7b1b14f6eb..c976c238bb 100644 --- a/docs/_includes/landingfooter.html +++ b/docs/_includes/landingfooter.html @@ -1,24 +1,27 @@ diff --git a/docs/_layouts/landing.html b/docs/_layouts/landing.html index 5e3f0582c2..fb869427bd 100644 --- a/docs/_layouts/landing.html +++ b/docs/_layouts/landing.html @@ -3,6 +3,7 @@ ---
+ {% include github_fork.html %}
diff --git a/docs/_sass/_layout.scss b/docs/_sass/_layout.scss index 5379e36ee4..9e7d10d54a 100644 --- a/docs/_sass/_layout.scss +++ b/docs/_sass/_layout.scss @@ -109,11 +109,15 @@ $hero-height: 700px; color: $light; text-align: center; .heading{ - text-transform: capitalize; padding: 10px 0px; margin-bottom: 20px; font-size: 30px; } + .releases--latest-version { + display: block; + font-size: 16px; + font-weight: normal; + } .platform { &--unavailable{