27 Commits

Author SHA1 Message Date
17ff2a8651 Complete merge: resolve conflicts with branch-aware deployment solution 2025-09-02 13:26:16 +02:00
f2fa57e7bb Implement branch-aware deployment: auto-detect environment to prevent merge conflicts
- Auto-detects git branch (master/development/other)
- Sets correct base_url for each environment:
  * master -> https://www.mycelium.threefold.io/ (production)
  * development -> https://www2.mycelium.threefold.io/ (staging)
  * other -> /mycelium/ (local development)
- Eliminates merge conflicts between staging and production
- Enables seamless branch merging workflow
2025-09-02 13:24:15 +02:00
c5401d6abd Fix staging deployment: update base_url to correct staging domain 2025-09-02 13:17:55 +02:00
020f01bce9 update 2025-09-02 13:17:09 +02:00
767e4a2eea add config.toml 2025-09-02 13:08:41 +02:00
2055eb2956 del 2025-09-02 13:06:27 +02:00
bca4094ab3 replace docs 2025-09-01 17:24:31 +02:00
45aaf87d60 remove repeating docs 2025-09-01 14:51:04 +02:00
2c0a49ffcc replace docs 2025-09-01 14:35:29 +02:00
e78fedfc6c replace docs 2025-09-01 14:34:06 +02:00
f6beff78ab ... 2025-07-30 12:20:19 +02:00
29a965f824 ... 2025-07-30 12:11:27 +02:00
479f73e813 ... 2025-07-30 10:27:00 +02:00
29b4ef8ef5 Merge branch 'development' of git.ourworld.tf:ourworld_web/www_mycelium into development 2025-07-21 13:44:08 +02:00
6d932a8c56 ... 2025-07-21 13:44:07 +02:00
24a3131656 update with markdown 2025-06-22 12:40:49 +03:00
aa0914b765 remove github actions 2025-06-22 12:33:54 +03:00
4b4ccd7847 test content
Some checks failed
www2.mycelium.threefold.io/ / Deploy (push) Has been cancelled
www2.mycelium.threefold.io/ / Wait for Website Update (push) Has been cancelled
www2.mycelium.threefold.io/ / Check for Broken Links (push) Has been cancelled
2025-06-22 12:31:10 +03:00
abb1996c42 update
Some checks are pending
www2.mycelium.threefold.io/ / Deploy (push) Waiting to run
www2.mycelium.threefold.io/ / Wait for Website Update (push) Blocked by required conditions
www2.mycelium.threefold.io/ / Check for Broken Links (push) Blocked by required conditions
2025-06-18 13:19:50 +03:00
cadfb59772 add open graph
Some checks failed
www2.threefold_io / Deploy (push) Has been cancelled
www2.threefold_io / Wait for Website Update (push) Has been cancelled
www2.threefold_io / Check for Broken Links (push) Has been cancelled
2025-05-25 17:48:16 +03:00
bccf58f8a9 add open graph
Some checks are pending
www2.threefold_io / Deploy (push) Waiting to run
www2.threefold_io / Wait for Website Update (push) Blocked by required conditions
www2.threefold_io / Check for Broken Links (push) Blocked by required conditions
2025-05-25 17:47:06 +03:00
f3239c3c42 update matomo
Some checks failed
www.threefold_io / Deploy (push) Has been cancelled
www.threefold_io / Wait for Website Update (push) Has been cancelled
www.threefold_io / Check for Broken Links (push) Has been cancelled
2025-03-19 16:33:47 +02:00
b2ecdaacfe Merge branch 'development'
Some checks failed
www.threefold_io / Deploy (push) Has been cancelled
www.threefold_io / Wait for Website Update (push) Has been cancelled
www.threefold_io / Check for Broken Links (push) Has been cancelled
2025-02-28 18:44:38 +08:00
50dcd945b8 Merge branch 'development'
Some checks are pending
www.threefold_io / Deploy (push) Waiting to run
www.threefold_io / Wait for Website Update (push) Blocked by required conditions
www.threefold_io / Check for Broken Links (push) Blocked by required conditions
2025-02-28 18:39:18 +08:00
bddaa0b4f2 Merge pull request 'development to master' (#13) from development into master
Some checks failed
www.threefold_io / Deploy (push) Has been cancelled
www.threefold_io / Wait for Website Update (push) Has been cancelled
www.threefold_io / Check for Broken Links (push) Has been cancelled
Reviewed-on: #13
2025-02-25 16:45:31 +00:00
d2dec763df Merge pull request 'development to master' (#11) from development into master
Some checks are pending
www.threefold_io / Deploy (push) Waiting to run
www.threefold_io / Wait for Website Update (push) Blocked by required conditions
www.threefold_io / Check for Broken Links (push) Blocked by required conditions
Reviewed-on: #11
2025-02-25 16:17:34 +00:00
5f3557594c update cong
Some checks are pending
www.threefold_io / Deploy (push) Waiting to run
www.threefold_io / Wait for Website Update (push) Blocked by required conditions
www.threefold_io / Check for Broken Links (push) Blocked by required conditions
2025-02-25 17:10:57 +02:00
23 changed files with 170 additions and 238 deletions

View File

@@ -1,46 +0,0 @@
name: www2.threefold_io
on:
push:
branches: [ development ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www2.threefold.io
uses: appleboy/ssh-action@master
with:
host: dev.threefold.io
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/www2/www_threefold_io/
git log -1
git fetch
git reset --hard origin/development
sed -i "s/https:\/\/www.threefold.io/https:\/\/dev.threefold.io/g" config.toml
./build.sh
wait:
needs: deploy
name: Wait for Website Update
runs-on: ubuntu-latest
steps:
- name: Wait Period
id: wait-deploy
run: |
echo "Sleeping for 30"
sleep 30
checklinks:
needs: wait
name: Check for Broken Links
runs-on: ubuntu-latest
steps:
- name: Check for Broken Links
id: link-report
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
with:
args: 'https://www2.threefold.io -w 404'

View File

@@ -1,46 +0,0 @@
name: www.threefold_io
on:
push:
branches: [ master ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www.threefold.io
uses: appleboy/ssh-action@master
with:
host: www.threefold.io
username: root
key: ${{ secrets.TF_SECRET }}
port: 22
script: |
cd /opt/www_threefold_io/
git log -1
git fetch
git reset --hard origin/master
sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.threefold.io/g" config.toml
./build.sh
wait:
needs: deploy
name: Wait for Website Update
runs-on: ubuntu-latest
steps:
- name: Wait Period
id: wait-deploy
run: |
echo "Sleeping for 30"
sleep 30
checklinks:
needs: wait
name: Check for Broken Links
runs-on: ubuntu-latest
steps:
- name: Check for Broken Links
id: link-report
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
with:
args: 'https://www.threefold.io -w 404'

View File

@@ -1,46 +0,0 @@
name: www3.threefold_io
on:
push:
branches: [ development_sasha ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www3.threefold.io
uses: appleboy/ssh-action@master
with:
host: www3.threefold.io
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/tmp/www_threefold_io/
git log -1
git restore .
git pull
sed -i "s/https:\/\/dev.threefold.io/https:\/\/dev2.threefold.io/g" config.toml
bash build.sh
wait:
needs: deploy
name: Wait for Website Update
runs-on: ubuntu-latest
steps:
- name: Wait Period
id: wait-deploy
run: |
echo "Sleeping for 30"
sleep 30
checklinks:
needs: wait
name: Check for Broken Links
runs-on: ubuntu-latest
steps:
- name: Check for Broken Links
id: link-report
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
with:
args: 'https://www3.threefold.io -w 404'

View File

@@ -1,46 +0,0 @@
name: www3.threefold_io
on:
push:
branches: [ 3.10.0 ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www3.threefold.io
uses: appleboy/ssh-action@master
with:
host: www3.threefold.io
username: webuser
key: ${{ secrets.TF_SECRET }}
port: 34022
script: |
cd websites/www3/www_threefold_io/
git log -1
git restore .
git pull
sed -i "s/https:\/\/www.threefold.io/https:\/\/www3.threefold.io/g" config.toml
bash build.sh
wait:
needs: deploy
name: Wait for Website Update
runs-on: ubuntu-latest
steps:
- name: Wait Period
id: wait-deploy
run: |
echo "Sleeping for 30"
sleep 30
checklinks:
needs: wait
name: Check for Broken Links
runs-on: ubuntu-latest
steps:
- name: Check for Broken Links
id: link-report
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
with:
args: 'https://www3.threefold.io -w 404'

1
.gitignore vendored
View File

@@ -33,3 +33,4 @@ install*
public public
static/css static/css
tailwindcss tailwindcss
config.toml

View File

@@ -17,7 +17,7 @@ Mycelium is a decentralized networking and storage solution designed to integrat
### **Clone the Repository** ### **Clone the Repository**
```sh ```sh
git clone https://git.ourworld.tf/ourworld_web/www_mycelium.git git clone https://git.threefold.info/ourworld_web/www_mycelium.git
cd www_mycelium cd www_mycelium
``` ```
@@ -36,7 +36,7 @@ This will generate and serve the website for preview.
## 📌 **Issues & Contributions** ## 📌 **Issues & Contributions**
Report bugs or suggest improvements in the issue tracker: Report bugs or suggest improvements in the issue tracker:
🔗 [Issue Tracker](https://git.ourworld.tf/tfgrid/circle_web_presence/issues) 🔗 [Issue Tracker](https://git.threefold.info/tfgrid/circle_web_presence/issues)
## 📜 **License** ## 📜 **License**
This project is open-source and licensed under [insert applicable license]. This project is open-source and licensed under [insert applicable license].

View File

@@ -1,34 +1,33 @@
PREFIX="mycelium"
echo "Starting build..." echo "Starting build..."
SOURCE=${BASH_SOURCE[0]} SOURCE=${BASH_SOURCE[0]}
DIR_OF_THIS_SCRIPT="$( dirname "$SOURCE" )" DIR_OF_THIS_SCRIPT="$( dirname "$SOURCE" )"
ABS_DIR_OF_SCRIPT="$( realpath $DIR_OF_THIS_SCRIPT )" ABS_DIR_OF_SCRIPT="$( realpath $DIR_OF_THIS_SCRIPT )"
# TODO: Check if current version is latest to avoid redundant installation # Check if tailwindcss executable exists, if not, download and install it
if [[ -f "tailwindcss" ]] if [[ ! -f "tailwindcss" ]]; then
then echo "Installing & building tailwind..."
rm tailwindcss ASSET="tailwindcss"
fi
# checks os and architecture for correct release if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# https://stackoverflow.com/a/8597411 ASSET="$ASSET-linux"
echo "Installing & building tailwind..." elif [[ "$OSTYPE" == "darwin"* ]]; then
ASSET="tailwindcss" ASSET="$ASSET-macos"
fi
if [[ "$(uname -m)" == "x86_64"* ]]; then
ASSET="$ASSET-x64"
elif [[ "$(uname -m)" == "arm64"* ]]; then
ASSET="$ASSET-arm64"
fi
if [[ "$OSTYPE" == "linux-gnu"* ]]; then curl -sLO "https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.17/${ASSET}"
ASSET="$ASSET-linux" chmod +x $ASSET
elif [[ "$OSTYPE" == "darwin"* ]]; then mv $ASSET tailwindcss
ASSET="$ASSET-macos" else
echo "tailwindcss already exists, skipping installation."
fi 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/download/v3.4.17/${ASSET}"
chmod +x $ASSET
mv $ASSET tailwindcss
# initialized and configures tailwind if not configured # initialized and configures tailwind if not configured
@@ -43,4 +42,29 @@ fi
echo "Compiling tailwindcss and building zola project..." echo "Compiling tailwindcss and building zola project..."
rm -rf public static/css rm -rf public static/css
./tailwindcss -i css/index.css -o ./static/css/index.css --minify ./tailwindcss -i css/index.css -o ./static/css/index.css --minify
# Auto-detect deployment environment based on git branch
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Detected git branch: $CURRENT_BRANCH"
if [ "$CURRENT_BRANCH" = "master" ]; then
# Production deployment (www.mycelium.threefold.io)
echo "Building for PRODUCTION environment..."
BASE_URL="https://www.mycelium.threefold.io/"
DEPLOY_PATH="root@threefold.info:/root/hero/www/info/$PREFIX/"
elif [ "$CURRENT_BRANCH" = "development" ]; then
# Staging deployment (www2.mycelium.threefold.io)
echo "Building for STAGING environment..."
BASE_URL="https://www2.mycelium.threefold.io/"
DEPLOY_PATH="root@threefold.info:/root/hero/www/info/$PREFIX/"
else
# Fallback for other branches (local development mode)
echo "Building for LOCAL/OTHER branch environment..."
BASE_URL="/mycelium/"
DEPLOY_PATH="${HOME}/hero/var/www/$PREFIX/"
fi
echo "Using base_url: $BASE_URL"
sed "s|base_url = \"BASEURL\"|base_url = \"$BASE_URL\"|" config.templ.toml > config.toml
zola --root $ABS_DIR_OF_SCRIPT build zola --root $ABS_DIR_OF_SCRIPT build
rsync -avz --delete public/ "$DEPLOY_PATH"

99
config.templ.toml Normal file
View File

@@ -0,0 +1,99 @@
# The URL the site will be built for
base_url = "BASEURL"
title = "Mycelium"
description = "Our global digital backbone"
# When set to "true", a feed is automatically generated.
# generate_feed = true
# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
# feed_filename = "atom.xml"
# The number of articles to include in the feed. All items are included if
# this limit is not set (the default).
# feed_limit = 10
# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
# When set to "true", the generated HTML files are minified.
# minify_html = true
# I'm keeping off for now -- buggy -- 2021-02-05 (@keats says it'll be fixed 0.14.0)
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "visual-studio-dark"
# When set to "true", emoji aliases translated to their corresponding
# Unicode emoji equivalent in the rendered Markdown files. (e.g.: :smile: => 😄)
render_emoji = false
# Whether external links are to be opened in a new tab
# If this is true, a `rel="noopener"` will always automatically be added for security reasons
# external_links_target_blank = false
# Whether to set rel="nofollow" for all external links
external_links_no_follow = true
# Whether to set rel="noreferrer" for all external links
external_links_no_referrer = true
# Whether smart punctuation is enabled (changing quotes, dashes, dots in their typographic form)
# For example, `...` into `…`, `"quote"` into `“curly”` etc
smart_punctuation = true
#[build]
#not_found = "404.md"
[[taxonomies]]
name = "categories"
feed = true
paginate_by = 6
paginate_path = "blog-posts"
[[taxonomies]]
name = "partners-category"
feed = true
paginate_by = 6
paginate_path = "partner-card"
[[taxonomies]]
name = "news-category"
feed = true
paginate_by = 6
paginate_path = "news-card"
[[taxonomies]]
name = "roles"
feed = true
paginate_by = 2
paginate_path = "join-us"
[[taxonomies]]
name = "tags"
feed = true
paginate_by = 9
paginate_path = "tags"
[[taxonomies]]
name = "people"
feed = false
paginate_by = 9
paginate_path = "people"
[[taxonomies]]
name = "memberships"
feed = false
paginate_by = 8
paginate_path = "people/memberships"
[extra]
# Put all your custom variables here

View File

@@ -1,6 +1,5 @@
# The URL the site will be built for # The URL the site will be built for
base_url = "https://www3.mycelium.threefold.io/" base_url = "https://www2.mycelium.threefold.io/"
# Change this to your own URL! Please note this variable **must** be uncommented .
title = "Mycelium" title = "Mycelium"
description = "Our global digital backbone" description = "Our global digital backbone"

View File

@@ -5,8 +5,8 @@ description: "Mycelium is a decentralized networking and storage solution design
#updated: 2021-02-20T14:40:00-06:00 #updated: 2021-02-20T14:40:00-06:00
draft: false draft: false
extra: extra:
author: ThreeFold author: Mycelium
imgPath: home/tf.png imgPath: home/mycel2.png
--- ---
@@ -105,7 +105,7 @@ True digital sovereignty for open-source builders. The ThreeFold Grid provides l
||| |||
<button>[The Manual](https://threefold.info/mycelium/docs/)</button> <button>[The Manual](https://docs.ourworld.tf/mycelium_cloud/docs/)</button>
||| |||

View File

@@ -102,7 +102,7 @@ extra:
button_text="Download Now", button_text="Download Now",
button_link="/download", button_link="/download",
button_text2="Read More", button_text2="Read More",
button_link2="https://threefold.info/mycelium/docs/" button_link2="https://docs.ourworld.tf/mycelium_cloud/docs/"
) }} ) }}

View File

@@ -15,7 +15,7 @@ extra:
title="Download Mycelium", title="Download Mycelium",
description="Get Mycelium for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized network—seamlessly and efficiently.", description="Get Mycelium for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized network—seamlessly and efficiently.",
description3="Not sure how it works?", description3="Not sure how it works?",
button_link="https://threefold.info/mycelium/docs/", button_link="https://docs.ourworld.tf/mycelium_cloud/docs/",
button_text="Read the manual." button_text="Read the manual."
) }} ) }}
@@ -142,5 +142,5 @@ extra:
button_text="Download Now", button_text="Download Now",
button_link="/download", button_link="/download",
button_text2="Read More", button_text2="Read More",
button_link2="https://threefold.info/mycelium/docs/" button_link2="https://docs.ourworld.tf/mycelium_cloud/docs/"
) }} ) }}

