SnailyCAD / fivem-integrations

FiveM Integrations for SnailyCADv4
https://docs.snailycad.org/docs/fivem-integrations/scripts
MIT License
7 stars 5 forks source link

In-Game notifications for assigned 911 calls, etc. Let's also use a custom notification system/UI. #96

Closed casperiv0 closed 1 year ago

casperiv0 commented 1 year ago
<div class="dark:bg-quinary pointer-events-auto flex w-full max-w-md rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5">
  <div class="w-0 flex-1 p-4">
    <div class="flex items-start">
      <div class="flex-shrink-0 pt-0.5"></div>
      <div class="-mt-1 ml-3 flex-1">
        <p class="mb-1 text-[1.05em] font-semibold capitalize text-gray-900 dark:text-gray-100">Super Cool</p>
        <div class="text-neutral-500 dark:text-gray-300">Hello World</div>
      </div>
    </div>
  </div>
  <div class="flex h-full items-start justify-start">
    <button type="button" aria-label="Close message" onClick="{() => toast.dismiss(t.id)}" class="flex w-full items-center justify-center rounded-none rounded-r-lg border border-transparent p-4 text-sm font-medium">X</button>
  </div>
</div>