Merge branch 'development_zola' of github.com:threefoldfoundation/www_threefold_io into development_zola

This commit is contained in:
timurgordon
2024-06-25 12:11:02 +03:00
9 changed files with 31 additions and 8 deletions

3
.gitignore vendored
View File

@@ -17,4 +17,5 @@ dist
run*
install*
public
.done
.done
tailwindcss

View File

@@ -12,9 +12,9 @@ This website is administered by [ThreeFold's Web Admins](https://github.com/orgs
## Getting started
1. Install `hero` if you don't have it
```bash
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh
bash /tmp/hero_install.sh
curl -sL https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh | bash
```
1. Clone repository
@@ -23,7 +23,12 @@ bash /tmp/hero_install.sh
3. run playbook to preview website in browser
`hero zola -u https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/playbook` or `bash start.sh`
```bash
#is using branch development_zola
hero zola -u https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/playbook
#or in this repo, which does above
start.sh
```
4. save and publish changes
@@ -31,12 +36,14 @@ bash /tmp/hero_install.sh
This website is built with `hero`, using `zola` under the hood.
Please see
```bash
#push changes
hero git push -f www_threefold_io -m 'some comment'
hero git push -f threefold_data -m 'some comment'
```
Finally, start a browsable local copy of the site that will respond to changes in the source files like this:
Zola will display a local address such as `http://127.0.0.1:1111` which you can click or copy and paste into your browser to view the site on your own machine.
That's it—have fun!

3
content/about/.done Normal file
View File

@@ -0,0 +1,3 @@
mission.png
people.png
people_2.png

1
content/home/.done Normal file
View File

@@ -0,0 +1 @@
node_home.png

10
content/host/.done Normal file
View File

@@ -0,0 +1,10 @@
expand_findyourfit_geometric.png
expand_header.png
farm_new.png
findfit.png
findfitgeometric.png
findyourfit.png
grid_wide_1.png
header_host.png
nodeheader.png
togethericon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

1
content/support/.done Normal file
View File

@@ -0,0 +1 @@
support_header.png

View File

@@ -18,6 +18,7 @@ Then we add the [doctrees]() we will use for the website. When we add a doctree,
We use the following doctrees in our website:
- `threefoldfoundation/threefold_data` for blogs, people and news.
- `threefoldfoundation/www_threefold_io` for site content for pages.
```js
// add collections to the website using their github url
!!website.doctree_add
@@ -25,7 +26,6 @@ We use the following doctrees in our website:
branch: development_zola
pull: true
!!website.doctree_add
url:'https://github.com/threefoldfoundation/threefold_data/tree/development_zola/content'
pull: true

Binary file not shown.