update section 2

This commit is contained in:
ehab-hassan 2025-05-13 16:04:10 +03:00
parent a36bfae87d
commit 49abe71686
9 changed files with 72 additions and 14 deletions

View File

@ -2,7 +2,7 @@
base_url = "http://template.com"
# Site title and description
title = "THREEFOLD"
title = "Mycelium"
description = "A modern static site built with Zola and Tailwind CSS"
# Whether to automatically compile all Sass files in the sass directory

View File

@ -4,7 +4,25 @@ sort_by = "date"
template = "index.html"
+++
{{ hero_img()
<!-- Hero header -->
{{ hero_img(
image_src="/images/mycel_1.png",
image_alt="Mycelium Network Graphic",
title="MYCELIUM",
subtitle_1="Unleashing the Power of",
subtitle_2="Decentralized Networks",
description="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.",
highlight="Coming Soon: New Decentralized Features",
button_text="Get Mycelium",
button_link="/download"
) }}
<!-- Second section -->
{{ hero_right_img(
)
}}
@ -71,5 +89,3 @@ For more information, check out the [Zola documentation](https://www.getzola.org
button_text="View Blog",
button_link="/blog")
}}

BIN
static/images/mycel2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

BIN
static/images/mycel3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

BIN
static/images/mycel5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
static/images/mycel5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Zola with Tailwind CSS{% endblock %}</title>
<title>{% block title %}Mycelium{% endblock %}</title>
<link rel="stylesheet" href="{{ get_url(path='css/main.css') }}">
<link rel="stylesheet" href="{{ get_url(path='css/dropdown.css') }}">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">

View File

@ -1,28 +1,37 @@
{% set image_src = image_src | default(value="/images/mycel_1.png") %}
{% set image_alt = image_alt | default(value="Mycelium Network Graphic") %}
{% set title = title | default(value="MYCELIUM") %}
{% set subtitle = subtitle | default(value="Unleashing the Power of Decentralized Networks") %}
{% set description = description | default(value="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.") %}
{% set highlight = highlight | default(value="Coming Soon: New Decentralized Features") %}
{% set button_text = button_text | default(value="Get Mycelium") %}
{% set button_link = button_link | default(value="/download") %}
<div class="flex flex-col lg:flex-row-reverse items-center overflow-hidden bg-white h-screen">
<!-- Image first on mobile, right on desktop -->
<div class="w-full lg:w-1/2 h-80 lg:h-full">
<img src="/images/mycel_1.png"
alt="Mycelium Network Graphic"
class="w-full h-full object-cover object-center" />
<img src="{{ image_src }}"
alt="{{ image_alt }}"
class="w-full h-4/5 object-cover object-center" />
</div>
<!-- Text Content -->
<div class="w-full lg:w-1/2 max-w-3xl max-auto px-6 py-12 lg:px-16 lg:py-10">
<div>
<h1 class="text-4xl font-semibold tracking-tight lg:text-6xl">
MYCELIUM
{{ title }}
</h1>
<h2 class="fade-in text-3xl lg:text-4xl font-normal tracking-tight mt-4 leading-9">
Unleashing the Power of<br> Decentralized Networks
{{ subtitle_1 }}<br>{{ subtitle_2 }}
</h2>
<p class="mt-8 text-lg lg:text-xl font-light">
Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking. <br><br>
<b>Coming Soon: New Decentralized Features</b>
{{ description }} <br><br>
<b>{{ highlight }}</b>
</p>
<div class="mt-10">
<a href="/download" class="rounded-2xl bg-black px-4 py-2 text-sm font-semibold text-white shadow hover:bg-gray-700 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-gray-300">
Get Mycelium
<a href="{{ button_link }}" class="rounded-2xl bg-black px-4 py-2 text-sm font-semibold text-white shadow hover:bg-gray-700 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-gray-300">
{{ button_text }}
</a>
</div>
</div>

View File

@ -0,0 +1,33 @@
<!-- {% set image_src = image_src | default(value="/images/mycel_1.png") %}
{% set image_alt = image_alt | default(value="Mycelium Network Graphic") %}
{% set title = title | default(value="MYCELIUM") %}
{% set subtitle = subtitle | default(value="Unleashing the Power of Decentralized Networks") %}
{% set description = description | default(value="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.") %}
{% set highlight = highlight | default(value="Coming Soon: New Decentralized Features") %}
{% set button_text = button_text | default(value="Get Mycelium") %}
{% set button_link = button_link | default(value="/download") %} -->
<div class="py-24 lg:pt-0 fade-in bg-semi-white">
<div class="relative isolate">
<div class="mx-auto mt-10 lg:mt-0 max-w-7xl px-6 lg:flex lg:items-center lg:gap-x-15 lg:px-8">
<div class="mx-auto max-w-lg lg:mx-0 lg:flex-auto">
<p class="text-base font-light tracking-wide">ABOUT</p>
<h2 class="fade-in lg:text-5xl text-4xl font-normal tracking-tight ">Discover Mycelium</h2>
<p class="text-left mt-4 text-pretty lg:text-lg text-md font-light fade-in max-w-3xl">
Mycelium is an unbreakable network, always finding the shortest path and providing 100% secure, peer-to-peer communication. But this is just the beginning. <br><br>Our mission is to create a sustainable digital ecosystem where communication is seamless, data is secure, and scalability knows no bounds.
</p>
<div class="mt-6 flex">
<a href="/about" class="rounded-2xl bg-black px-4 py-2 text-sm font-semibold text-white shadow hover:bg-gray-700 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-gray-300">Learn more</a>
</div>
</div>
<div class="lg:order-first mt-6 lg:mt-0 lg:flex lg:justify-center lg:w-1/2">
<img class="w-full max-w-lg h-auto object-cover rounded-xl" src="/images/mycel2.png"
alt="Mobile App Screenshot">
</div>
</div>
</div>
</div>