View File

@@ -14,7 +14,7 @@ extra:
<br> <br>
###### [Manual](https://threefold.info/mycelium/docs/) ###### [Manual](https://docs.ourworld.tf/mycelium_cloud/docs/)
###### [Dashboard](https://dashboard.grid.tf/) ###### [Dashboard](https://dashboard.grid.tf/)

View File

@@ -9,6 +9,6 @@ extra:
--- ---
- [About]("/about") - [About]("/about")
- [Docs]("https://threefold.info/mycelium/docs/") - [Docs]("https://docs.ourworld.tf/mycelium_cloud/docs/")

View File

@@ -3,7 +3,7 @@ title: "Mycelium"
description: "Mycelium is a decentralized networking and storage solution designed to integrate seamlessly with AI workloads, content delivery, and messaging." description: "Mycelium is a decentralized networking and storage solution designed to integrate seamlessly with AI workloads, content delivery, and messaging."
insert_anchor_links: "left" insert_anchor_links: "left"
extra: extra:
author: ThreeFold author: Mycelium
imgPath: home/mycel2.png imgPath: home/mycel2.png
--- ---
@@ -314,7 +314,7 @@ extra:
button_text="Download Now", button_text="Download Now",
button_link="/download", button_link="/download",
button_text2="Read More", button_text2="Read More",
button_link2="https://threefold.info/mycelium/docs/" button_link2="https://docs.ourworld.tf/mycelium_cloud/docs/"
) }} ) }}

