File tree Expand file tree Collapse file tree 6 files changed +15
-18
lines changed Expand file tree Collapse file tree 6 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 105105 </div >
106106
107107 <div class =" mt-2 flex space-x-1 text-sm text-skin-base sm:mt-0" >
108- <time datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> format ( ' j M, Y ' ) } } </time >
108+ <time class = " capitalize " datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> isoFormat ( ' LL ' ) } } </time >
109109 <span aria-hidden =" true" >· ; </span >
110110 <span >{{ $article -> readTime () } } min de lecture</span >
111111 <span aria-hidden =" true" >· ; </span >
132132 <div class =" mt-6 aspect-w-4 aspect-h-2 sm:mt-8 mx-auto" >
133133 <img class =" object-cover shadow-lg rounded-lg group-hover:opacity-75" src =" {{ $article -> getFirstMediaUrl (' media' ) } }" alt =" {{ $article -> title } }" />
134134 </div >
135- <div
136- class =" mt-8 prose prose-lg prose-green text-skin-base mx-auto overflow-x-hidden md:prose-xl lg:max-w-none"
137- >
138- <x-markdown-content :content =" $article->body" />
139- </div >
135+
136+ <x-markdown-content id =" content" class =" mt-8 prose prose-lg prose-green text-skin-base mx-auto overflow-x-hidden md:prose-xl lg:max-w-none" :content =" $article->body" />
140137
141138 <div class =" mt-6 pt-5 border-t border-skin-base sm:hidden" >
142139 <div class =" space-y-4" >
@@ -267,6 +264,8 @@ class="inline-flex items-center py-2 px-4 border border-skin-base rounded-md sha
267264 </div >
268265 <div class =" hidden relative lg:block lg:col-span-2" >
269266 <x-sticky-content class =" space-y-10" >
267+ <x-sponsors />
268+
270269 @if ($article -> showToc () )
271270 <div class =" bg-skin-card px-4 py-6 rounded-lg shadow-lg" >
272271 <h4 class =" text-sm text-skin-inverted font-semibold leading-tight tracking-widest uppercase" >Table des matières</h4 >
Original file line number Diff line number Diff line change 1111 <a href =" {{ route (' profile' , $article -> author -> username ) } }" class =" hover:underline" >{{ $article -> author -> name } } </a >
1212 </p >
1313 <p class =" text-sm text-skin-base" >
14- <a href =" #" class =" hover:underline" >
15- <time datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> format (' j M, Y' ) } } </time >
16- </a >
14+ <time class =" capitalize" datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> isoFormat (' LL' ) } } </time >
1715 </p >
1816 </div >
1917 </div >
4139 <div class =" inline-flex space-x-2 text-skin-muted" >
4240 <x-heroicon-o-eye class =" h-5 w-5" />
4341 <span class =" font-medium text-skin-inverted" >{{ $article -> views_count } } </span >
44- <span class =" sr-only" >views </span >
42+ <span class =" sr-only" >vues </span >
4543 </div >
4644 </span >
4745 </div >
Original file line number Diff line number Diff line change 88 </a >
99 <div class =" space-y-4" >
1010 <div >
11- <time datetime =" {{ $article -> created_at -> format (' Y-m-d' ) } }" class =" font-sans text-sm leading-5 text-skin-base capitalize" >
12- {{ $article -> created_at -> isoFormat (' LL' ) } }
11+ <time datetime =" {{ $article -> publishedAt () -> format (' Y-m-d' ) } }" class =" font-sans text-sm leading-5 text-skin-base capitalize" >
12+ {{ $article -> publishedAt () -> isoFormat (' LL' ) } }
1313 </time >
1414 <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 >
Original file line number Diff line number Diff line change 11@props ([' article' ] )
22
3- <div class =" space-y-4 lg:grid lg:grid-cols-3 lg:items-start lg:gap-6 lg:space-y-0" >
3+ <article id = " article-title- {{ $article -> id } } " class =" space-y-4 lg:grid lg:grid-cols-3 lg:items-start lg:gap-6 lg:space-y-0" >
44 <a href =" {{ route (' articles.show' , $article ) } }" class =" group" >
55 <div class =" aspect-w-3 aspect-h-2" >
66 <img class =" object-cover shadow-lg rounded-lg group-hover:opacity-75" src =" {{ $article -> getFirstMediaUrl (' media' ) } }" alt =" {{ $article -> title } }" />
3939 </a >
4040 </p >
4141 <div class =" flex space-x-1 text-sm text-skin-base/60" >
42- <time datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> format ( ' j M, Y ' ) } } </time >
42+ <time class = " capitalize " datetime =" {{ $article -> publishedAt ()-> format (' Y-m-d' ) } }" >{{ $article -> publishedAt ()-> isoFormat ( ' LL ' ) } } </time >
4343 <span aria-hidden =" true" >· ; </span >
4444 <span >{{ $article -> readTime () } } min de lecture</span >
4545 </div >
4646 </div >
4747 </div >
4848 </div >
4949 </div >
50- </div >
50+ </article >
Original file line number Diff line number Diff line change 11@props ([' content' ] )
22
33<div {{ $attributes } } >
4- {!! replace_links (\App \Markdown \MarkdownHelper:: parseLiquidTags (Markdown:: convertToHtml ($content ))) ! !}
4+ {!! replace_links (\App \Markdown \MarkdownHelper:: parseLiquidTags (Markdown:: convert ($content ))) ! !}
55</div >
Original file line number Diff line number Diff line change 1111 <a href =" https://gdg.community.dev/gdg-douala" class =" flex items-center justify-end py-2" >
1212 <x-icon .gdg class =" w-auto h-5 text-skin-inverted" />
1313 </a >
14- <a href =" https://twitter.com/DarkCodeCompany" class =" flex items-center justify-end" >
14+ {{-- <a href="https://twitter.com/DarkCodeCompany" class="flex items-center justify-end">
1515 <x-icon.darkcode class="h-4 text-skin-inverted"/>
16- </a >
16+ </a>--}}
1717 </div >
1818</div >
You can’t perform that action at this time.
0 commit comments