From a86a0ef2fef43a44183fb7a585be6262688f1b70 Mon Sep 17 00:00:00 2001 From: Egor Philippov Date: Thu, 25 Oct 2018 20:14:09 -0700 Subject: [PATCH] minor alignment improvements, make sure the web-app page can be refreshed after deployments --- .../pods/components/huegasm-app/template.hbs | 2 +- .../components/huegasm-footer/template.hbs | 5 -- web/app/pods/index/template.hbs | 2 +- web/app/styles/bridge-finder.scss | 8 +- web/app/styles/index.scss | 14 ++-- web/public/web-app.html | 76 +++++++++++++++++++ 6 files changed, 88 insertions(+), 19 deletions(-) create mode 100644 web/public/web-app.html diff --git a/web/app/pods/components/huegasm-app/template.hbs b/web/app/pods/components/huegasm-app/template.hbs index d388a4a..3515771 100644 --- a/web/app/pods/components/huegasm-app/template.hbs +++ b/web/app/pods/components/huegasm-app/template.hbs @@ -9,7 +9,7 @@

- Please be aware that this web application is no longer maintained, while we shift focus to our browser and mobile apps. + Please be aware that this web application is no longer maintained, while we shift focus to our Chrome and mobile apps.

diff --git a/web/app/pods/components/huegasm-footer/template.hbs b/web/app/pods/components/huegasm-footer/template.hbs index 9e89ed2..9ab6520 100644 --- a/web/app/pods/components/huegasm-footer/template.hbs +++ b/web/app/pods/components/huegasm-footer/template.hbs @@ -16,9 +16,4 @@ class="play-store-icon"> Get it on the Play Store - - - Get it on the App Store - \ No newline at end of file diff --git a/web/app/pods/index/template.hbs b/web/app/pods/index/template.hbs index 1558d67..c835cea 100644 --- a/web/app/pods/index/template.hbs +++ b/web/app/pods/index/template.hbs @@ -39,7 +39,7 @@ Huegasm on the App Store - {{#link-to "web-app" class="btn btn-default" role="button"}} + {{#link-to "web-app" class="btn btn-default web-legacy-link" role="button"}} Web (legacy) {{/link-to}} diff --git a/web/app/styles/bridge-finder.scss b/web/app/styles/bridge-finder.scss index c8d9647..fd8fefd 100644 --- a/web/app/styles/bridge-finder.scss +++ b/web/app/styles/bridge-finder.scss @@ -23,6 +23,7 @@ #bridge-finder, .ready-block { font-size: 16px; + text-align: center; #intro { text-align: center; @@ -70,13 +71,6 @@ } } -@media (min-width: 769px) { - #bridge-finder, - .ready-block { - text-align: center; - } -} - @media (max-width: 768px) { .ready-block { margin-bottom: 10px; diff --git a/web/app/styles/index.scss b/web/app/styles/index.scss index ea4bb38..2e759b4 100644 --- a/web/app/styles/index.scss +++ b/web/app/styles/index.scss @@ -1,6 +1,6 @@ #intro { font-size: 32px; - margin-top: 4vh; + margin-top: 2vh; &-background { margin-bottom: 5vh; @@ -29,16 +29,24 @@ .chrome-store-icon img { width: 170px; + margin-left: -8px; } .play-store-icon img { width: 130px; + margin-left: -8px; } .app-store-icon img { width: 110px; } +.available-on-list { + .web-legacy-link, .play-store-icon img, .app-store-icon img { + margin-bottom: 5px; + } +} + .embed-container { position: relative; padding-bottom: 56.25%; @@ -76,8 +84,4 @@ .available-on-container { margin-top: 2vh; } - - .available-on-list a { - margin-top: 2vh; - } } diff --git a/web/public/web-app.html b/web/public/web-app.html new file mode 100644 index 0000000..35962a9 --- /dev/null +++ b/web/public/web-app.html @@ -0,0 +1,76 @@ + + + + + + + Huegasm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + \ No newline at end of file