diff --git a/content/footer/_index.md b/content/footer/_index.md index 149022c..1991e20 100644 --- a/content/footer/_index.md +++ b/content/footer/_index.md @@ -14,31 +14,13 @@ extra:
-###### [Learn](https://docs.threefold.io/docs/introduction) - -###### [Host (Farm)](https://docs.threefold.io/docs/category/become-a-farmer) +###### [Manual](https://manual.grid.tf/) ###### [Dashboard](https://dashboard.grid.tf/) -###### [Download TF Connect: iOS](https://apps.apple.com/us/app/3bot-login/id1459845885) +
Download Mycelium
-###### [Download TF Connect: Android](https://play.google.com/store/apps/details?id=org.jimber.threebotlogin&hl=en_US) -||| - -##### COMMUNITY - -
- -###### [Main Chat](https://t.me/threefold) - -###### [Hosting / Farming Chat](https://t.me/threefoldfarmers) - -###### [Grid User Chat](https://t.me/threefoldtesting) - -###### [Forum](https://forum.threefold.io/) - -###### [Support](https://threefoldfaq.crisp.help/en/) ||| @@ -48,13 +30,9 @@ extra:
About
-
Blog
+###### [ThreeFold](https://threefold.io/) -
NewsRoom
- -
Newsletter
- -
Community
+###### [Support](https://threefoldfaq.crisp.help/en/) diff --git a/env.sh b/env.sh index 770564b..2100975 100644 --- a/env.sh +++ b/env.sh @@ -1,3 +1,4 @@ + export NAME='threefoldio' SOURCE=${BASH_SOURCE[0]} @@ -42,7 +43,7 @@ if [[ ! -f "$HOME/hero/bin/tailwindcss" ]]; then pushd /tmp rm -f $ASSET rm -f tailwindcss - curl -sLO "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/${ASSET}" + curl -sLO "https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.17/${ASSET}" FILE_SIZE=$(get_file_size "$ASSET") if [[ $FILE_SIZE -lt 20000000 ]]; then @@ -59,6 +60,8 @@ if [[ ! -f "$HOME/hero/bin/tailwindcss" ]]; then popd fi + +# Zola version and platform-specific binaries are handled in the install functions below check_zola() { if command -v zola &> /dev/null; then echo "Zola is already installed." @@ -88,12 +91,37 @@ install_zola_arch() { # Function to install Zola on macOS install_zola_macos() { echo "Installing Zola on macOS..." - if command -v brew &> /dev/null; then - brew install zola + ZOLA_VERSION="v0.18.0" + + # Determine architecture + if [[ "$(uname -m)" == "arm64" ]]; then + ZOLA_ARCH="aarch64" else - echo "Homebrew is not installed. Please install Homebrew first." + ZOLA_ARCH="x86_64" + fi + + ZOLA_FILE="zola-${ZOLA_VERSION}-${ZOLA_ARCH}-apple-darwin.tar.gz" + ZOLA_URL="https://github.com/getzola/zola/releases/download/${ZOLA_VERSION}/${ZOLA_FILE}" + + echo "Downloading Zola ${ZOLA_VERSION} for ${ZOLA_ARCH}..." + pushd /tmp + curl -sLO "${ZOLA_URL}" + + # Check file size (should be around 8-9MB) + FILE_SIZE=$(get_file_size "$ZOLA_FILE") + if [[ $FILE_SIZE -lt 7000000 ]]; then + echo "Error: Downloaded file size is less than 7MB, download may be incomplete." + rm "$ZOLA_FILE" + popd exit 1 fi + + # Extract and install + tar -xzf "$ZOLA_FILE" + chmod +x zola + mv zola "$HOME/hero/bin/" + rm "$ZOLA_FILE" + popd } if ! check_zola; then @@ -131,6 +159,6 @@ fi # Compile tailwindcss for prod & build project echo "Compiling tailwindcss and building zola project..." rm -rf public static/css + +set +e tailwindcss -i css/index.css -o ./static/css/index.css --minify - - diff --git a/templates/partials/about/about1.html b/templates/partials/about/about1.html index 45c6c53..6217bed 100644 --- a/templates/partials/about/about1.html +++ b/templates/partials/about/about1.html @@ -1,8 +1,11 @@
-
-
- +
+
+ Mobile App Screenshot +
+

About Mycelium

@@ -13,10 +16,7 @@ We aim to build a system that adapts to our growing digital needs while promoting sustainability and security.

-
- Mobile App Screenshot -
+
diff --git a/templates/partials/about/about2.html b/templates/partials/about/about2.html index bf82739..1bc55ed 100644 --- a/templates/partials/about/about2.html +++ b/templates/partials/about/about2.html @@ -1,5 +1,5 @@ -
-
+
+

Our Technology

diff --git a/templates/partials/about/about3.html b/templates/partials/about/about3.html index 708077e..782cacc 100644 --- a/templates/partials/about/about3.html +++ b/templates/partials/about/about3.html @@ -1,7 +1,12 @@ -
+
-
-
+
+
+ + Mobile App Screenshot +
+

BENEFITS

Highly Efficient

@@ -11,12 +16,8 @@ Mycelium's routing algorithms prioritize minimizing latency in data transfer. This ensures that data takes the most direct and efficient route, reducing the time it takes to travel from the source node to the destination node.

-
- {# Mobile App Screenshot #} - Mobile App Screenshot -
+ +
diff --git a/templates/partials/about/about4.html b/templates/partials/about/about4.html index 5c68365..0ba773f 100644 --- a/templates/partials/about/about4.html +++ b/templates/partials/about/about4.html @@ -1,7 +1,7 @@ -
+
-
-
+
+
{# Mobile App Screenshot #} +
-
-
+
+
+ Mobile App Screenshot +
+

BENEFITS

Enhances Scalability

@@ -13,13 +17,7 @@

The system is designed to efficiently distribute network traffic. During periods of high demand or increased data transfer, Mycelium balances the load by routing data through multiple paths or nodes. This ensures the network can handle greater traffic and more users without becoming overloaded.

-

-
- {# Mobile App Screenshot #} - Mobile App Screenshot -
+
diff --git a/templates/partials/about/about6.html b/templates/partials/about/about6.html index bc4659a..3621349 100644 --- a/templates/partials/about/about6.html +++ b/templates/partials/about/about6.html @@ -1,7 +1,7 @@ -
-
-
-
+
+
+
+

A Part of ThreeFold Ecosystem

An Integral Component of Sustainable Decentralization

Mycelium seamlessly integrates into the larger ThreeFold ecosystem, driving the shift toward sustainable and decentralized digital transformation. @@ -9,4 +9,4 @@

- \ No newline at end of file +
\ No newline at end of file diff --git a/templates/partials/download/download1.html b/templates/partials/download/download1.html index b5afe2a..c0b8e18 100644 --- a/templates/partials/download/download1.html +++ b/templates/partials/download/download1.html @@ -13,9 +13,9 @@
-
+
-
+
Apple
@@ -53,19 +53,20 @@

+
+ Android +
+ Download for Linux +
+
+

+ Download the Mycelium binary for Linux directly from its Github repository.

+

+ Download Now +

-
- Android -
- Download for Linux -
-
-

- Download the Mycelium binary for Linux directly from its Github repository.

-

- Download Now - -

+
+
diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 03cdfb4..5241a95 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -6,17 +6,17 @@