aboutsummaryrefslogtreecommitdiff
path: root/templates/user_profile/user_anime_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_profile/user_anime_list.html')
-rw-r--r--templates/user_profile/user_anime_list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user_profile/user_anime_list.html b/templates/user_profile/user_anime_list.html
index c31be13..75b7b89 100644
--- a/templates/user_profile/user_anime_list.html
+++ b/templates/user_profile/user_anime_list.html
@@ -1,7 +1,7 @@
{% if not request.user.mal_access_token %}
{% load static %}
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8 flex flex-col justify-center">
- <img src="{% static 'images/added-to-list.gif' %}" alt="added to list" class="mx-auto"/>
+ <img loading="lazy" src="{% static 'images/added-to-list.gif' %}" alt="added to list" class="mx-auto"/>
<p class="text-gray-400 text-center mt-2 text-sm">
Your MAL list is not connected to your account yet. Connect your MAL account to see your list here.
</p>
@@ -72,7 +72,7 @@
<section class="flex flex-wrap justify-center mt-4 animate__animated animate__slideInUp">
{% for anime in mal_list %}
<a href="{% url 'user_profile:user_profile' %}?category=update&mal_id={{ anime.node.id }}" class="w-1/2 lg:w-1/4 xl:w-1/6 text-gray-500 px-1 mb-4 hover:text-white flex flex-col gap-2">
- <img src="{{ anime.node.main_picture.large }}" alt="{{ anime.node.title }}" class="rounded-lg w-56 h-72 mx-auto object-cover"/>
+ <img loading="lazy" src="{{ anime.node.main_picture.large }}" alt="{{ anime.node.title }}" class="rounded-lg w-56 h-72 mx-auto object-cover"/>
<div class="inline-flex gap-2 flex-wrap">
<span class="text-xs font-bold bg-white bg-opacity-10 p-1 rounded flex items-center gap-1 capitalize">
<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="mr-1">