diff --git a/css/styles.css b/css/styles.css
index a5b0ce8..f2c6a83 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -421,6 +421,7 @@ site-content {
display: grid;
grid-template-columns: 1fr;
gap: var(--spacing-md, 1rem); /* 16px */
+ padding-bottom: var(--spacing-md, 1rem);
}
/* ==========================================================================
diff --git a/index.html b/index.html
index 6db8ec6..d9c8b9f 100644
--- a/index.html
+++ b/index.html
@@ -52,8 +52,9 @@
stroke-linecap="round"
stroke-linejoin="round"
>
-
-
+
+
+
@@ -132,69 +133,43 @@
-
-
diff --git a/js/components/add-to-cart-button.js b/js/components/add-to-cart-button.js
index 904b29a..62f37ec 100644
--- a/js/components/add-to-cart-button.js
+++ b/js/components/add-to-cart-button.js
@@ -61,8 +61,8 @@ class AddToCartButton extends HTMLElement {
}
.add-to-cart-button svg {
- width: 16px;
- height: 16px;
+ width: 24px;
+ height: 24px;
color: var(--color-text-inverse, #ffffff);
}
diff --git a/js/components/arrow-button.js b/js/components/arrow-button.js
index be19ff5..f045445 100644
--- a/js/components/arrow-button.js
+++ b/js/components/arrow-button.js
@@ -51,16 +51,12 @@ class ArrowButton extends HTMLElement {
display: flex;
align-items: center;
justify-content: center;
- width: 24px;
- height: 24px;
- border: 1.5px solid currentColor;
- border-radius: 50%;
flex-shrink: 0;
}
.arrow-icon svg {
- width: 12px;
- height: 12px;
+ width: 24px;
+ height: 24px;
stroke: currentColor;
fill: none;
}
@@ -72,9 +68,10 @@ class ArrowButton extends HTMLElement {
-
diff --git a/js/components/book-card.js b/js/components/book-card.js
index b5c9258..e451d47 100644
--- a/js/components/book-card.js
+++ b/js/components/book-card.js
@@ -27,7 +27,8 @@ class BookCard extends HTMLElement {
}
setupEventListeners() {
- const addToCartButton = this.shadowRoot?.querySelector("add-to-cart-button");
+ const addToCartButton =
+ this.shadowRoot?.querySelector("add-to-cart-button");
if (addToCartButton) {
addToCartButton.addEventListener("add-to-cart", (e) => {
e.stopPropagation();
diff --git a/js/components/site-footer.js b/js/components/site-footer.js
index 35cfae3..9afd96c 100644
--- a/js/components/site-footer.js
+++ b/js/components/site-footer.js
@@ -5,7 +5,7 @@
class SiteFooter extends HTMLElement {
constructor() {
super();
- this.attachShadow({ mode: 'open' });
+ this.attachShadow({ mode: "open" });
}
connectedCallback() {
@@ -17,7 +17,7 @@ class SiteFooter extends HTMLElement {
@@ -108,4 +108,4 @@ class SiteFooter extends HTMLElement {
}
}
-customElements.define('site-footer', SiteFooter);
+customElements.define("site-footer", SiteFooter);
diff --git a/js/icons/mic.js b/js/icons/mic.js
index 2c96392..448ab6b 100644
--- a/js/icons/mic.js
+++ b/js/icons/mic.js
@@ -23,9 +23,9 @@ export function micIcon({
stroke-linecap="round"
stroke-linejoin="round"
>
-
+
-
+
`;
}
diff --git a/js/icons/search.js b/js/icons/search.js
index ff5921d..7019100 100644
--- a/js/icons/search.js
+++ b/js/icons/search.js
@@ -23,8 +23,8 @@ export function searchIcon({
stroke-linecap="round"
stroke-linejoin="round"
>
+
-
`;
}
diff --git a/js/icons/shopping-bag.js b/js/icons/shopping-bag.js
index a5a70d3..206c313 100644
--- a/js/icons/shopping-bag.js
+++ b/js/icons/shopping-bag.js
@@ -23,9 +23,9 @@ export function shoppingBagIcon({
stroke-linecap="round"
stroke-linejoin="round"
>
-
-
-
+
+
+
`;
}
diff --git a/js/icons/user.js b/js/icons/user.js
index dda51d5..02f7209 100644
--- a/js/icons/user.js
+++ b/js/icons/user.js
@@ -23,8 +23,9 @@ export function userIcon({
stroke-linecap="round"
stroke-linejoin="round"
>
-
-
+
+
+
`;
}