<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <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">


    <script src="{{ get_url(path='js/main.js') }}" defer></script>
    {% block head %}{% endblock %}
</head>
<body class="bg-white dark:bg-gray-900 text-gray-800 dark:text-white min-h-screen flex flex-col transition-colors duration-200">
    <header>
        {% include "partials/navigation.html" %}
    </header>
    <main>
        <div class="">
            <div class="px-4 sm:px-0">
                {% block content %}{% endblock %}
            </div>
        </div>
    </main>
    <footer class="bg-white dark:bg-gray-900 shadow mt-auto">
        <div class="max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8">
            <p class="text-center text-gray-500 dark:text-gray-400">
                &copy; {{ now() | date(format="%Y") }} {{ config.title }}
            </p>
        </div>
    </footer>
</body>
</html>
