From d7dc52a9de60f2c1a7d2fc5d7394b96f1c331bf4 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 24 Dec 2018 21:18:35 -0500 Subject: [PATCH] better mobile styles --- site/src/components/InlineSvg.html | 4 + site/src/components/TopNav.html | 217 +++++++++++++++-------------- site/src/routes/blog/index.html | 19 +-- site/src/routes/guide/index.html | 2 +- site/src/routes/repl/index.html | 8 +- site/static/global.css | 2 +- site/static/icons/chevron.svg | 4 + 7 files changed, 126 insertions(+), 130 deletions(-) create mode 100644 site/static/icons/chevron.svg diff --git a/site/src/components/InlineSvg.html b/site/src/components/InlineSvg.html index 9b4c2e3ddb..e29810ae97 100644 --- a/site/src/components/InlineSvg.html +++ b/site/src/components/InlineSvg.html @@ -108,4 +108,8 @@ + + + + \ No newline at end of file diff --git a/site/src/components/TopNav.html b/site/src/components/TopNav.html index 4cf538ffc4..00e384cdf7 100644 --- a/site/src/components/TopNav.html +++ b/site/src/components/TopNav.html @@ -1,57 +1,36 @@ -
+
- - {#if open} - - {:else} - - {/if} - - -
\ No newline at end of file diff --git a/site/src/routes/blog/index.html b/site/src/routes/blog/index.html index 3fd22da968..53490c6e78 100644 --- a/site/src/routes/blog/index.html +++ b/site/src/routes/blog/index.html @@ -26,24 +26,10 @@