Skip to content

Commit 837408d

Browse files
committed
💄 modification de la disposition des articles sur la landing
1 parent ac2886b commit 837408d

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

public/css/app.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9513,6 +9513,14 @@ html {
95139513
column-gap: 0.5rem;
95149514
}
95159515

9516+
.lg\:gap-y-2 {
9517+
row-gap: 0.5rem;
9518+
}
9519+
9520+
.lg\:gap-y-4 {
9521+
row-gap: 1rem;
9522+
}
9523+
95169524
.lg\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
95179525
--tw-space-y-reverse: 0;
95189526
margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));

resources/views/components/articles/card.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<time datetime="{{ $article->created_at->format('Y-m-d') }}" class="font-sans text-sm leading-5 text-skin-base capitalize">
1212
{{ $article->created_at->isoFormat('LL') }}
1313
</time>
14-
<a href="{{ route('articles.show', $article) }}" class="mt-2 inline-flex items-center justify-between group">
14+
<a href="{{ route('articles.show', $article) }}" class="mt-2 flex items-center justify-between group">
1515
<h4 class="text-lg leading-6 font-semibold font-sans text-skin-inverted group-hover:text-skin-primary">{{ $article->title }}</h4>
1616
<x-heroicon-o-external-link class="ml-2.5 h-5 w-5 text-skin-base" />
1717
</a>

resources/views/components/articles/summary.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</p>
2020
</div>
2121
@if ($article->tags->isNotEmpty())
22-
<div class="mt-4 flex items-center space-x-2">
22+
<div class="mt-2 flex items-center space-x-2">
2323
@foreach ($article->tags as $tag)
2424
<x-tag :tag="$tag" />
2525
@endforeach

resources/views/home.blade.php

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

6868
<div class="py-12 lg:py-20">
6969
<x-section-header title="Articles Populaires" content="Découvrez les articles les plus appréciés et partagés par les membres de la communauté" />
70-
<div class="mt-8 grid gap-6 max-w-xl mx-auto lg:grid-rows-2 lg:grid-flow-col lg:grid-cols-2 lg:gap-y-0 lg:mt-10 lg:gap-x-8 lg:max-w-none">
70+
<div class="mt-8 grid gap-6 max-w-xl mx-auto lg:grid-rows-2 lg:grid-flow-col lg:grid-cols-2 lg:mt-10 lg:gap-x-8 lg:max-w-none">
7171
@foreach($latestArticles as $article)
7272
@if($loop->first)
7373
<div class="lg:row-span-2">

0 commit comments

Comments
 (0)