...
This commit is contained in:
48
build.sh
48
build.sh
@@ -1,10 +1,46 @@
|
|||||||
#!/bin/bash
|
echo "Starting build..."
|
||||||
set -ex
|
|
||||||
|
|
||||||
export BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
SOURCE=${BASH_SOURCE[0]}
|
||||||
cd "${BASE}"
|
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
|
||||||
@@ -42,14 +42,14 @@
|
|||||||
<div class="flex items-center justify-between space-x-2 mb-1">
|
<div class="flex items-center justify-between space-x-2 mb-1">
|
||||||
<div class="font-medium text-white">Phase II</div>
|
<div class="font-medium text-white">Phase II</div>
|
||||||
</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">
|
<div class="text-gray-200 font-light">
|
||||||
Open Source Development
|
Open Source Development
|
||||||
<br>60+ Countries
|
<br>50+ Countries
|
||||||
<br>30,000+ Cores
|
<br>50,000+ Cores
|
||||||
<br>30,000,000 GB of Storage
|
<br>25,000,000 GB of Storage
|
||||||
<br>Signed with Government of ZNZ for a digital FreeZone and Connected Charter City
|
<br>Decentralized reliable compute, network and storage layer for Web 2-3
|
||||||
<br>Multiple global partners want to be part of the global expansion
|
<br>Commitments from wonderful projects to build on top of us.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -63,15 +63,16 @@
|
|||||||
</div>
|
</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="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="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>
|
||||||
<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">
|
<div class="text-gray-200 font-light">
|
||||||
Launch Web 4
|
Introduce a Web4 Phone & Router
|
||||||
<br>Introduce a Web4 Phone & Router
|
<br>Web4 smart contracts for the Web3 world.
|
||||||
<br>Introduce the unbreakable network and storage layer for Web 4
|
|
||||||
<br>Build a network of commercial farmers for optimal performance and uptime
|
|
||||||
<br>Expand the network to +1 Million Nodes
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -85,13 +86,13 @@
|
|||||||
</div>
|
</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="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="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>
|
||||||
<div class="font-semibold text-lg text-gray-400 mb-2">Sovereignty for All</div>
|
<div class="font-semibold text-lg text-gray-400 mb-2">Sovereignty for All</div>
|
||||||
<div class="text-gray-400 font-light">
|
<div class="text-gray-400 font-light">
|
||||||
Internet for All
|
An upgraded Internet for Billions.
|
||||||
<br>Data Sovereignty
|
<br>A planet and people first hybrid of Humans and Machines deliver
|
||||||
<br>Decentralization & Digitization for billions
|
<br>on the promise of Augmented Collective Intelligence
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user