From b57586ebf8f412f8e2a29b78c5b90d2fea614c3b Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 14 May 2023 09:55:27 +0200 Subject: [PATCH] update css --- content/_index.md | 2 +- content/about/index.md | 5 ++- content/action/index.md | 5 ++- content/activities/index.md | 6 ++- content/home/index.md | 37 +++++++++++++++--- content/location/index.md | 6 ++- content/protection/index.md | 5 ++- static/images/logo_placeholder_eden_small.png | Bin 0 -> 6739 bytes templates/partials/header.html | 31 ++++++--------- 9 files changed, 66 insertions(+), 31 deletions(-) create mode 100644 static/images/logo_placeholder_eden_small.png diff --git a/content/_index.md b/content/_index.md index 987dd7c..94f61d8 100644 --- a/content/_index.md +++ b/content/_index.md @@ -7,5 +7,5 @@ draft: false sort_by: weight weight: 1 extra: - logo_path: images/logo_placeholder_eden_3.png + logo_path: images/logo_placeholder_eden_small.png --- diff --git a/content/about/index.md b/content/about/index.md index 16ea087..23a916f 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -9,7 +9,9 @@ weight: 2 -{% row(style="center narrow" margin="header" bgPath="img/opwhy.jpg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/opwhy.jpg" bgStyle="full") %} + +
## About Us @@ -17,6 +19,7 @@ weight: 2 We are fortunate enough to have found this special place and bold enough to turn our dreams into reality. Together we can show people the beauty of our world and help them find themselves in these hectic times. +
{% end %} diff --git a/content/action/index.md b/content/action/index.md index 8a56205..fbec89a 100644 --- a/content/action/index.md +++ b/content/action/index.md @@ -7,7 +7,9 @@ draft: false weight: 6 --- -{% row(style="center narrow" margin="header" bgPath="img/join_header.png" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/join_header.png" bgStyle="full") %} + +
## Calling Dreamers & Doers @@ -20,6 +22,7 @@ Our primary focus is on **raising $4M USD by June 2023** in order to take on ful +
{% end %} diff --git a/content/activities/index.md b/content/activities/index.md index 6e1b209..9b9b9fc 100644 --- a/content/activities/index.md +++ b/content/activities/index.md @@ -7,7 +7,9 @@ draft: false weight: 4 --- -{% row(style="center narrow" margin="header" bgPath="img/activities_header_2.png" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/activities_header_2.png" bgStyle="full") %} + +
## Experience Authentic Paradise @@ -15,6 +17,8 @@ weight: 4 No worries. Take it easy. Slowly, slowly, or "Pole, pole," as they say on the island. We have plenty of activities and experiences for eco-conscious and nature-loving travelers. +
+ {% end %} {% row(style="center" margin="narrow" padding="top") %} diff --git a/content/home/index.md b/content/home/index.md index 114fa25..c2f380e 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -9,7 +9,9 @@ weight: 1 -{% row(style="center narrow" margin="header" bgPath="img/new_home.png" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/new_home.png" bgStyle="full") %} + +
## Welcome to Eden @@ -19,54 +21,77 @@ On the west coast of Zanzibar sits a beautiful and historical community space fo *We invite you to use the chat on the bottom-right of your screen to get assistance.* +
+ {% end %}
-{% row(style="center narrow" margin="header" bgPath="img/ruins_big.jpg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/ruins_big.jpg" bgStyle="full") %} + +
## [About](/about) Learn more about our project and who we are. +
+ {% end %}
-{% row(style="center narrow" margin="header" bgPath="img/location_big.jpg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/location_big.jpg" bgStyle="full") %} + +
## [Location](/location) Get to know where we are and its history. +
+ {% end %}
-{% row(style="center narrow" margin="header" bgPath="img/activities_big.png" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/activities_big.png" bgStyle="full") %} + +
## [Activities](/activities) Find out what paradise has to offer. +
+ {% end %}
-{% row(style="center narrow" margin="header" bgPath="img/protection_big.jpg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/protection_big.jpg" bgStyle="full") %} + +
## [Protection](/protection) Discover how we aim to preserve this place. +
+ {% end %}
-{% row(style="center narrow" margin="header" bgPath="img/coown_big.png" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/coown_big.png" bgStyle="full") %} + +
## [Action](/action) + Get involved in turning dream into reality. +
+ {% end %} \ No newline at end of file diff --git a/content/location/index.md b/content/location/index.md index 3c064c1..af9425d 100644 --- a/content/location/index.md +++ b/content/location/index.md @@ -8,7 +8,9 @@ weight: 3 --- -{% row(style="center narrow" margin="header" bgPath="img/luxury.jpeg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/luxury.jpeg" bgStyle="full") %} + +
## Our Location @@ -18,6 +20,8 @@ You can find us on the west coast of Zanzibar, alongside 150 meters of mangrove- +
+ {% end %} {% row(style="center" margin="narrow" padding="top") %} diff --git a/content/protection/index.md b/content/protection/index.md index a1643d9..5d10411 100644 --- a/content/protection/index.md +++ b/content/protection/index.md @@ -9,7 +9,9 @@ weight: 4 -{% row(style="center narrow" margin="header" bgPath="img/protectheader.jpg" bgStyle="full") %} +{% row(style="center narrow" margin="tight" bgPath="img/protectheader.jpg" bgStyle="full") %} + +
## Programs to Protect @@ -19,6 +21,7 @@ By creating our own paradise we have a responsibility to the planet. Most of the +
{% end %} diff --git a/static/images/logo_placeholder_eden_small.png b/static/images/logo_placeholder_eden_small.png new file mode 100644 index 0000000000000000000000000000000000000000..f68b13bc8b62e226d2197d640d33c5732591dcc2 GIT binary patch literal 6739 zcmZ{pbx;&w*Y=l??k?%2rE^hoNy%jqaOqm48wqKYZV&`SmTs03q!w5}LQ=X*K&b^O z316S*o%v?IZ|0kO&bel;Gr#*ff8GDwaRz!Cq(n?a004kgOA`$FrPV$UoBlV{JlqH_(UX(oul{vEG!RiJt)=$BH#l6 zz%Zi)R))S_Iw}b4v@-VF?+Gs4lv!IZ@bM|%;o+c&B|%hBoJVWtmLO2Uv^54<qEr4M8ckx)-mmL@@~t3rJNGguET4O2B{)O= zzAx$YHdLWU(fe58Hot2e6m2TA3Vo2?Vi3fKJR+}9HvYv+s@nJ)cEU9(Kpw(ZgL zCs9lqa~4sT53G$Pw$u(ZT_V6A2->`NyYh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Z&x|aog+Cd=}Sw%jGF!yD*hoo zSM~3I_~K1F4m3T4YcMbE=7@PIZLUuJT?_8;=k?YOKnJ>Mao4@&(&PVyum4JZ+hj2P zo;myPuS48d&D2-b!_CdX-52oM8)OdxE34Z-5AqKX^M->Yq=cM7GO}`FGIBC95<3#4#Q!%WH!wB)9|O=* L(*xJ3SV#U34AI3J literal 0 HcmV?d00001 diff --git a/templates/partials/header.html b/templates/partials/header.html index 47a58ce..6972d5c 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -12,7 +12,7 @@ function toggleMenu(button) { if (displayedMenu === button.id.split("-")[0]) { - button.className = button.className.replace(" text-blue-500 bg-stone-200 sm:bg-transparent", " text-gray-900"); + button.className = button.className.replace(" text-green-500 bg-stone-200 sm:bg-transparent", " text-gray-900"); hideMenu(button.id.split("-")[0]); button.lastElementChild.className = button.lastElementChild.className.replace("rotate-0", "-rotate-90") displayedMenu = ""; @@ -20,7 +20,7 @@ else { showMenu(button.id.split("-")[0]); button.lastElementChild.className = button.lastElementChild.className.replace("-rotate-90", "rotate-0") - button.className = button.className.replace(" text-gray-900", " text-blue-500 bg-stone-200 sm:bg-transparent"); + button.className = button.className.replace(" text-gray-900", " text-green-500 bg-stone-200 sm:bg-transparent"); displayedMenu = button.id.split("-")[0] } } @@ -79,7 +79,7 @@ buttons.forEach((button) => { button.addEventListener( 'click', function() { handleClick(button) }); }) - document.getElementById("mobile-learn-btn").addEventListener( 'click', toggleMenu); + //document.getElementById("mobile-learn-btn").addEventListener( 'click', toggleMenu); } @@ -97,33 +97,33 @@ {% else %}
{% set header_class = config.extra.header_class | default(value='') %} -
+