diff --git a/build.sh b/build.sh index 145e65466..000503f1d 100755 --- a/build.sh +++ b/build.sh @@ -1,57 +1,10 @@ -echo "Starting build..." +#!/bin/bash +set -ex -SOURCE=${BASH_SOURCE[0]} -DIR_OF_THIS_SCRIPT="$( dirname "$SOURCE" )" -ABS_DIR_OF_SCRIPT="$( realpath $DIR_OF_THIS_SCRIPT )" - -# TODO: Check if current version is latest to avoid redundant installation -if [[ -f "tailwindcss" ]] -then - rm tailwindcss -fi - -# checks os and architecture for correct release -# https://stackoverflow.com/a/8597411 -echo "Download tailwind..." -ASSET="tailwindcss" - -if [[ "$OSTYPE" == "linux-gnu"* ]]; then - ASSET="$ASSET-linux" -elif [[ "$OSTYPE" == "darwin"* ]]; then - ASSET="$ASSET-macos" -fi -if [[ "$(uname -m)" == "x86_64"* ]]; then - ASSET="$ASSET-x64" -elif [[ "$(uname -m)" == "arm64"* ]]; then - ASSET="$ASSET-arm64" -fi - -curl -sLO "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/${ASSET}" - -# Check if the download size is greater than 20MB -if [[ $(stat -c%s "$ASSET") -lt 20000000 ]]; then - echo "Error: Downloaded file size is less than 20MB, download not ok." - echo "Download url was:$ASSET" - rm "$ASSET" - exit 1 -fi - -chmod +x $ASSET -mv $ASSET tailwindcss +export BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "${BASE}" -# initialized and configures tailwind if not configured -echo "Initializing tailwind..." -if [[ ! -f "tailwind.config.js" ]] -then - ./tailwindcss init - sed -i '' "s| content: \\[\\],| content: \\['./templates/**/*.html'\\],|g" tailwind.config.js -fi +source env.sh -# compiles tailwind css for prod & builds project -echo "Compiling tailwindcss and building zola project..." -rm -rf public static/css -./tailwindcss -i css/index.css -o ./static/css/index.css --minify -zola --root $ABS_DIR_OF_SCRIPT build - -open public/index.html +zola serve \ No newline at end of file diff --git a/content/home/index.md b/content/home/index.md index b1e408850..87afec4a1 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -22,7 +22,7 @@ extra: ## **Self-Healing Data, Network, and Cloud Platform** -Imagine a system which can scale to a planetary level, is compatible with AI, Cloud, Web2, Web3 and Edge IT workloads, has the potential to recover from unforeseen events, provides 100% uptime, and allows any machine and human to communicate over the shortest, most direct path. +Imagine a system which can scale to a planetary level, is compatible with AI, Cloud, Web2, Web3 and Edge IT workloads, has the potential to recover from unforeseen events, capable to provide 100% uptime, and allows any machine and human to communicate over the shortest, most direct path.
@@ -32,8 +32,6 @@ Imagine a system which can scale to a planetary level, is compatible with AI, Cl ||| -![Image](autonomous.png#mx-auto) - {% end %} @@ -65,7 +63,7 @@ Imagine a system which can scale to a planetary level, is compatible with AI, Cl ## **Proven by a global community** -With ThreeFold, individuals, organizations, communities, countries, and network states deploy their own
sovereign infrastructure. The ThreeFold Grid has been live and operational since 2017. +With ThreeFold, individuals, organizations, communities, countries, and network states deploy their own
sovereign infrastructure. Our Proof of Concept Network with 50,000 vCPUs is live and operational. **Version 3.14 is live on Mainnet** diff --git a/templates/partials/home/grid_stats.html b/templates/partials/home/grid_stats.html index 3b5646684..6bd618aa3 100644 --- a/templates/partials/home/grid_stats.html +++ b/templates/partials/home/grid_stats.html @@ -4,7 +4,7 @@

A Global Community

-

With ThreeFold, individuals, organizations, communities, countries, and network states deploy their own sovereign infrastructure. The ThreeFold Grid has been live and operational since 2017.

+

With ThreeFold, individuals, organizations, communities, countries, and network states have the potential to deploy their own sovereign infrastructure. Our Proof of Concept Network with 56,000 vCPUs is operational for years.

Version 3.15 is live on Mainnet.

diff --git a/templates/partials/home/hero.html b/templates/partials/home/hero.html index f6bd69fa7..d69a694cc 100644 --- a/templates/partials/home/hero.html +++ b/templates/partials/home/hero.html @@ -2,7 +2,7 @@

We are Building Web 4

-

Imagine a system built to scale to a planetary level, seamlessly compatible with AI, Cloud, Web2, Web3, and Edge IT workloads. A system that is resilient to unforeseen events, provides 100% uptime, and enables any machine and human to communicate over the shortest, most direct path possible.

+

Imagine a system built to scale to a planetary level, seamlessly compatible with AI, Cloud, Web2, Web3, and Edge IT workloads. A system that is resilient to unforeseen events, capable to provide 100% uptime, and enables any machine and human to communicate over the shortest, most direct path possible.

That's ThreeFold.

Get Started diff --git a/www_projectmycelium_io b/www_projectmycelium_io deleted file mode 160000 index cbe5e7684..000000000 --- a/www_projectmycelium_io +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cbe5e768428912ef2490f227b03dc07773cf03ab