commit - defb72c5a218bb1983f222702ee7954a2f305fb0
commit + b32d4c759e33e48f1b99dd52221058b75f0f9d1b
blob - 21dd5b57c0cf5ff6b0f4b9e0987813351d154137
blob + b17440e9652f7766bbfd561d1db2f2546b053118
--- src/Templates.purs
+++ src/Templates.purs
color: oklch(0.78 0.13 357.86);
}
- .about-list {
- list-style: none;
- padding: 0;
- margin: 0;
- }
-
- .about-list li {
- background: none;
- border: none;
- border-radius: 0;
- padding: 3px 0;
- margin-bottom: 0;
- display: block;
- box-shadow: none;
- font-size: 13px;
- color: oklch(0.70 0.035 225.31);
- }
-
- .about-list li::before {
- content: "→ ";
- color: oklch(0.42 0.04 225.31);
- }
-
- .about-meta {
- font-size: 13px;
- margin: 0;
- }
-
.about-users {
list-style: none;
padding: 0;
blob - 965a940a363e38b8f996bd6b18387979ffc1b586
blob + 16b690a5f79203f7a4afa029828aa3b5865e8d4b
--- src/View.elm
+++ src/View.elm
import Browser
import Dict exposing (Dict)
-import Html exposing (Html, a, button, div, h1, h2, img, input, li, p, span, strong, text, ul)
+import Html exposing (Html, a, button, div, h2, img, input, li, p, span, strong, text, ul)
import Html.Attributes as Attr exposing (class, disabled, href, placeholder, src, style, target, type_, value)
import Html.Events exposing (on, onClick, onInput)
import Json.Decode as D
in
div []
[ p [ class "about-lead" ]
- [ text "corpus is a self-hosted proxy that syncs scrobbles from "
+ [ extLink "https://github.com/mtmn/corpus" "corpus"
+ , text " is a self-hosted proxy that syncs scrobbles from "
, extLink "https://listenbrainz.org" "ListenBrainz"
, text " and "
, extLink "https://www.last.fm" "Last.fm."
]
- , div [ class "stats-section" ]
- [ h2 [] [ text "features" ]
- , ul [ class "about-list" ]
- [ li [] [ text "searchable listen history with pagination" ]
- , li [] [ text "stats by artist, track, label, year, and genre" ]
- , li [] [ text "filter listens by label, artist, genre, or year" ]
- , li [] [ text "cover art from Cover Art Archive, Last.fm, and Discogs" ]
- , li [] [ text "similar track discovery via cosine.club" ]
- , li [] [ text "metadata enrichment via MusicBrainz, Last.fm, and Discogs" ]
- ]
- ]
- , div [ class "stats-section" ]
- [ h2 [] [ text "links" ]
- , p [ class "about-meta" ]
- [ div [] [ extLink "https://instagram.com/counterpoint303" "counterpoint" ]
- , div [] [ extLink "https://sr.ht/~mtmn/corpus" "sourcehut" ]
- , div [] [ extLink "https://mtmn.name" "mtmn.name" ]
- ]
- ]
, if List.isEmpty otherUsers then
text ""