Compare commits

...

18 Commits

Author SHA1 Message Date
c923ad79be update favicon 2023-11-07 15:34:11 +02:00
Reem Khamis
d5b0048cc4 add LICENSE 2023-08-07 15:23:53 +03:00
2b0e268d61 fix conflict 2023-05-28 16:17:47 +03:00
Ehab-hassan
9c55ad57a7
Update README.md 2023-05-28 12:21:06 +03:00
Ehab-hassan
733b93f6d4
Update README.md 2023-05-28 12:20:05 +03:00
Peter Nashaat
f0c9f5fd4a new autodep workflow 2023-05-25 12:44:32 +00:00
268f349193 update css 2023-05-14 10:06:28 +02:00
b57586ebf8 update css 2023-05-14 09:55:27 +02:00
sasha-astiadi
6b9036dc90
Update README.md 2023-05-12 17:40:58 +02:00
5a90bb229c update css 2023-05-11 12:05:45 +02:00
remrekoc
96ae724ded Merge branch 'main' of https://github.com/ourworld-tsc/www_ourparadise_new 2023-04-20 14:46:39 +03:00
remrekoc
124cbff78e downsize images 2023-04-20 14:43:40 +03:00
remrekoc
6c12cfe3c3 booking links 2023-04-20 14:32:52 +03:00
sasha-astiadi
e3c49ef8b1
Update README.md 2023-04-19 16:54:29 +02:00
a42473d525 OP to Eden 2023-03-14 14:07:20 +03:00
sasha-astiadi
df9045133c edit 2023-03-09 23:20:56 +08:00
sasha-astiadi
b8f3491bf8 edit 2023-03-09 23:19:30 +08:00
sasha-astiadi
bfa1ca4488 edit 2023-03-09 23:09:19 +08:00
98 changed files with 394 additions and 363 deletions

View File

@ -1,23 +0,0 @@
name: zanzibar.ourworld.tf
on:
push:
branch: [main]
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on zanzibar.ourworld.tf
uses: appleboy/ssh-action@master
with:
host: zanzibar.ourworld.tf
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/www_ourparadise_new/
git log -1
git restore .
git pull
bash build.sh

24
.github/workflows/tf_update_dev.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: www2.zanzibar.ourworld.tf
on:
push:
branches: [ development ]
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www2.zanzibar.ourworld.tf
uses: appleboy/ssh-action@master
with:
host: www2.zanzibar.ourworld.tf
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/www2/www_eden/
git log -1
git restore .
git pull
sed -i "s/https:\/\/zanzibar.ourworld.tf/https:\/\/www2.zanzibar.ourworld.tf/g" config.toml
./build.sh

24
.github/workflows/tf_update_prod.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: zanzibar.ourworld.tf
on:
push:
branches: [ master ]
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on zanzibar.ourworld.tf
uses: appleboy/ssh-action@master
with:
host: zanzibar.ourworld.tf
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/www_eden/
git log -1
git restore .
git pull
sed -i "s/https:\/\/www2.zanzibar.ourworld.tf/https:\/\/zanzibar.ourworld.tf/g" config.toml
./build.sh

201
LICENSE Normal file
View File

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright Incubaid NV Belgium
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

106
README.md
View File

