<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
            Create new habit
        </h2>
    </x-slot>

    <div class="py-4">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">

            <x-form-habit :today="now()->format('Y-m-d')" :route="route('habits.store')" method="post" />
        </div>
    </div>



</x-app-layout>
