Skip to content

Commit e9ac19b

Browse files
committed
Adjusts leading
1 parent acf635f commit e9ac19b

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

src/events.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Events
99
{% include "nextEvent.njk" %}
1010

1111
<h2
12-
class="inline-block bg-black text-white text-2xl font-bold px-4 mb-2 transform -rotate-1"
12+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal mb-2 transform -rotate-1"
1313
>
1414
Past
1515
</h2>

src/includes/nextEvent.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<article class="mb-20">
44
<h2
5-
class="inline-block bg-black text-white text-2xl font-bold px-4 mb-2 transform -rotate-1"
5+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal mb-2 transform -rotate-1"
66
>
77
{% if page.url !== '/events/' | url %}
88
<a href="{{ '/events/' | url }}">Upcoming</a>

src/index.njk

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ changeFreq: daily
99
<div class="container mx-auto px-2 py-10 mb-10">
1010
<div class="flex justify-center items-center">
1111
<div>
12-
<div class="text-center flex flex-wrap sm:flex-nowrap justify-center px-4 sm:px-0">
12+
<div
13+
class="text-center flex flex-wrap sm:flex-nowrap justify-center px-4 sm:px-0"
14+
>
1315
<div class="w-full sm:w-1/2">
1416
<div class="pl-8 sm:pl-16" data-animated-logo>
1517
{% include "_logo.svg" %}
1618
</div>
1719
</div>
1820
<div class="w-full sm:w-1/2 self-center">
19-
<div class="text-4xl font-bold"><h1>JavaScriptMN</h1></div>
20-
<p class="text-xl">
21+
<div class="text-4xl leading-normal font-bold"><h1>JavaScriptMN</h1></div>
22+
<p class="text-xl leading-normal">
2123
A monthly meetup for anyone interested in JavaScript and related
2224
technologies in the Twin Cities.
2325
</p>
@@ -37,7 +39,7 @@ changeFreq: daily
3739
<div>
3840
<div class="flex justify-end items-center mb-2">
3941
<h2
40-
class="inline-block bg-black text-white text-2xl font-bold px-4 transform rotate-1"
42+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal transform rotate-1"
4143
>
4244
Links
4345
</h2>
@@ -60,15 +62,14 @@ changeFreq: daily
6062
</div>
6163
</div>
6264

63-
6465
{# location, speaking #}
6566

6667
<div class="container mx-auto px-2 mb-10">
6768
<div class="x-h-screen flex justify-center items-center">
6869
<div class="w-full">
6970
<section class="mb-8">
7071
<h2
71-
class="inline-block bg-black text-white text-2xl font-bold px-4 mb-2 transform -rotate-1"
72+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal mb-2 transform -rotate-1"
7273
>
7374
Location
7475
</h2>
@@ -99,7 +100,7 @@ changeFreq: daily
99100
<section class="mb-8">
100101
<div class="flex justify-start items-center mb-2">
101102
<h2
102-
class="inline-block bg-black text-white text-2xl font-bold px-4 transform -rotate-1"
103+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal transform -rotate-1"
103104
>
104105
Speak
105106
</h2>
@@ -116,10 +117,11 @@ changeFreq: daily
116117
</div>
117118
<div class="w-full sm:w-auto">
118119
<a
119-
class="block text-xl font-semibold border-2 border-black p-4 hover:bg-jsmn-yellow transition-all duration-100"
120+
class="text-xl font-semibold border-2 border-black p-4 hover:bg-jsmn-yellow transition-all duration-100 flex justify-evenly items-center"
120121
href="{{ '/speak/' | url }}"
121-
>Learn More</a
122122
>
123+
<span>Speak at JSMN!</span>
124+
</a>
123125
</div>
124126
</div>
125127
</section>
@@ -128,7 +130,7 @@ changeFreq: daily
128130
<section class="mb-8">
129131
<div class="flex justify-between items-center mb-2">
130132
<h2
131-
class="inline-block bg-black text-white text-2xl font-bold px-4 transform -rotate-1"
133+
class="inline-block bg-black text-white text-2xl font-bold px-4 leading-normal transform -rotate-1"
132134
>
133135
Sponsors
134136
</h2>
@@ -139,11 +141,12 @@ changeFreq: daily
139141
</p>
140142
</div>
141143
<div class="border-jsmn-yellow border-4 p-4">
142-
{% for section in sponsors %}
143-
{% if section.showOnHome === true %}
144+
{% for section in sponsors %} {% if section.showOnHome === true %}
144145
<div class="w-2/3 mx-auto mb-4">
145146
<h3 class="font-bold text-2xl">{{ section.section | safe }}</h3>
146-
<div class="grid sm:grid-cols-4 sm:gap-2 grid-cols-none space-y-4 sm:space-y-0">
147+
<div
148+
class="grid sm:grid-cols-4 sm:gap-2 grid-cols-none space-y-4 sm:space-y-0"
149+
>
147150
{% for sponsor in section.sponsors %}
148151
<div class="flex justify-center items-center">
149152
<a
@@ -163,8 +166,7 @@ changeFreq: daily
163166
{% endfor %}
164167
</div>
165168
</div>
166-
{% endif %}
167-
{% endfor %}
169+
{% endif %} {% endfor %}
168170
</div>
169171
</section>
170172
</div>

0 commit comments

Comments
 (0)