From 00d2c7a732389d33ced39db102d42b07a8e2cf1b Mon Sep 17 00:00:00 2001 From: Christian Aranas Date: Fri, 17 May 2024 20:09:55 +0800 Subject: [PATCH] Changed design of cards in `blog-entry`s via the web component implementation The cards now look like Cards commonly used in Material Design. --- components/blog-entry.webc | 2 +- pages/index.webc | 54 ++++++++++++++++++-------------------- 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/components/blog-entry.webc b/components/blog-entry.webc index b45ab1a..553de55 100644 --- a/components/blog-entry.webc +++ b/components/blog-entry.webc @@ -1,7 +1,7 @@
diff --git a/pages/index.webc b/pages/index.webc index fb711c1..09d7524 100644 --- a/pages/index.webc +++ b/pages/index.webc @@ -69,37 +69,33 @@ loadingSpinner.remove(); for (let article of res.data.articles.data) { let content = ` -
- -
- `; + `; let clone = template.cloneNode(false); clone.removeAttribute("id"); clone.classList.remove("hidden");