feat: 🔒 Add crossorigin attributes to every image element

This commit is contained in:
Jesse Wierzbinski 2024-05-04 19:22:47 -10:00
parent 74425cd62e
commit cafe272429
No known key found for this signature in database
16 changed files with 29 additions and 25 deletions

View file

@ -14,7 +14,8 @@
<nav class="flex items-center justify-between p-6 lg:px-8" aria-label="Global">
<div class="flex lg:flex-1">
<NuxtLink href="/" class="-m-1.5 p-1.5">
<img class="h-8 w-auto" src="https://cdn.lysand.org/logo.webp" alt="Lysand logo" />
<img crossorigin="anonymous" class="h-8 w-auto" src="https://cdn.lysand.org/logo.webp"
alt="Lysand logo" />
</NuxtLink>
</div>
<div class="flex lg:hidden">
@ -39,7 +40,8 @@
class="fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-dark-800 px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-50/10">
<div class="flex items-center justify-between">
<NuxtLink href="/" class="-m-1.5 p-1.5">
<img class="h-8 w-auto" src="https://cdn.lysand.org/logo.webp" alt="Lysand Logo" />
<img crossorigin="anonymous" class="h-8 w-auto" src="https://cdn.lysand.org/logo.webp"
alt="Lysand Logo" />
</NuxtLink>
<button type="button" class="-m-2.5 rounded-md p-2.5 text-gray-200" @click="mobileMenuOpen = false">
<span class="sr-only">Close menu</span>