View File

@@ -12,8 +12,8 @@
{# <img class="w-36 h-auto" src="images/mycelium_white.png" alt="MYCELIUM Logo" /> #} {# <img class="w-36 h-auto" src="images/mycelium_white.png" alt="MYCELIUM Logo" /> #}
<a href="/" class="flex"> <a href="/" class="flex">
<img id="lightLogo" src="/images/mycelium_white.png" alt="Light Logo" class="logo light w-36 h-auto" style="max-width: none;"> <img id="lightLogo" src="{{ get_url(path='/images/mycelium_white.png') }}" alt="Light Logo" class="logo light w-36 h-auto" style="max-width: none;">
<img id="darkLogo" src="/images/mycelium_dark.png" alt="Dark Logo" class="logo dark w-36 h-auto" style="max-width: none;"> <img id="darkLogo" src="{{ get_url(path='/images/mycelium_dark.png') }}" alt="Dark Logo" class="logo dark w-36 h-auto" style="max-width: none;">
</a> </a>

View File

@@ -74,10 +74,7 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<a href="https://threefold.info/mycelium/docs/"
class="text-lg py-3 leading-6 font-light text-pretty tracking-wide focus:outline-none focus:text-gray-200 transition ease-in-out duration-150" target="_blank">
Docs
</a>
</nav> </nav>
<div class="hidden md:inline-block md:order-last"> <div class="hidden md:inline-block md:order-last">
@@ -225,10 +222,6 @@
</p> </p>
{% include "partials/socialLinks.html" %} {% include "partials/socialLinks.html" %}
</div> #} </div> #}
<a href="https://threefold.info/mycelium/docs/"
class="text-lg px-8 py-3 leading-6 font-normal hover:text-gray-600 focus:outline-none focus:text-gray-50 transition ease-in-out duration-150" target="_blank">
Docs
</a>
<div class="rounded-full border-2 my-4 border-gray-400 py-2 mx-4"> <div class="rounded-full border-2 my-4 border-gray-400 py-2 mx-4">
<a href="/download" class="mt-2 rounded-md px-4 py-2.5 text-lg font-semibold shadow-sm hover:text-gray-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white">Get Mycelium</a> <a href="/download" class="mt-2 rounded-md px-4 py-2.5 text-lg font-semibold shadow-sm hover:text-gray-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white">Get Mycelium</a>
</div> </div>
@@ -259,7 +252,7 @@
} }
.active{ .active{
color: rgb(100, 100, 100) !important; color: rgb(144 143 143) !important
} }
.nav_btn:hover { .nav_btn:hover {
color: #c7c7c7 !important; color: #c7c7c7 !important;

View File

@@ -20,7 +20,7 @@
</div> </div>
</div> </div>
<div class="relative mt-16 h-80 lg:mt-8"> <div class="relative mt-16 h-80 lg:mt-8">
<img class="absolute top-0 left-0 w-[25rem] lg:w-[45rem] max-w-none rounded-2xl ring-1 ring-white/10" src="{{ image_src }}" alt="{{ image_alt }}" width="1824" height="1080"> <img class="absolute top-0 left-0 w-[25rem] lg:w-[45rem] max-w-none rounded-2xl ring-1 ring-white/10" src="{{ get_url(path=image_src) }}" alt="{{ image_alt }}" width="1824" height="1080">
</div> </div>
</div> </div>
</div> </div>

View File

@@ -9,7 +9,7 @@
<div class="card relative shadow rounded-lg p-4 transition-all duration-300"> <div class="card relative shadow rounded-lg p-4 transition-all duration-300">
{% if icon %} {% if icon %}
<div class="flex items-center justify-center h-12 w-12 rounded-md mb-4"> <div class="flex items-center justify-center h-12 w-12 rounded-md mb-4">
<img src="{{ icon | safe }}" class=""> <img src="{{ get_url(path=icon) }}" class="">
</div> </div>
{% endif %} {% endif %}
<h3 class="text-lg font-medium">{{ title }}</h3> <h3 class="text-lg font-medium">{{ title }}</h3>

View File

@@ -28,7 +28,7 @@
</div> </div>
</div> </div>
<div class="relative lg:col-span-5 lg:-mr-8 xl:absolute xl:inset-0 xl:left-1/2 xl:mr-0 "> <div class="relative lg:col-span-5 lg:-mr-8 xl:absolute xl:inset-0 xl:left-1/2 xl:mr-0 ">
<img class="lg:mt-10 aspect-1/1 mx-auto w-full sm:w-2/3 md:w-1/2 lg:w-full object-cover lg:absolute lg:inset-0 lg:aspect-auto" src="{{ image_src }}" alt="{{ image_alt }}"> <img class="lg:mt-10 aspect-1/1 mx-auto w-full sm:w-2/3 md:w-1/2 lg:w-full object-cover lg:absolute lg:inset-0 lg:aspect-auto" src="{{ get_url(path=image_src) }}" alt="{{ image_alt }}">
</div> </div>
</div> </div>
</div> </div>

View File

@@ -8,7 +8,7 @@
</div> </div>
<div class="relative overflow-hidden pt-2"> <div class="relative overflow-hidden pt-2">
<div class="mx-auto max-w-7xl px-4 lg:px-8 flex items-center justify-center"> <div class="mx-auto max-w-7xl px-4 lg:px-8 flex items-center justify-center">
<img src="{{ image_src }}" alt="{{ image_alt }}" width="900"> <img src="{{ get_url(path=image_src) }}" alt="{{ image_alt }}" width="900">
</div> </div>
</div> </div>

View File

@@ -9,7 +9,7 @@
</div> </div>
<div class="mx-auto max-w-7xl lg:flex lg:items-center lg:gap-x-15 lg:px-8"> <div class="mx-auto max-w-7xl lg:flex lg:items-center lg:gap-x-15 lg:px-8">
<div class="my-6 lg:my-0 lg:flex lg:justify-center lg:w-1/2"> <div class="my-6 lg:my-0 lg:flex lg:justify-center lg:w-1/2">
<img class="w-full max-w-lg h-auto object-cover rounded-xl" src="{{ image_src }}" <img class="w-full max-w-lg h-auto object-cover rounded-xl" src="{{ get_url(path=image_src) }}"
alt="{{ image_alt }}"> alt="{{ image_alt }}">
</div> </div>
<div class="mx-auto max-w-lg lg:mx-0 lg:flex-auto pt-4"> <div class="mx-auto max-w-lg lg:mx-0 lg:flex-auto pt-4">

View File

@@ -13,7 +13,7 @@
<div class="mx-auto mt-10 lg:mt-0 lg:flex lg:items-center lg:gap-x-15 "> <div class="mx-auto mt-10 lg:mt-0 lg:flex lg:items-center lg:gap-x-15 ">
<div class="mt-6 lg:mt-0 lg:flex lg:justify-center lg:w-1/2"> <div class="mt-6 lg:mt-0 lg:flex lg:justify-center lg:w-1/2">
<img class="w-full max-w-md h-auto object-cover rounded-xl" src="{{ image_src }}" <img class="w-full max-w-md h-auto object-cover rounded-xl" src="{{ get_url(path=image_src) }}"
alt="{{ image_alt }}"> alt="{{ image_alt }}">
</div> </div>
<div class="mx-auto max-w-xl lg:mx-6 lg:flex-auto"> <div class="mx-auto max-w-xl lg:mx-6 lg:flex-auto">