<nav class="bg-blue-400 border-gray-200 dark:bg-blue-400">
    <div class="flex bg-blue-400 flex-wrap justify-between items-center mx-auto max-w-screen-xl px-4 md:px-6 py-2.5">
            <span class="self-center text-xl font-semibold whitespace-nowrap dark:text-white">Food Shop</span>
        <div class="bg-blue-400 flex items-center">
            {% if user.is_authenticated %}
            <span class="text-white m-l-5">Welcome {{ user.username }}</span>
            <a href="/logout" class="text-sm m-5 font-medium text-blue-600 dark:text-blue-500 hover:underline">Logout</a>
            {% else %}
            <a href="/login" class="text-sm m-5 font-medium text-white-600 dark:text-white hover:underline">Login</a>
            <a href="/register" class="text-sm font-medium text-white-600 dark:text-white hover:underline">Register</a>
            <a href="/admin1" class="text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline ml-[50%]">Admin</a>
            {% endif %}

            
        </div>
    </div>
</nav>
<nav class="bg-gray-300 dark:bg-gray-200">
    <div class="py-3  px-4 mx-auto max-w-screen-xl md:px-6">
        <div class="flex items-center">
            <ul class="flex flex-row mt-0 mr-6 space-x-8 text-sm font-medium">
                <li>
                    <a href="/" class="text-gray-900 dark:text-black hover:underline" aria-current="page">หน้าหลัก</a>
                </li>
                <li>
                    <a href="/menu" class="text-gray-900 dark:text-black hover:underline">รายการอาหาร</a>
                </li>
                <li>
                    <a href="/contact" class="text-gray-900 dark:text-black hover:underline">เกี่ยวกับเรา</a>
                </li>
            </ul>
        </div>
    </div>
</nav>