@ -1,106 +1,46 @@
# OUR PARADISE Website (Updated)
# EDEN Website (Updated)
website on https://zanzibar.ourworld.tf
Production (master branch) [www.zanzibar.ourworld.tf](https://www.zanzibar.ourworld.tf/)
## Developers
Staging (development branch) [www2.zanzibar.ourworld.tf](https://www2.zanzibar.ourworld.tf/)
A website created using Zola, a static site generator.
The official website of Eden: A Co-Living Community for Change-Makers & Digital Nomads
- The contents of the pages reside in the markdown files in /content (written in CommmonMark)
- The pages are rendered using HTML templates with Tailwind CSS framework in /templates
[https://zanzibar.ourworld.tf/](https://zanzibar.ourworld.tf/)
### Getting Started
Last Updated: March 2023
This repository is meant to use as a template for static sites.
## Contribution
To use this repository as a template, simply:
Feel free to [create a new issue](https://github.com/ourworld-tsc/www_ourparadise_new/issues) to report an error on the website, or if you have any suggestions on website improvements.
- clone repository
- add your own content to templates directory (see more below)
- [install Zola](https://www.getzola.org/documentation/getting-started/installation/),
- run `npm install` to install dependencies
- run `npm run start`
## Administrators
[ThreeFold's Web Admins](https://github.com/orgs/threefoldfoundation/teams/team_web_admin)
### How to create pages using this template
## Direct Contribution Procedure
#### Structure of the content directory
![readme](https://user-images.githubusercontent.com/43240801/236867088-56c95abd-510c-4202-b0c5-317cdfb75cb3.png)
Every index.md file in a content directory corresponds to a page, and the landing page is content/\_index.md.
The path of each page is simply its path relavant to the root of the content directory.
It is highly important to follow this procedure to contribute to the website content. <br>
__WARNING__: DO NOT commit straight into __master__ / __development__ branch.
Ex:
content/\_index.md -> yoururl.com/
content/blog/\_index.md -> yoururl.com/blog
content/careers/index.md or content/careers.md -> yoururl.com/careers
1. Create an Issue
Feel free to [create a new issue](https://github.com/threefoldfoundation/www_threefold_io/issues/new) to report an error on the website, or if you have any suggestions on website improvements.
#### Section Templates
2. Make your own branch from __'development'__ branch.
by creating a new branch from 'Master' you will be provided with the latest copy of the live website content.
##### Blog.html
3. Add your edits into your own branch via code editor locally, and push your local changes online. WARNING: DO NOT add your edits straight into __master__ / __development__ branch.
The blog page is created by default if there is a blog folder in the content directory. The blog page consists of a featured post row, a paginated grid of posts sorted by recency, and a side nav of post categories and featured posts.
5. Create a PR to merge your own branch into '**development**', and assign one of [ThreeFold's Web Admins](https://github.com/orgs/threefoldfoundation/teams/team_web_admin) on your PR as reviewer, or assign @sasha-astiadi as reviewer.
Blog posts can have categories, and can be filtered by said categries. To add a new category simply define the posts category in the yaml header of the blog's index.md file. See /content/blog/2019/01/post-3/index.md for example. The side navigation and category based listing will be automatically updated.
7. When PR is approved, you can see your changes on staging env on www2.threefold.io (development branch)
To make a blog post featured, simply add an isFeatured attribute to the yaml header of the blog post. The most recent featured blog post wiil be displayed on the heading row of the blog page, and the rest will be displayed under featured posts in the side nav. See /content/blog/2019/03/post-5/index.md for implementation.
8. Admin will then create a PR to merge 'development' into into '**master**' (production branch)
##### Section.html
10. When PR is approved, you can see your changes live on production (master branch).
The default section template, displays section body without styling (except for margins), and displays subpages of the section below. The subpages of the page are displayed as small summaries of pages with title, description, and categories, as rendered by partials/pageBox.html. The subpages are grouped by the taxonomy name passed in as the "group_pages_by" extra attribute, defined in the section's yaml header.
#### Creating custom pages
To create your own page, simply create a markdwn file following the examples provided above.
By default, the markdown file will be displayed plainly as it is.
#### Page templates
If you wish to display your markdown files in a specific page template, simply define the template you would like to use in the yaml header of your markdown file. For instance, the blogPage.html template displays blog posts with author info, date, side margins, and a hero image on top of the post. See any blog page in /content for implementation.
#### Shortcodes
To give website creators freedom in styling without necessitating getting outside of the /content directory and in to the html files, the template has a few features.
- #### row.html shortcode
Markdown only goes vertical, but this shortcode allows one to add horizontal elements to their web pages. Simply use the {% row() %} {% end %} syntax and place your content in between. The row shortcode can also take a bgPath parameter if you want your row to have a background. (see /content/careers/index.html)
You can create columns in your row by using three vertical bars. ( ||| )
You can fill in your columns with regular markdown, but they can also be empty.
- #### menu.html
Just like row, menu renders a row with columns split by ( ||| ). However, menu is specifically used to create menu objects for expandible header items. The menu shortcode supports button shortcodes in itself, and provides styling for the menu.
- #### button.html
A simple button shortcode that takes a body and displays it inside a button that is animated on hover. The button also is entirely clickable, and navigates to the first of if any children link elements.
- #### mermaid.html
Simple mermaid shorcode that can be used to create mermaid diagrams in markdown. Also supported in row shortcode.
[Mermaid]("https://mermaid-js.github.io/mermaid/#/")
- #### annotation.html
Simple annotation shorcode that can be used to create annotation objects in markdown.
(note: inline and inline end qualifiers do not work.)
[Annotations]("https://squidfunk.github.io/mkdocs-material/reference/annotations/#usage")
### Image sizing with source paths
You can size your markdown images by adding #small, #medium or #large at the end of the images source url.
See /content/\_index.md for implementation.
#### Header & Footer
The header and footer are also created from markdown files in the content directory. In /content/header/\_index.md, each header item is bulleted. If a header item has a row beneath it, the row will be displayed as a sub-menu on click. Otherwise, if header item is a link, it will simply navigate to the linked page.
The footer, likewise, is structured using the row shortcode. However the left section with page summary is built in. To edit the site destcription, one should edit the description (in the yaml header) of the footer md file. To edit the social links, simply add the social outlets name and your link into the socialLinks dictionary attribute on the yaml header of the footer/\_index.md. If a social icon exists for the social outlet, the link wiill be automatically rendered within the icon, displayed in the footer.
### Resources & References
This project was started using a [Zola Tailwind starter set](https://github.com/brycewray/zola_twcss)
Some templates were created using [Tailwind UI](https://tailwindui.com)

View File

@ -67,5 +67,5 @@ paginate_by = 2
paginate_path = "blog-posts"
[extra]
header_class = "freeflow"
footer_class = "freeflow"
header_class = "customize"
footer_class = "customize"

View File

@ -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
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 MiB

After

Width:  |  Height:  |  Size: 415 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 MiB

After

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 MiB

After

Width:  |  Height:  |  Size: 418 KiB

View File

@ -9,7 +9,9 @@ weight: 2
<!-- section 1 (JP) -->
{% row(style="center narrow" margin="header" bgPath="img/opwhy.jpg" bgStyle="full") %}
{% row(style="center narrow" margin="tight" bgPath="img/opwhy.jpg" bgStyle="full") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## About Us
@ -17,12 +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.
<br>
<br>
<br>
<br>
<br>
<br>
</div>
{% end %}
@ -78,13 +75,13 @@ Primarily we are focused on building **[a decentralized Internet](https://threef
{% row(bgColor="#FFFFFF" margin="moderate" padding="bottom" id="botanical") %}
![Purpose](img/purpose.jpg#medium)
![Purpose](img/purpose.jpg#mx-auto)
|||
### Our Purpose
<p>We aim to provide a space in which people feel at home and can create, live, work, heal, taste, learn, and experience. Eden will be a co-owned space in line with nature which will be fully sustainable and organic. The unique environment around us makes it possible from Chumbe Island to the mangroves, the beach and sea, the ruins, the botanical garden.)</p>
We aim to provide a space in which people feel at home and can create, live, work, heal, taste, learn, and experience. Eden will be a co-owned space in line with nature which will be fully sustainable and organic. The unique environment around us makes it possible from Chumbe Island to the mangroves, the beach and sea, the ruins, the botanical garden.
#### **Now or In-Motion**
@ -125,6 +122,6 @@ Primarily we are focused on building **[a decentralized Internet](https://threef
|||
![Manifesto](img/manifesto.png#medium)
![Manifesto](img/manifesto.png#mx-auto)
{% end %}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 351 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 KiB

After

Width:  |  Height:  |  Size: 506 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## Calling Dreamers & Doers
@ -20,10 +22,7 @@ Our primary focus is on **raising $4M USD by June 2023** in order to take on ful
<button>[Investment Paper: Soon]()</button>
<button>[Get In Touch](https://docs.google.com/forms/d/e/1FAIpQLSe33Kz4pi3qnNtv115cgSnKCYHZTxZxtPoZKXbaBcWgNbd2qw/viewform)</button>
<br>
<br>
<br>
<br>
</div>
{% end %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 KiB

After

Width:  |  Height:  |  Size: 589 KiB

View File

@ -13,7 +13,7 @@ weight: 6
### Activities
Friends of OurParadise, Chumbe Island is one of the world's most successful ecotourism projects. In 1994 the reef surrounding Chumbe island was created as Tanzania's first Marine National Park. The island itself, covered with lush mangrove forest, is a designated forest reserve. Trips to Chumbe leave from our property each day.
Friends of Eden, Chumbe Island is one of the world's most successful ecotourism projects. In 1994 the reef surrounding Chumbe island was created as Tanzania's first Marine National Park. The island itself, covered with lush mangrove forest, is a designated forest reserve. Trips to Chumbe leave from our property each day.
<button>[<<< On the Water](/activities/boats)</button>
<button>[Spa Experience >>>](/activities/spa)</button>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 884 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## Experience Authentic Paradise
@ -15,12 +17,7 @@ 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.
<br>
<br>
<br>
<br>
<br>
<br>
</div>
{% end %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -1,165 +0,0 @@
---
title: "Header"
insert_anchor_links: "left"
template: "partials/header.html"
extra:
logoPath: "images/black_threefold.png"
button_Path: "/images/gettft_white.png"
---
- [Mission]("/mission")
- [Grid]("/grid")
- [Build]("/build")
- [Farm]("/farm")
- [TFT]("/tft")
- Ecosystem
{% row() %}
<button onclick="window.location.href='/people'">
[Our People](/people)
<br>
<p class="text-sm">Team, stories, & more</p>
</button>
|||
<button onclick="window.location.href='/partners'">
[Our Partners](/partners)
<br>
<p class="text-sm">Explore Our Partners</p>
|||
<button onclick="window.location.href='/community'">
[ThreeFold Community](/community)
<br>
<p class="text-sm">Welcome To The Fold</p>
</button>
|||
<button onclick="window.location.href='/developer'">
[Developer Resources](/developer)
<br>
<p class="text-sm">Join The Developer Community</p>
</button>
{% end %}
- MoreInfo
{% row(style="wide") %}
#### Tools
<button onclick="openInNewTab('https&#58;//library.threefold.me/info/threefold#/tokens/threefold__threefold_connect')">
[ThreeFold Connect](https://library.threefold.me/info/threefold#/tokens/threefold__threefold_connect)
<br>
<p class="text-sm">TFT Wallet, 2FA, & More</p>
</button>
<button onclick="openInNewTab('https&#58;//dashboard.grid.tf/')">
[Dashboard](https://dashboard.grid.tf/)
<br>
<p class="text-sm">Portal & Capacity Explorer</p>
</button>
<button onclick="openInNewTab('https&#58;//play.grid.tf')">
[Weblet Playground](https://play.grid.tf)
<br>
<p class="text-sm">Deploy a VM & More</p>
|||
#### Resources
<button onclick="openInNewTab('https&#58;//library.threefold.me/info/threefold#/')">
[Library](https://library.threefold.me/info/threefold#/)
<br>
<p class="text-sm">Explore the Documentation</p>
</button>
<button onclick="openInNewTab('https&#58;//library.threefold.me/info/manual/#/manual__manual3_home_new')">
[Manual](https://library.threefold.me/info/manual/#/manual__manual3_home_new)
<br>
<p class="text-sm">Get Started on the Grid</p>
</button>
<button onclick="openInNewTab('https&#58;//github.com/')">
[GitHub](https://github.com/)
<br>
<p class="text-sm">Code Library & Documentation</p>
|||
#### Dive Deeper
<button onclick="window.location.href='/blog'">
[Blog](/blog)
<br>
<p class="text-sm">Explore the Blogs</p>
</button>
<button onclick="window.location.href='/newsroom'">
[Newsroom](/newsroom)
<br>
<p class="text-sm">Check the Latest Updates</p>
</button>
<button onclick="openInNewTab('https&#58;//intro.threefold.me')">
[Intro Docs](https://intro.threefold.me)
<br>
<p class="text-sm">Perfect for Newcomers</p>
|||
#### Support & Help
<button onclick="openInNewTab('https&#58;//forum.threefold.io')">
[Forum](https://forum.threefold.io)
<br>
<p class="text-sm">Questions & Feedback</p>
<button onclick="window.location.href='/support'">
[Support](/support)
<br>
<p class="text-sm">Speak Live with a Human</p>
</button>
<button onclick="window.location.href='/careers'">
[Careers](/careers)
<br>
<p class="text-sm">Join the Team</p>
</button>
{% end %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 967 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 795 KiB

After

Width:  |  Height:  |  Size: 573 KiB

View File

@ -9,7 +9,9 @@ weight: 1
<!-- section 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## 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.*
</div>
{% end %}
<br>
{% 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## [About](/about)
Learn more about our project and who we are.
</div>
{% end %}
<br>
{% 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## [Location](/location)
Get to know where we are and its history.
</div>
{% end %}
<br>
{% 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## [Activities](/activities)
Find out what paradise has to offer.
</div>
{% end %}
<br>
{% 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## [Protection](/protection)
Discover how we aim to preserve this place.
</div>
{% end %}
<br>
{% 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") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## [Action](/action)
Get involved in turning dream into reality.
</div>
{% end %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 KiB

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 KiB

After

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -8,7 +8,7 @@ weight: 3
---
<!-- section 1 (JP) -->
{% row(style="center narrow" margin="header" bgPath="img/chumbe2.png" bgStyle="full") %}
{% row(style="center narrow" margin="header" bgPath="img/chumbe_header.png" bgStyle="full") %}
# Chumbe Island

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -7,7 +7,7 @@ draft: false
weight: 3
---
{% row(style="center narrow" margin="header" bgPath="img/history_header.jpg" bgStyle="full") %}
{% row(style="center narrow" margin="header" bgPath="img/history_header.png" bgStyle="full") %}
## Take a Look Back

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 972 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

After

Width:  |  Height:  |  Size: 641 KiB

View File

@ -8,7 +8,9 @@ weight: 3
---
<!-- section 1 (Locations) -->
{% row(style="center narrow" margin="header" bgPath="img/luxury.jpeg" bgStyle="full") %}
{% row(style="center narrow" margin="tight" bgPath="img/luxury.jpeg" bgStyle="full") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## Our Location
@ -18,12 +20,7 @@ You can find us on the west coast of Zanzibar, alongside 150 meters of mangrove-
<button>[Learn the History](/location/history)</button>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
{% end %}
@ -39,31 +36,31 @@ Discover authentic paradise. Roughly ten minutes from world heritage site Stone
{% row(style="center" margin="narrow" padding="none") %}
![Jungle](img/mbweni.jpg)
![Jungle](img/mbweni.jpg#mx-auto)
#### **Jungle Paradise**
For short term stays. A beachfront hotel that sits beside historical ruins, all surrounded by beautiful lush gardens featuring a wide variety of native and exotic plants.
<button>[Info](/location/mbweni)</button>
<a href=https://hotels.cloudbeds.com/reservation/DNw5Ek target=“_blank”> <button> Stay </button> </a>
<a href=https://hotels.cloudbeds.com/reservation/DNw5Ek target=“_blank”> <button> Book a Stay </button> </a>
|||
![Seaview Apartments](img/seaview_apts.png)
![Seaview Apartments](img/seaview_apts.png#mx-auto)
#### **Seaview Apartments**
For long-term stays. Two apartment buildings, with four three-bedroom spaces and one rooftop penthouse each. Private beach and direct access to Jungle Paradise.
<button>[Info: Coming Soon]()</button>
<button>[Stay: Coming Soon]()</button>
<a href='https://www.airbnb.com/rooms/862002310134454615?guests=1&adults=1&s=67&unique_share_id=845bb97b-f61c-4540-9f50-8d20dabfb042&source_impression_id=p3_1681142141_s2c4V86U9bhXi9Jv' target="_blank"> <button> Book a Stay </button> </a>
{% end %}
{% row(style="center" margin="narrow" padding="none") %}
![Gardens](img/ruins.jpg)
![Gardens](img/ruins.jpg#mx-auto)
##### **Mbweni Ruins**
@ -73,19 +70,19 @@ We share space with historic ruins of a school for freed slaves (1874) with asso
|||
![Gardens](img/gardens.jpg)
![Gardens](img/gardens.jpg#mx-auto)
#### **Botanical Gardens**
The Gardens here are beautiful and mature, with more than 280 tree and plant species, many of which are very old and even endemic to the island.
<button>[Programs to Protect](/protect)</button>
<button>[Programs to Protect](/protection)</button>
{% end %}
{% row(style="center" margin="narrow" padding="none") %}
![Boats](img/boat.png)
![Boats](img/boat.png#mx-auto)
#### **Boats**
@ -95,7 +92,7 @@ Guests and visitors are invited to book experiences on our two sailing boats
|||
![OurOffice](img/ouroffice.png)
![OurOffice](img/ouroffice.png#mx-auto)
#### **OurOffice**
@ -107,7 +104,7 @@ A three-floor office space perfect for co-working and collaboration. Convenientl
{% row(style="center" margin="narrow" padding="bottom") %}
![Chumbe Island](img/chumbe.jpeg)
![Chumbe Island](img/chumbe.jpeg#mx-auto)
#### **Chumbe Island** (Friends of the Project)
@ -117,7 +114,7 @@ An award-winning private nature reserve, home to one of the world's most pristin
|||
![OurOffice](img/ayurvedic.jpg)
![OurOffice](img/ayurvedic.jpg#mx-auto)
#### **Healing Center: Coming 2023**
@ -129,7 +126,7 @@ The center will combine advanced regenerative healing practices with ancient and
{% row(bgColor="#FFFFFF" margin="moderate" padding="bottom" id="fflow_grid") %}
![map](img/map.png)
![map](img/map.png#mx-auto)
|||
@ -154,7 +151,7 @@ If you need transportation to a different part of the island, simply let us know
{% row(style="center" margin="narrow" padding="bottom") %}
![Regenerative Farm](img/regenerative_farm.jpg)
![Regenerative Farm](img/regenerative_farm.jpg#mx-auto)
#### **Regenerative Farms**
@ -162,7 +159,7 @@ Up to 500 hectares of fertile Tanzanian land for the purpose of sustainable farm
|||
![](img/ecobeach.png)
![](img/ecobeach.png#mx-auto)
#### **Eco Beach Villas**

Binary file not shown.

Before

Width:  |  Height:  |  Size: 722 KiB

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 443 KiB

View File

@ -8,7 +8,7 @@ weight: 3
---
<!-- section 1 (JP) -->
{% row(style="center narrow" margin="header" bgPath="img/jungle1.png" bgStyle="full") %}
{% row(style="center narrow" margin="header" bgPath="img/mbweni_header.png" bgStyle="full") %}
## Jungle Paradise

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 KiB

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 792 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 MiB

After

Width:  |  Height:  |  Size: 746 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 681 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -9,7 +9,9 @@ weight: 4
<!-- section 1 (JP) -->
{% row(style="center narrow" margin="header" bgPath="img/protectheader.jpg" bgStyle="full") %}
{% row(style="center narrow" margin="tight" bgPath="img/protectheader.jpg" bgStyle="full") %}
<div class="bg-gray-200/50 py-4 px-4 rounded-md">
## Programs to Protect
@ -19,12 +21,7 @@ By creating our own paradise we have a responsibility to the planet. Most of the
<button>[Support the Project](/action)</button>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
{% end %}

View File

@ -144,7 +144,7 @@ img[src*="#fig"] {
}
button:hover {
color: #984210;
color: #464646;;
}
button {
@ -173,28 +173,30 @@ font-weight: 500;
white-space: normal;
}
header .freeflow {
header .customize {
background-color: transparent;
position: absolute;
}
footer .freeflow {
width: 100vw;
footer .customize {
/* width: 100vw; */
background-color: #FFFFFF;
display: flex;
flex-direction: column;
align-items: center;
padding: 40px;
padding-top: 40px;
padding-bottom: 40px;
}
footer .freeflow img {
footer .customize img {
width: 60px;
}
header .freeflow div {
header .customize div {
box-shadow: none;
text-transform: uppercase;
text-transform: capitalize;
font-weight: 700 !important;
}
@ -211,6 +213,10 @@ a {
border: none;
}
a:hover{
color: #464646;
}
header {
font-family: "Work Sans";
}

BIN
static/images/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -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);
}
</script>
@ -97,33 +97,33 @@
{% else %}
<header id="header-container">
{% set header_class = config.extra.header_class | default(value='') %}
<div class="{{'z-10 bg-white fixed w-screen ' ~ header_class}}">
<div class="{{'z-10 header_BG fixed w-screen max-w-full ' ~ header_class}}">
<div class="relative z-50 shadow">
<div class="mx-auto flex z-50 shadow justify-between items-center pl-6 pr-2 md:pr-0 lg:py-5 md:px-12 py-2 lg:px-20 lg:justify-start lg:space-x-20">
<div>
<a href="/" class="flex">
<img class="w-56 h-auto sm:w-15" src="{{logo_path}}" alt="FreeFlow Logo" />
<img class="logo" src="{{logo_path}}" alt="Logo" />
</a>
</div>
<div class="-mr-2 -my-2 lg:hidden">
<button id="hamburger-btn" type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2">
<!-- Heroicon name: menu -->
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<svg class="h-6 w-6 text-black" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
<button id="close-hamburger-btn" type="button" class="hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2">
<!-- Heroicon name: x -->
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<svg class="h-6 w-6 text-black" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
<div class="hidden lg:flex-1 lg:flex lg:items-center lg:justify-end lg:space-x-12">
<nav class="flex space-x-10">
<nav class="flex space-x-6">
{% for page in section.pages %}
{% if page.extra.menu %} {% continue %} {% endif %}
<a href="{{page.permalink}}" class="text-lg leading-6 text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
<a href="{{page.permalink}}" class="text-lg uppercase font-semibold leading-6 text-black focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
{{page.title}}
</a>
<div class="relative">
@ -133,7 +133,7 @@
{% if subsection == "footer/_index.md" %} {% continue %} {% endif %}
{% set button_id = subsection ~ "-menu-btn" | slugify %}
<div class="relative">
<button type="button" id="{{button_id}}" class="nav_btn text-gray-900 group inline-flex items-center space-x-2 text-lg leading-6 hover:text-blue-300 focus:outline-none transition ease-in-out duration-150">
<button type="button" id="{{button_id}}" class="nav_btn text-gray-900 group inline-flex items-center space-x-2 text-lg leading-6 hover:text-green-300 focus:outline-none transition ease-in-out duration-150">
<span>{{ subsection }}</span>
<div class="-rotate-90 transition-transform"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0z" fill="none"/><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg></div>
</button>
@ -173,7 +173,7 @@
<div id="hamburger" class="hidden fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right lg:hidden">
<div>
<div class="shadow-xs h-screen bg-white divide-y-2 divide-gray-50">
<div class="pb-6 sm:px-12 md:px-16 lg:px-20 space-y-6 sm:space-y-8 sm:pb-8 max-h-screen overflow-y-auto">
<div class="pt-6 sm:px-12 md:px-16 lg:px-20 space-y-6 sm:space-y-8 sm:pb-8 max-h-screen overflow-y-auto">
<nav class="flex flex-col justify-around pb-12">
{% for page in section.pages %}
@ -223,4 +223,3 @@
{% endif %}

View File

@ -41,7 +41,7 @@ Parameters:
{% if 2 < columns | length %}
{% set row_class = row_class ~ " lg:items-start" %}
{% else %}
{% set row_class = row_class ~ " lg:items-center" %}
{% set row_class = row_class ~ " items-center" %}
{% endif %}
{% set col_class = "flex-1 mb-4 md:mb-12 lg:mb-0 lg:mx-2 xl:mx-4" %}
@ -56,15 +56,19 @@ Parameters:
<!-- Padding -->
{% set padding_class = " py-8 md:py-8 lg:py-28" %}
{% set padding_class = " py-8 md:py-8 lg:py-24" %}
{% if padding %}
{% if "none" in padding %}
{% set padding_class = " py-0" %}
{% elif "top" in padding %}
{% set padding_class = " py-2 md:py-4 lg:pt-28" %}
{% set padding_class = " py-2 md:py-4 lg:pt-24" %}
{% elif "bottom" in padding %}
{% set padding_class = " py-2 md:py-4 lg:pb-28" %}
{% set padding_class = " py-2 md:py-4 lg:pb-24" %}
{% elif "both" in padding %}
{% set padding_class = " py-10 md:py-4 lg:py-24" %}
{% elif "headerboth" in padding %}
{% set padding_class = " py-24 md:py-4 lg:py-24" %}
{% endif %}
{% endif %}
@ -87,11 +91,13 @@ Parameters:
{% elif "moderate" in margin %}
{% set margin_class = " mx-8 sm:mx-16 md:mx-20 lg:mx-28" %}
{% elif "narrow" in margin %}
{% set margin_class = " mx-12 sm:mx-20 md:mx-28 lg:mx-40" %}
{% set margin_class = " mx-6 sm:mx-20 md:mx-28 lg:mx-40" %}
{% elif "tight" in margin %}
{% set margin_class = " mx-20 sm:mx-32 md:mx-40 lg:mx-80 xl:mx-96" %}
{% set margin_class = " mx-6 sm:mx-32 md:mx-40 lg:mx-80" %}
{% elif "header" in margin %}
{% set margin_class = " mx-12 sm:mx-20 md:mx-28 lg:mx-40 my-10" %}
{% set margin_class = " mx-6 sm:mx-20 md:mx-28 lg:mx-40 mt-10 lg:mt-0" %}
{% elif "withContainer" in margin %}
{% set margin_class = " mx-8 " %}
{% endif %}
{% if "lean-left" in margin %}
{% set margin = margin_class | replace(from=" ", to=" first:")%}
@ -117,7 +123,7 @@ Parameters:
{% if style %}
{% if "center" in style %}
{% set row_class = row_class ~ " text-center items-center mx-auto " %}
{% set row_class = row_class ~ " text-center items-center " %}
{% set col_class = col_class ~ " flex-1 " %}
{% endif %}
@ -126,6 +132,13 @@ Parameters:
{% set col_class = col_class ~ " flex-1 " %}
{% endif %}
<!-- reverse col at mobile -->
{% if "reverse" in style %}
{% set row_class = "flex flex-col-reverse md:flex-row items-center mx-8" %}
{% endif %}
<!-- makes row semi-full screen width, strips margins -->
{% if "between" in style %}
{% set row_class = row_class ~ " lg:max-w-6xl " %}
@ -195,7 +208,7 @@ Parameters:
{% set no_margins = " -mx-8 md:-mx-12 lg:-mx-16 xl:-mx-20" %}
<div id="{{anchor_link}}" class="{{'relative justify-center flex overflow-hidden ' ~ div_class }}" style="{{styles}}">
<div id="{{anchor_link}}" class="{{'relative justify-center flex overflow-hidden items-center ' ~ div_class }}" style="{{styles}}">
<div id="{{row_id}}" class="{{row_class}}" style="min-width: -webkit-fill-available; min-width: -moz-available">
{% for column in columns%}