This commit is contained in:
2024-11-23 05:31:33 +03:00
parent 0d7807d297
commit d0e823d699
2 changed files with 59 additions and 22 deletions

View File

@@ -1,10 +1,46 @@
#!/bin/bash
set -ex
echo "Starting build..."
export BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASE}"
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 "Installing & building 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}"
chmod +x $ASSET
mv $ASSET tailwindcss
source env.sh
# 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
zola serve
# 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

View File

@@ -42,14 +42,14 @@
<div class="flex items-center justify-between space-x-2 mb-1">
<div class="font-medium text-white">Phase II</div>
</div>
<div class="font-semibold text-lg text-white mb-2">Traction & Expansion</div>
<div class="font-semibold text-lg text-white mb-2">Global Proof Of Concept</div>
<div class="text-gray-200 font-light">
Open Source Development
<br>60+ Countries
<br>30,000+ Cores
<br>30,000,000 GB of Storage
<br>Signed with Government of ZNZ for a digital FreeZone and Connected Charter City
<br>Multiple global partners want to be part of the global expansion
<br>50+ Countries
<br>50,000+ Cores
<br>25,000,000 GB of Storage
<br>Decentralized reliable compute, network and storage layer for Web 2-3
<br>Commitments from wonderful projects to build on top of us.
</div>
</div>
</div>
@@ -63,15 +63,16 @@
</div>
<div class="fade-in w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] bg-white/5 p-4 rounded-2xl shadow">
<div class="flex items-center justify-between space-x-2 mb-1">
<div class="font-medium text-white">Current Phase</div>
<div class="font-medium text-white">2025</div>
</div>
<div class="font-semibold text-lg text-white mb-2">ThreeFold Commercialization</div>
<div class="font-semibold text-lg text-white mb-2">ThreeFold Web4</div>
<div class="text-gray-200 font-light">
Launch Web 4
<br>Introduce a Web4 Phone & Router
<br>Introduce the unbreakable network and storage layer for Web 4
<br>Build a network of commercial farmers for optimal performance and uptime
Introduce a Web4 Phone & Router
<br>Web4 smart contracts for the Web3 world.
<br>Expand the network to +1 Million Nodes
<br>Quantum Safe Compute, Storage & Network for agent centric Web 4.
<br>Build a network of commercial farmers for optimal performance and uptime
</div>
</div>
</div>
@@ -85,13 +86,13 @@
</div>
<div class="fade-in w-[calc(100%-4rem)] md:w-[calc(50%-2.5rem)] bg-white/5 p-4 rounded-2xl shadow">
<div class="flex items-center justify-between space-x-2 mb-1">
<div class="font-medium text-gray-400">Final Phase</div>
<div class="font-medium text-gray-400">The Result</div>
</div>
<div class="font-semibold text-lg text-gray-400 mb-2">Sovereignty for All</div>
<div class="text-gray-400 font-light">
Internet for All
<br>Data Sovereignty
<br>Decentralization & Digitization for billions
An upgraded Internet for Billions.
<br>A planet and people first hybrid of Humans and Machines deliver
<br>on the promise of Augmented Collective Intelligence
</div>
</div>
</div>