refactor: simplify template by using a view model

Convert the raw OPDS format to a view model that
is easier to work with. Biggest change is that
we construct a single "Link" from an entry with
an array of Links with different "TypeLinks" and "Rel"
attributes.
This commit is contained in:
Evan Buss
2024-07-05 00:57:30 -04:00
parent 7c63b06e05
commit 5b68923ba9
4 changed files with 104 additions and 25 deletions

View File

@@ -18,7 +18,8 @@
#container > ul > li {
display: flex;
justify-content: space-between;
justify-content: start;
gap: 16px;
align-items: center;
padding: 0.5rem 1rem;
}