gen-message.blade.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <div
  2. class=" flex flex-col items-start gap-6 overflow-hidden rounded-lg bg-white p-6 shadow-[0px_14px_34px_0px_rgba(0,0,0,0.08)] ring-1 ring-white/[0.05] transition duration-300 hover:text-black/70 hover:ring-black/20 focus:outline-none focus-visible:ring-[#FF2D20] md:row-span-3 lg:p-10 lg:pb-10 dark:bg-zinc-900 dark:ring-zinc-800 dark:hover:text-white/70 dark:hover:ring-zinc-700 dark:focus-visible:ring-[#FF2D20] relative flex w-full flex-1 items-stretch">
  3. <form wire:submit="generate">
  4. <div class="p-4">
  5. <input type="text" id="default-input" placeholder="Nom de votre entreprise..."
  6. class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
  7. required wire:model.live="name">
  8. </div>
  9. <div class="p-4">
  10. <input type="email" id="email"
  11. class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
  12. placeholder="nom@mail.com" required wire:model.live="mail" />
  13. </div>
  14. <div class="flex items-center p-6 w-full">
  15. <div class="relative w-full">
  16. <label for="start" class="mx-4 text-gray-500">Du</label>
  17. <div class="flex">
  18. <div class="relative">
  19. <input required id="start" type="datetime-local" wire:model.live="start"
  20. class="m-2 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
  21. </div>
  22. </div>
  23. <label for="end" class="text-gray-500 p-2 ">Jusqu'au</label>
  24. <div class="flex">
  25. <div class="relative">
  26. <input id="end" type="datetime-local" wire:model.live="end"
  27. class="m-2 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="p-4">
  33. <textarea id="message" rows="4"
  34. class="block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
  35. placeholder="Ecrivez votre message ici..." wire:model.live="text" required></textarea>
  36. </div>
  37. <div class="p-4">
  38. <x-primary-button>Générer</x-primary-button>
  39. </div>
  40. </form>
  41. </div>