From 2ead93dbd5d532496622121cc87c89c4f1abd6c3 Mon Sep 17 00:00:00 2001 From: cssbubble Date: Tue, 17 May 2022 21:57:13 +0100 Subject: [PATCH] aspect ratio of images corrected, badges added --- learn.db | Bin 20480 -> 20480 bytes src/ItemDetail.svelte | 104 +++++++++++++++--------------------------- templates/index.html | 2 +- 3 files changed, 39 insertions(+), 67 deletions(-) diff --git a/learn.db b/learn.db index 9e94015876647de3c8180cf20ef3adf9f94a0207..5cdbd9ca6aa9f5592caf5bb3a4ae90d94896d1ac 100644 GIT binary patch delta 256 zcmZozz}T>WaRZBj7$@Ir2L4z4r}@|LPvFnu_v1I>=jMC8Sy132U%ebBo1r8xFKYKbp-&z@@KcliZGr2ebLh&*%FtBnzVc`46 zSHPRc^Njn+#>PwB%#HP|n_t>6GBUDEer?;%$h;WHVd7?*Tx#D9lw+Ly(&qmn2LS+! C6;k;C delta 110 zcmZozz}T>WaRZA2A1i+r1OF@j)BJ1rC-7%&78Ho!pPZ%d&dk8TFnNo8!`xWUvbfNek%^Ug@=Kd`MyAa`4iHQ(w(DNx GAOHaN#2|VA diff --git a/src/ItemDetail.svelte b/src/ItemDetail.svelte index 59a9569..74c92c7 100644 --- a/src/ItemDetail.svelte +++ b/src/ItemDetail.svelte @@ -6,7 +6,6 @@ .then(r => r.json()) .then(data => { item = data[itemid]; - console.log(item) }); @@ -16,55 +15,28 @@
- +
- -
-
-

{item.name}

-

Into Several Rmote Regions of the World

- {item.creator} -
- -
-
- ★★★★★ -
- 333 Ratings -
-
- - - - - - - - -
+
+

{item.name}

+

Into Several Rmote Regions of the World

+ {item.creator} +
+ +
+
+ ★★★★★ +
+ 333 Ratings +
+
+ Book + + Video
- -
-
- - -
- - -
@@ -76,8 +48,8 @@
-
-
+
+

genre

@@ -90,7 +62,7 @@ Fiction
-
+

released

1729 @@ -98,7 +70,7 @@ December 31
-
+

language

EN @@ -106,7 +78,7 @@ English
-
+

Length

209 @@ -114,14 +86,14 @@ Pages
-
+

Publisher


Public Domain
-
+

Size

310.4 @@ -170,7 +142,7 @@
- +

A Modest Proposal

@@ -181,7 +153,7 @@
- +

A Modest Proposal

@@ -192,7 +164,7 @@
- +

A Modest Proposal

@@ -203,7 +175,7 @@
- +

A Modest Proposal

@@ -214,7 +186,7 @@
- +

A Modest Proposal

@@ -225,7 +197,7 @@
- +

A Modest Proposal

@@ -236,7 +208,7 @@
- +

A Modest Proposal

@@ -257,49 +229,49 @@
- +
- +
- +
- +
- +
- +
- +
diff --git a/templates/index.html b/templates/index.html index 51e84e9..6317b7f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,5 @@ - +