Skip to content

Commit cbfe791

Browse files
committed
lint fix
1 parent 5214ba9 commit cbfe791

10 files changed

Lines changed: 29 additions & 8 deletions

File tree

templates/about.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}Learn about DEFNA — our mission, history, and the board members who keep the Django community thriving.{% endblock %}
77

88
{% block og_title %}About DEFNA — Django Events Foundation North America{% endblock %}
9+
910
{% block og_description %}Learn about DEFNA's mission, history, and the board of directors who support the Django community across North America through DjangoCon US and community grants.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/defna.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}DEFNA board members and community{% endblock %}
1215

1316
{% block content %}
@@ -216,7 +219,7 @@ <h3 class="text-base font-bold leading-snug sm:text-lg text-text">{{ member.name
216219
alt="Director placeholder photo"
217220
class="object-cover object-top absolute inset-0 w-full h-full opacity-60 transition-all duration-500 group-hover:opacity-75 grayscale group-hover:grayscale-0">
218221
{# Gradient overlay at bottom of photo #}
219-
<div class="absolute inset-x-0 bottom-0 h-24 bg-linear-to-t to-transparent from-black/60"></div>
222+
<div class="absolute inset-x-0 bottom-0 h-24 to-transparent bg-linear-to-t from-black/60"></div>
220223
{# Role badge pinned to bottom of photo #}
221224
<span class="absolute bottom-4 left-4 py-1 px-3 text-xs font-semibold text-white rounded-full shadow bg-django-green">
222225
{{ role }}

templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load tailwind_cli static %}
1+
{% load static tailwind_cli %}
22
<!DOCTYPE html>
33
<html lang="en" class="scroll-smooth">
44
<head>
@@ -35,7 +35,7 @@
3535
<meta name="msapplication-TileColor" content="#ffffff">
3636
<meta name="msapplication-TileImage" content="{% static 'images/favicon/ms-icon-144x144.png' %}">
3737
</head>
38-
<body class="font-sans antialiased bg-surface text-text overflow-x-hidden">
38+
<body class="overflow-x-hidden font-sans antialiased bg-surface text-text">
3939

4040
<a href="#main-content" class="sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:py-2 focus:px-4 focus:text-white focus:rounded-md focus:not-sr-only focus:bg-django-green">
4141
Skip to main content

templates/contact.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}Contact the DEFNA team — mailing address, phone, and email for general and DjangoCon US inquiries.{% endblock %}
77

88
{% block og_title %}Contact DEFNA — Django Events Foundation North America{% endblock %}
9+
910
{% block og_description %}Reach the DEFNA team for board, grants, sponsorship, and DjangoCon US inquiries. Mailing address, phone, and email contacts.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/home.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}DjangoCon US community{% endblock %}
1215

1316
{% block content %}

templates/donate.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}Support DEFNA and help keep Django events accessible to everyone. Your donation funds diversity tickets, financial aid, and community event grants.{% endblock %}
77

88
{% block og_title %}Donate to DEFNA — Support the Django Community{% endblock %}
9+
910
{% block og_description %}Support DEFNA's mission to grow the Django community through DjangoCon US, grants, and sponsored events. Your tax-deductible donation makes a difference.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/home-2.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}Django community members at DjangoCon US{% endblock %}
1215

1316
{% block content %}
@@ -23,7 +26,7 @@ <h1 class="max-w-2xl text-4xl font-bold leading-tight sm:text-5xl">Help keep Dja
2326
Every donation — large or small — helps fund diversity tickets, financial aid, and community event grants that make the Django ecosystem more welcoming.
2427
</p>
2528
<a href="#donate-now"
26-
class="inline-flex justify-center items-center py-3 px-6 mt-8 font-semibold text-white rounded-md shadow-sm transition-colors bg-defna-gold w-full sm:w-fit hover:bg-defna-gold-dark">
29+
class="inline-flex justify-center items-center py-3 px-6 mt-8 w-full font-semibold text-white rounded-md shadow-sm transition-colors bg-defna-gold sm:w-fit hover:bg-defna-gold-dark">
2730
Donate Now
2831
</a>
2932
</div>

templates/events/djangocon.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}DjangoCon US is the annual conference for the North American Django community, organised by DEFNA since 2015.{% endblock %}
77

88
{% block og_title %}DjangoCon US — DEFNA{% endblock %}
9+
910
{% block og_description %}DjangoCon US is the largest annual gathering of the Django community in North America, organised and sponsored by DEFNA since 2015.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/djangocon.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}DjangoCon US conference attendees{% endblock %}
1215

1316
{% block content %}

templates/events/sponsored.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}Django events around the world supported by DEFNA through community grants and sponsorships.{% endblock %}
77

