update cong

This commit is contained in:
Ehab Hassan 2025-05-22 18:40:08 +03:00
parent 4d5bfa2d21
commit dd3580a92a
3 changed files with 40 additions and 12 deletions

View File

@ -10,7 +10,7 @@ extra:
{% row(style="lean") %} {% row(style="lean") %}
##### <span class="text-black">TAKE ACTIONS</span> ##### <span class="">TAKE ACTIONS</span>
<br> <br>
@ -24,7 +24,7 @@ extra:
||| |||
##### <span class="text-black">ABOUT US</span> ##### <span class="">ABOUT US</span>
<br> <br>

View File

@ -9,7 +9,15 @@
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6"> <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6">
<div class="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 lg:max-w-none lg:grid-cols-2"> <div class="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 lg:max-w-none lg:grid-cols-2">
<div class="grid-cols-4 space-y-8 lg:max-w-sm xl:max-w-sm lg:mr-8 lg:mb-8 xl:col-span-1"> <div class="grid-cols-4 space-y-8 lg:max-w-sm xl:max-w-sm lg:mr-8 lg:mb-8 xl:col-span-1">
<img class="w-36 h-auto" src="{{ get_url(path=logoPath)}}" alt="MYCELIUM Logo" /> {# <img class="w-36 h-auto" src="images/mycelium_white.png" alt="MYCELIUM Logo" /> #}
<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="darkLogo" src="images/mycelium_dark.png" alt="Dark Logo" class="logo dark w-36 h-auto" style="max-width: none;">
</a>
<p class="text-gray-200 text-base font-light leading-6"> <p class="text-gray-200 text-base font-light leading-6">
{{section.description}} {{section.description}}
</p> </p>
@ -30,6 +38,34 @@
</p> </p>
</div> </div>
</div> </div>
</footer> </footer>
</body> </body>
</html> </html>
<style>
/* logo image */
.dark {
display: block; /* Show dark logo by default */
}
.light {
display: none; /* Hide light logo by default */
}
.dark-mode .dark {
display: none; /* Hide dark logo in light mode */
}
.dark-mode .light{
display: block;/* Show light logo in light mode */
}
</style>

View File

@ -12,20 +12,12 @@
}, },
}; };
</script> </script>
<!-- <main class="fade-in relative flex flex-col justify-center overflow-hidden bg-white"> -->
<!-- <div class="w-full mx-auto px-4 md:px-6 py-12 border-t-2"> -->
<!-- <h1 class="text-3xl lg:text-4xl font-normal tracking-tight text-black pt-12">Frequently Asked Questions</h1> -->
<!-- Accordion component -->
<!-- <div class="divide-y divide-white/50 my-10"> -->
<!-- Accordion item -->
<div x-data="{ expanded: false }" class="py-2"> <div x-data="{ expanded: false }" class="py-2">
<h2> <h2>
<button <button
id="faqs-title-01" id="faqs-title-01"
type="button" type="button"
class="flex items-center justify-between w-full text-left font-semibold py-2 px-4 border rounded-lg" class="flex items-center justify-between w-full text-left font-semibold py-2 px-4 border-1 border-gray-50 rounded-lg"
@click="expanded = !expanded" @click="expanded = !expanded"
:aria-expanded="expanded" :aria-expanded="expanded"
aria-controls="faqs-text-01" aria-controls="faqs-text-01"