@@ -638,46 +638,52 @@ defmodule PlexusWeb.CoreComponents do
638
638
)
639
639
640
640
~H"""
641
- < div class = "flex drop-shadow-sm hover:drop-shadow-md " >
642
- < div class = "aspect-h-1 aspect-w-1 w-20 h-20 bg-white overflow-hidden " >
641
+ < div class = "flex " >
642
+ < div class = "aspect-h-1 aspect-w-1 w-24 h-24 bg-white overflow-hidden " >
643
643
< img
644
644
src = { @ app . icon_url }
645
645
alt = { @ app . name <> " Icon" }
646
646
class = "h-full w-full object-cover object-center "
647
647
/>
648
648
</ div >
649
649
< div class = "flex-1 flex items-center justify-between bg-white truncate " >
650
- < div class = "flex-1 px-4 py-2 text-sm leading-5 truncate " >
651
- < div class = "truncate text-gray-900 font-medium transition ease-in-out duration-150 " >
650
+ < div class = "flex-1 px-4 py-2 text-md leading-5 truncate " >
651
+ < div class = "truncate text-gray-900 font-semibold transition ease-in-out duration-150 " >
652
652
<%= @ app . name %>
653
653
</ div >
654
- < p :if = { @ total_counts == 1 } class = "text-gray-500 truncate " >
654
+ < p :if = { @ total_counts == 1 } class = "text-gray-600 truncate " >
655
655
<%= @ total_counts %> Rating
656
656
</ p >
657
- < p :if = { @ total_counts != 1 } class = "text-gray-500 truncate " >
657
+ < p :if = { @ total_counts != 1 } class = "text-gray-600 truncate " >
658
658
<%= @ total_counts %> Ratings
659
659
</ p >
660
660
</ div >
661
661
</ div >
662
- < div class = "flex flex-col justify-between " >
663
- < div class = { [
664
- "flex-1 flex items-center justify-center w-16 text-white text-sm leading-5 font-medium" ,
665
- @ native_level == :unrated && "bg-gray-700" ,
666
- @ native_level == :borked && "bg-red-800" ,
667
- @ native_level == :bronze && "bg-amber-800" ,
668
- @ native_level == :silver && "bg-slate-300 text-black" ,
669
- @ native_level == :gold && "bg-amber-200 black"
670
- ] } >
662
+ < div class = "flex flex-col justify-between bg-white " >
663
+ < div
664
+ title = "DeGoogled Score "
665
+ class = { [
666
+ "flex flex-1 items-center justify-center w-24 text-white text-sm leading-5 font-medium" ,
667
+ @ native_level == :unrated && "bg-gray-700" ,
668
+ @ native_level == :borked && "bg-red-800" ,
669
+ @ native_level == :bronze && "bg-amber-800" ,
670
+ @ native_level == :silver && "bg-slate-300 text-black" ,
671
+ @ native_level == :gold && "bg-amber-200 black"
672
+ ] }
673
+ >
671
674
<%= @ app . scores . native . numerator %>
672
675
</ div >
673
- < div class = { [
674
- "flex-1 flex items-center justify-center w-16 text-white text-sm leading-5 font-medium" ,
675
- @ micro_g_level == :unrated && "bg-gray-700" ,
676
- @ micro_g_level == :borked && "bg-red-800" ,
677
- @ micro_g_level == :bronze && "bg-amber-800" ,
678
- @ micro_g_level == :silver && "bg-slate-300 text-black" ,
679
- @ micro_g_level == :gold && "bg-amber-200 text-black"
680
- ] } >
676
+ < div
677
+ title = "MicroG Score "
678
+ class = { [
679
+ "flex flex-1 items-center justify-center w-24 text-white text-sm leading-5 font-medium" ,
680
+ @ micro_g_level == :unrated && "bg-gray-700" ,
681
+ @ micro_g_level == :borked && "bg-red-800" ,
682
+ @ micro_g_level == :bronze && "bg-amber-800" ,
683
+ @ micro_g_level == :silver && "bg-slate-300 text-black" ,
684
+ @ micro_g_level == :gold && "bg-amber-200 text-black"
685
+ ] }
686
+ >
681
687
μ<%= @ app . scores . micro_g . numerator %>
682
688
</ div >
683
689
</ div >
0 commit comments