From fd43071a3c2396d9c9ee6bc45ccae7e38c5fbb36 Mon Sep 17 00:00:00 2001 From: Perry Woodin Date: Tue, 12 Jul 2016 10:21:59 -0400 Subject: [PATCH] Navigation - Split the navigation out to separate files. - Set the navigation items to i18n strings. - Updated the overlay css to accommodate the number of nav items. --- .../_nav.scssc | Bin 8453 -> 8733 bytes .../_overlay-menu.scssc | Bin 68593 -> 68591 bytes _i18n/en.yml | 11 +++- _includes/nav-desktop.html | 13 +++++ _includes/nav-mobile.html | 12 ++++ _layouts/default.html | 31 ++--------- _sass/_nav.scss | 1 + _sass/_overlay-menu.scss | 2 +- _site/assets/css/style.css | 3 +- _site/es/index.html | 48 ++++++++-------- _site/es/participate/index.html | 52 +++++++++--------- _site/index.html | 48 ++++++++-------- _site/participate/index.html | 52 +++++++++--------- index.html | 5 +- 14 files changed, 145 insertions(+), 133 deletions(-) create mode 100644 _includes/nav-desktop.html create mode 100644 _includes/nav-mobile.html diff --git a/.sass-cache/9a49b57d5f63e6db4d7da45c4d90ec2de2c4e5c8/_nav.scssc b/.sass-cache/9a49b57d5f63e6db4d7da45c4d90ec2de2c4e5c8/_nav.scssc index 7df0036bba43ca048b27bfe6b544ec2dace8b69e..f0dc9fbda6ccb120e003915267438b97a8548a9d 100644 GIT binary patch delta 1015 zcmaizy>HV%7{+xsgyy3p&4=ySK0CIh&<`RRr)k>Uz!iZ63ll=>)EZ-?NNrQnAYcHA z0f~)>S7PJiUqBUNVyI9@HUv9=01FcvcWLUxt)&h=-T8jc^St&Jzq|jS z*WXFe^c`C7(S;eYx@lU!WnX->w-@#Ue;>Y8F6C9K_o#Y-&UF>4bsad&7$8eFa-btw zNO?0WXT$}^7~X+bmD_M6mGfGps`5*7q)N#)GGRfsP*teJ1;-eE4$q{Ua3q(rl}M$+ zFmFRjvEfI)2py$>Nl{Br6JJk5K9C?V-qNsc$iOa+}N|;Iw zrqRx^Bf}q1jHrnE;{ptSgl%OD>F{0I;OkbwgH1it&}q@-LFuE1Z_QYDI`3yvRfl0U zbjYa*NNfUeB9JEvxTYxExG9Eb@!4dolL;99J4wcZ ZP2&aU4}KdhRF3}6PVMAZ3?Wzh_aF6mljA7?mxx(4-}a6Z_6SH$Epz)vBtSrg7j9I-oE!AOvC|GLDokZ8rv%4jsC* z5s$SUyQ7Mgjjk+AFu@PV9{>q1POu3w!<|0sd++(ZcV|0C_lEXLZz~GBLDcE@`<C8k3Fn%q3@Aoc z15BM3sp64U!ec_`s9*zz*A~Sw*~TZURy0$FjbW*QGHKv*$-oXN<36Qxwqlq#AQZ3Y zLwq2$5=j}3+O6Unk?`&6;)#|mAZ=C{uN7G8r-mI;y?i6)6AhL%QViH1gImZ_E|$;OE(DW*myX(^V8Nr@JwDF!A6W@gEz x8y&g#P0n8@J~?Hd%4C-13X@j=X_a@voA2*iWx;5$x$CYRpaua?1$>wu A#Q*>R diff --git a/_i18n/en.yml b/_i18n/en.yml index 30f97ca..e6a19f6 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -7,5 +7,14 @@ pages: example: example includeexample: The following text is a Jekyll include liquid tag parameter titles: - home: Official Website | Private Digital Currency + home: Official Website | Private Digital Currency participate: Participate +nav: + what-is-dash: What is Dash + get-dash: Get Dash + participate: Participate + currency: Currency + community: Community + blog: Blog + project: Project + search: Search \ No newline at end of file diff --git a/_includes/nav-desktop.html b/_includes/nav-desktop.html new file mode 100644 index 0000000..aa48241 --- /dev/null +++ b/_includes/nav-desktop.html @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/_includes/nav-mobile.html b/_includes/nav-mobile.html new file mode 100644 index 0000000..9a1f13c --- /dev/null +++ b/_includes/nav-mobile.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f36fc9b..303be73 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,7 +2,7 @@ - {% if page.title %}{{ t page.title }} — {% endif %}Dash + {% if page.title %}{% t page.title %} — {% endif %}Dash @@ -47,19 +47,7 @@ - + {% include nav-desktop.html %}
@@ -75,7 +63,7 @@
- + {{ content }}