feat: improved lighthouse reports

This commit is contained in:
Pablo Moreno
2025-01-18 02:19:19 +01:00
parent d746492398
commit 7037004aaf
11 changed files with 19 additions and 22 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
<p class="text-sm font-light text-gray-500 my-4 dark:text-gray-400">
{% translate '¿Aún no tienes cuenta?' %}
<a href="{% url 'web:register' %}"
class="font-medium text-primary-600 hover:underline dark:text-primary-500">{% translate 'Regístrate aquí' %}</a>
class="font-medium text-primary-700 hover:underline dark:text-primary-400">{% translate 'Regístrate aquí' %}</a>
</p>
</div>
@@ -58,7 +58,7 @@
<div class="flex justify-center">
<p class="text-sm font-light text-gray-500 mt-4 dark:text-gray-400">
<a href="{% url 'web:reset_password' %}"
class="font-medium text-primary-600 hover:underline dark:text-primary-500">{% translate '¿Has olvidado tu contraseña?' %}</a>
class="font-medium text-primary-700 hover:underline dark:text-primary-400">{% translate '¿Has olvidado tu contraseña?' %}</a>
</p>
</div>
+2 -12
View File
@@ -4,11 +4,11 @@
{% include 'components/generic/navbar.html' %}
<section class="bg-white py-8 antialiased dark:bg-gray-900 md:py-8">
<div class="mx-auto max-w-screen-lg px-4 2xl:px-0">
<h4
<h2
class="mb-4 text-xl font-semibold text-gray-900 dark:text-white sm:text-2xl md:mb-6"
>
{% translate 'Mi cuenta' %}
</h4>
</h2>
<div class="flex space-x-4">
<div>
@@ -58,16 +58,6 @@
</dl>
</div>
<div class="space-y-4">
<dl class="mb-5 mt-5">
<span
class="bg-primary-100 text-primary-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded dark:bg-primary-900 dark:text-primary-300">
{% if address.address_type == 'BILL' %}
{% translate 'Dirección de facturación' %}
{% else %}
{% translate 'Dirección de envío' %}
{% endif %}
</span>
</dl>
<dl>
<dt class="font-semibold text-gray-900 dark:text-white">{% translate 'Localidad' %}</dt>
<dd class="text-gray-500 dark:text-gray-400">{{ address.address_town }}</dd>