@@ -19,7 +19,21 @@ class="bg-rss top-8 right-2 mt-2 flex items-center justify-center rounded-sm p-1
19
19
<s:partial src =" icons/rss" class =" inline h-3 fill-current text-white" />
20
20
</a >
21
21
22
- <h2 >My favorites</h2 >
22
+ <h2 class =" text-blue-darker mt-8 flex items-center justify-start space-x-1" >
23
+ <s:partial src =" icons/seedling" class =" size-5" />
24
+ <span >Most recent</span >
25
+ </h2 >
26
+
27
+ <s:collection :from =" $mount" sort =" publication_date:desc" limit =" 1" >
28
+ <x-content-card heading =" 3" :$title :$url :date =" $publication_date" >
29
+ {!! $summary ! !}
30
+ </x-content-card >
31
+ </s:collection >
32
+
33
+ <h2 class =" text-blue-darker mt-8 flex items-center justify-start space-x-1" >
34
+ <s:partial src =" icons/favorite" class =" size-5" />
35
+ <span >My favorites</span >
36
+ </h2 >
23
37
24
38
<s:collection
25
39
:from =" $mount"
@@ -31,13 +45,16 @@ class="bg-rss top-8 right-2 mt-2 flex items-center justify-center rounded-sm p-1
31
45
</x-content-card >
32
46
</s:collection >
33
47
34
- <h2 >All posts</h2 >
48
+ <h2 class =" text-blue-darker mt-8 flex items-center justify-start space-x-1" >
49
+ <s:partial src =" icons/list-bullet" class =" size-5" />
50
+ <span >All posts</span >
51
+ </h2 >
35
52
36
53
<ul class =" list-none" >
37
54
<s:collection :from =" $mount" sort =" publication_date:desc" >
38
- <li class =" mb-2 flex" >
55
+ <li class =" mb-4 flex items-center md:mb-2 " >
39
56
<time
40
- class =" bg-blue-lighter text-blue-darker mr-2 rounded-lg px-2 py-1 font-mono text-sm"
57
+ class =" bg-blue-lighter text-blue-darker mr-2 shrink-0 self-start rounded-lg px-2 py-1 font-mono text-sm"
41
58
datetime =" {{ $publication_date -> toDateTimeString () } }"
42
59
>
43
60
<span
@@ -47,16 +64,21 @@ class="ml-1"
47
64
{{ $publication_date -> display (' month-short' ) } }
48
65
</span >
49
66
</time >
50
- @if ($favorite -> value () )
51
- <s:partial src =" icons/favorite" class =" mr-1 size-5" />
52
- @endif
67
+ <span class =" items-center md:flex" >
68
+ @if ($favorite -> value () )
69
+ <s:partial
70
+ src =" icons/favorite"
71
+ class =" size-5 md:mr-1"
72
+ />
73
+ @endif
53
74
54
- <a
55
- href =" {{ $url } }"
56
- class =" no-underline hover:underline focus:underline"
57
- >
58
- {{ $title } }
59
- </a >
75
+ <a
76
+ href =" {{ $url } }"
77
+ class =" no-underline hover:underline focus:underline"
78
+ >
79
+ {{ $title } }
80
+ </a >
81
+ </span >
60
82
</li >
61
83
</s:collection >
62
84
</ul >
0 commit comments