File tree 6 files changed +12
-8
lines changed
6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Title: Nico Hoffmann
2
2
3
3
----
4
4
5
- Website: http ://github .com/distantnative
5
+ Website: https ://distantnative .com
6
6
7
7
----
8
8
Original file line number Diff line number Diff line change 16
16
<header class="prose mb-6">
17
17
<h2><?= $ authors ->count () > 1 ? 'Authors ' : 'Author ' ?> </h2>
18
18
</header>
19
- <ul class="auto-fill " style="--min: 12rem ; --max: 14rem ">
19
+ <ul class="columns " style="--columns: 1 ; --gap: 1.5rem ">
20
20
<?php foreach ($ authors as $ author ): ?>
21
- <li>
22
- <figure class="block bg-white p-6 shadow-2xl">
23
- <p class="mb-3" style="--aspect-ratio: 1/1"><?= $ author ->image ()->crop (400 ) ?> </p>
24
- <figcaption class="flex-grow text-sm leading-tight">
21
+ <li class="max-w-xl bg-light rounded overflow-hidden shadow-lg">
22
+ <figure class="columns" style="--columns: 7; --gap: 0">
23
+ <div style="--aspect-ratio: 1/1; --span: 2">
24
+ <?= $ author ->image ()->crop (400 ) ?>
25
+ </div>
26
+ <figcaption class="p-6 text-sm leading-tight" style="--span: 5">
25
27
<div class="mb-6">
26
- <p class="font-bold"><?= $ author ->title () ?> </p>
28
+ <p class="h4 font-bold"><?= $ author ->title () ?> </p>
27
29
<p class="mb-1 color-gray-700"><?= $ author ->bio () ?> </p>
28
30
29
31
<?php if ($ author ->website ()->isNotEmpty ()): ?>
30
32
<a href="<?= $ author ->website () ?> ">
31
- <p class="font-mono link"><?= $ author ->website ()->shortUrl () ?> </p>
33
+ <p class="font-mono link">
34
+ <?= $ author ->website ()->shortUrl () ?>
35
+ </p>
32
36
</a>
33
37
<?php endif ?>
34
38
</div>
You can’t perform that action at this time.
0 commit comments