Skip to content

Commit 5d1694d

Browse files
✨ Refactor footer and welcome views for improved layout and responsiveness
1 parent fb4622d commit 5d1694d

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

resources/views/components/footer.blade.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ class="sr-only"
88
>
99
Footer
1010
</h2>
11-
<div class="flex flex-wrap items-center justify-between gap-x-6 gap-y-4">
11+
<div
12+
class="flex flex-col flex-wrap items-center gap-x-6 gap-y-4 md:flex-row md:justify-between"
13+
>
1214
{{-- Left side --}}
13-
<div class="flex flex-col gap-6">
15+
<div class="flex flex-col items-center gap-6 md:items-start">
1416
{{-- Logo --}}
1517
<div
1618
x-init="
@@ -162,7 +164,7 @@ class="flex items-center pb-3 pt-3"
162164

163165
{{-- Copyright --}}
164166
<section
165-
class="flex flex-wrap items-center justify-between gap-x-5 gap-y-3 text-sm text-gray-500 dark:text-gray-400/80"
167+
class="flex flex-col flex-wrap items-center gap-x-5 gap-y-3 text-center text-sm text-gray-500 md:flex-row md:justify-between md:text-left dark:text-gray-400/80"
166168
aria-label="Credits and copyright information"
167169
>
168170
<div
@@ -183,29 +185,29 @@ class="flex flex-wrap items-center justify-between gap-x-5 gap-y-3 text-sm text-
183185
})
184186
}
185187
"
186-
class="flex flex-wrap items-center gap-2 opacity-0"
188+
class="flex flex-col flex-wrap items-center gap-2 opacity-0 md:flex-row"
187189
>
188190
<div class="flex gap-1">
189191
<div>Website designed by</div>
190192
<a
191193
href="https://twitter.com/HassanZahirnia"
192194
target="_blank"
193-
class="transition duration-200 hover:text-black dark:hover:text-white"
195+
class="font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
194196
aria-label="Hassan's Twitter profile"
195197
rel="noopener noreferrer"
196198
>
197199
Hassan Zahirnia
198200
</a>
199201
</div>
200202
<div
201-
class="hidden h-3 w-0.5 bg-gray-300 min-[438px]:block dark:bg-[#242734]"
203+
class="hidden h-3 w-0.5 bg-gray-300 md:block dark:bg-[#242734]"
202204
></div>
203205
<div class="flex gap-1">
204206
<div>Logo by</div>
205207
<a
206208
href="https://twitter.com/caneco"
207209
target="_blank"
208-
class="transition duration-200 hover:text-black dark:hover:text-white"
210+
class="font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
209211
aria-label="Caneco's Twitter profile"
210212
rel="noopener noreferrer"
211213
>
@@ -237,7 +239,7 @@ class="opacity-0"
237239
<a
238240
href="https://twitter.com/marcelpociot"
239241
target="_blank"
240-
class="transition duration-200 hover:text-black dark:hover:text-white"
242+
class="font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
241243
aria-label="Marcel Pociot's Twitter profile"
242244
rel="noopener noreferrer"
243245
>
@@ -247,13 +249,12 @@ class="transition duration-200 hover:text-black dark:hover:text-white"
247249
<a
248250
href="https://twitter.com/simonhamp"
249251
target="_blank"
250-
class="transition duration-200 hover:text-black dark:hover:text-white"
252+
class="font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
251253
aria-label="Simon Hamp's Twitter profile"
252254
rel="noopener noreferrer"
253255
>
254256
Simon Hamp
255257
</a>
256-
<span>.</span>
257258
</div>
258259
</section>
259260
</footer>

resources/views/welcome.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ class="sr-only"
11361136
<div class="divide-y divide-[#242A2E]/20 *:py-8">
11371137
{{-- Featured sponsors --}}
11381138
<div
1139-
class="flex flex-col items-center justify-between gap-10 md:flex-row md:items-start"
1139+
class="flex flex-col items-center justify-between gap-x-10 gap-y-5 md:flex-row md:items-start"
11401140
aria-labelledby="featured-sponsors-title"
11411141
>
11421142
<h3
@@ -1189,7 +1189,7 @@ class="flex grow flex-wrap items-center justify-center gap-5 md:justify-end"
11891189
</div>
11901190
{{-- Corporate sponsors --}}
11911191
<div
1192-
class="flex flex-col items-center justify-between gap-10 md:flex-row md:items-start"
1192+
class="flex flex-col items-center justify-between gap-x-10 gap-y-5 md:flex-row md:items-start"
11931193
aria-labelledby="corporate-sponsors-title"
11941194
>
11951195
<h3

0 commit comments

Comments
 (0)