diff --git a/src/main/resources/static/css/explore.css b/src/main/resources/static/css/explore.css index 78e60a2..86a0df9 100644 --- a/src/main/resources/static/css/explore.css +++ b/src/main/resources/static/css/explore.css @@ -425,6 +425,12 @@ a { color: var(--dusty-red-hover); } +.card-cost { + font-weight: 800; + color: var(--dusty-red); +} + + /* ========================= Card Image ========================= */ diff --git a/src/main/resources/static/css/home.css b/src/main/resources/static/css/home.css index 62eb60b..d203aa3 100644 --- a/src/main/resources/static/css/home.css +++ b/src/main/resources/static/css/home.css @@ -290,6 +290,12 @@ a { color: var(--dusty-red-hover); } +.card-cost { + font-weight: 800; + color: var(--dusty-red); +} + + /* ========================= Card Image ========================= */ diff --git a/src/main/resources/static/css/my-profile.css b/src/main/resources/static/css/my-profile.css index ec62180..5b3a175 100644 --- a/src/main/resources/static/css/my-profile.css +++ b/src/main/resources/static/css/my-profile.css @@ -399,6 +399,11 @@ a { overflow: hidden; } +.card-cost { + font-weight: 800; + color: var(--dusty-red); +} + /* ========================= Card Image ========================= */ diff --git a/src/main/resources/templates/explore.html b/src/main/resources/templates/explore.html index 63870bd..7c14e6f 100644 --- a/src/main/resources/templates/explore.html +++ b/src/main/resources/templates/explore.html @@ -4,7 +4,7 @@ -
Cost
+Cost
@@ -234,6 +234,12 @@ window.location.href = '/explore?' + out.toString(); } })(); + + // For cost display + document.querySelectorAll('.card-cost').forEach(el => { + const num = parseInt(el.textContent); + el.textContent = num === 0 ? '' : '$'.repeat(num); +});diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index f432621..744e94d 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -2,7 +2,7 @@
-
+
@@ -51,7 +51,7 @@
-
Cost
+
Cost
@@ -64,5 +64,13 @@ + + + -