update nav

This commit is contained in:
Ehab Hassan 2025-05-21 09:42:30 +03:00
parent 5e20eb96ec
commit 922f6454f3
3 changed files with 5 additions and 5 deletions

View File

@ -16,8 +16,9 @@
</div> </div>
<div class="hidden md:block"> <div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4"> <div class="ml-10 flex items-baseline space-x-4">
<a href="{{ config.base_url }}" class="{% if current_path == '/' %}bg-gray-200 dark:bg-gray-900 text-gray-800 dark:text-white{% else %}text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-white{% endif %} px-3 py-2 rounded-md text-sm font-medium">Home</a> <!-- <a href="{{ config.base_url }}" class="{% if current_path == '/' %}bg-gray-200 dark:bg-gray-900 text-gray-800 dark:text-white{% else %}text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-white{% endif %} px-3 py-2 rounded-md text-sm font-medium">Home</a> -->
<a href="{{ get_url(path='about') }}" class="{% if current_path is starting_with('/about') %}bg-gray-800 dark:bg-gray-900 text-gray-800 dark:text-white{% else %}text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-white{% endif %} px-3 py-2 rounded-md text-sm font-medium">About</a> <a href="{{ get_url(path='about') }}" class="{% if current_path is starting_with('/about') %}bg-gray-200 dark:bg-gray-900 text-gray-800 dark:text-white{% else %}text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-white{% endif %} px-3 py-2 rounded-md text-sm font-medium">About</a>
<a href="https://threefold.info/mycelium/docs/" target="_blank" class="text-gray-800 dark:text-white text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium">Docs</a>
<!-- Dropdown menu --> <!-- Dropdown menu -->
<!-- <div class="dropdown"> <!-- <div class="dropdown">

View File

@ -1,5 +1,4 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script> <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
<script> <script>

View File

@ -16,7 +16,7 @@
<!-- Left Content --> <!-- Left Content -->
<div class="lg:col-span-6"> <div class="lg:col-span-6">
<div class="mx-auto max-w-2xl lg:mx-0"> <div class="mx-auto max-w-2xl lg:mx-0">
<p class="fade-in mt-2 text-lg lg:text-xl font-light text-black"> <p class="fade-in mt-2 text-lg lg:text-xl font-light">
{{ description_1 }} {{ description_1 }}
<br><br> <br><br>
{{ description_2 }} {{ description_2 }}
@ -28,7 +28,7 @@
<!-- Right Blockquote --> <!-- Right Blockquote -->
<div class="lg:col-span-6"> <div class="lg:col-span-6">
<figure class=" mt-2 pl-8"> <figure class=" mt-2 pl-8">
<blockquote class=" text-black fade-in px-6"> <blockquote class=" fade-in px-6">
<p class="text-md leading-normal font-normal">{{ description_3 }} <p class="text-md leading-normal font-normal">{{ description_3 }}
<br><br> <br><br>
{{ description_4 }}</p> {{ description_4 }}</p>