88
{% block og_title %}Sponsored Events — DEFNA{% endblock %}
9+
910
{% block og_description %}DEFNA sponsors Django community events and meetups across North America. See the events we've supported through our grants program.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/defna.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}Django community meetup supported by DEFNA{% endblock %}
1215

1316
{% block content %}

templates/grants.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
{% block meta_description %}DEFNA offers grants of up to $300 to help community members organise Django-related events across North America.{% endblock %}
66

77
{% block og_title %}Grants Program — DEFNA{% endblock %}
8+
89
{% block og_description %}DEFNA awards grants of up to $300 to support Django-related events and educational initiatives across North America. Apply for community funding today.{% endblock %}
10+
911
{% block og_image %}{% static 'images/grants.jpg' %}{% endblock %}
12+
1013
{% block og_image_alt %}Django community members at a grant-sponsored event{% endblock %}
1114

1215
{% block content %}
@@ -143,7 +146,7 @@ <h3 class="mb-5 font-bold text-django-green">How to Apply</h3>
143146
<div>
144147
<p class="text-sm font-medium text-text">Once the grant is approved</p>
145148
<p class="mt-0.5 text-xs text-text-muted">Once the grant is approved and funds are released, please
146-
<a href="https://forms.gle/88po8sxoJuWWn8xQ6" target="_blank" rel="noopener noreferrer" class="text-django-green underline hover:text-django-green-dark">fill out this form</a>
149+
<a href="https://forms.gle/88po8sxoJuWWn8xQ6" target="_blank" rel="noopener noreferrer" class="underline text-django-green hover:text-django-green-dark">fill out this form</a>
147150
for our records.
148151
</p>
149152
</div>

templates/home.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
{% block meta_description %}Django Events Foundation North America — supporting the Django community through DjangoCon US, grants, and sponsored events since 2015.{% endblock %}
77

88
{% block og_title %}DEFNA — Django Events Foundation North America{% endblock %}
9+
910
{% block og_description %}Django Events Foundation North America: supporting the Django community through DjangoCon US, grants, and sponsored events across North America since 2015.{% endblock %}
11+
1012
{% block og_image %}{% static 'images/home.jpg' %}{% endblock %}
13+
1114
{% block og_image_alt %}DjangoCon US community gathering{% endblock %}
1215

1316
{% block content %}

templates/partials/_footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h3 class="mb-3 text-sm font-semibold tracking-widest uppercase text-django-gree
5353

5454
</div>
5555

56-
<div class="pt-8 mt-10 space-y-1 text-xs text-gray-400 border-t border-django-green-dark sm:flex sm:justify-between sm:items-center sm:gap-6 sm:space-y-0">
56+
<div class="pt-8 mt-10 space-y-1 text-xs text-gray-400 border-t sm:flex sm:gap-6 sm:justify-between sm:items-center sm:space-y-0 border-django-green-dark">
5757
<p class="shrink-0">&copy; 2015–{% now "Y" %} Django Events Foundation North America. All rights reserved.</p>
5858
<p class="sm:text-right">A California nonprofit. DEFNA is not affiliated with the Django Software Foundation except as licensee of the DjangoCon US name.</p>
5959
</div>

templates/partials/_nav.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{# Logo #}
77
<a href="{% url 'home' %}" class="flex items-center shrink-0">
8-
<img src="{% static 'images/DEFNA-Logotype.png' %}" alt="DEFNA – Django Events Foundation North America" class="h-8 w-auto max-w-[140px] sm:h-10 sm:max-w-none">
8+
<img src="{% static 'images/DEFNA-Logotype.png' %}" alt="DEFNA – Django Events Foundation North America" class="w-auto h-8 sm:max-w-none sm:h-10 max-w-[140px]">
99
</a>
1010

1111
{# Desktop nav #}
@@ -91,7 +91,7 @@
9191
<a href="{% url 'grants' %}" class="flex items-center py-3 px-3 text-sm font-medium text-gray-700 rounded-md min-h-11 hover:text-django-green hover:bg-django-green-pale">Grants</a>
9292
<a href="{% url 'contact' %}" class="flex items-center py-3 px-3 text-sm font-medium text-gray-700 rounded-md min-h-11 hover:text-django-green hover:bg-django-green-pale">Contact</a>
9393
<div class="pt-2">
94-
<a href="{% url 'donate' %}" class="flex justify-center items-center py-3 px-4 text-sm font-semibold text-center text-white rounded-md min-h-11 transition-colors bg-defna-gold hover:bg-defna-gold-dark">Donate</a>
94+
<a href="{% url 'donate' %}" class="flex justify-center items-center py-3 px-4 text-sm font-semibold text-center text-white rounded-md transition-colors min-h-11 bg-defna-gold hover:bg-defna-gold-dark">Donate</a>
9595
</div>
9696
</div>
9797
</nav>

0 commit comments

Comments
 (0)