-
-
+
+
+
+
+
= ({ homepageData }) => {
)}
diff --git a/style.css b/style.css
index 3cc40c3dc..d5f8ae212 100644
--- a/style.css
+++ b/style.css
@@ -198,11 +198,11 @@ template {
.avatar-wrapper g:nth-of-type(1) {
animation-duration: 6s;
- animation-delay: 2s;
+ animation-delay: 1s;
}
.avatar-wrapper g:nth-of-type(2) {
- animation-duration: 6s;
+ animation-duration: 5s;
animation-delay: 1s;
}
@@ -213,35 +213,35 @@ template {
.avatar-wrapper g:nth-of-type(4) {
animation-duration: 5s;
- animation-delay: 1s;
+ animation-delay: 2s;
}
.avatar-wrapper g:nth-of-type(5) {
- animation-duration: 5s;
+ animation-duration: 4s;
animation-delay: 1s;
}
.avatar-wrapper g:nth-of-type(6) {
- animation-duration: 5s;
+ animation-duration: 6s;
animation-delay: 2s;
}
.avatar-wrapper g:nth-of-type(7) {
- animation-duration: 4s;
- animation-delay: 1s;
+ animation-duration: 5s;
+ animation-delay: 2s;
}
.avatar-wrapper g:nth-of-type(8) {
- animation-duration: 5s;
+ animation-duration: 6s;
animation-delay: 1s;
}
.avatar-wrapper g:nth-of-type(9) {
- animation-duration: 4s;
- animation-delay: 2s;
+ animation-duration: 6s;
+ animation-delay: 1s;
}
.avatar-wrapper g:nth-of-type(10) {
animation-duration: 4s;
- animation-delay: 2s;
+ animation-delay: 1s;
}
diff --git a/styles/main.css b/styles/main.css
index 1d972a62d..e3f7cd1db 100644
--- a/styles/main.css
+++ b/styles/main.css
@@ -140,7 +140,7 @@
display: block;
position: absolute;
content: '';
- background-image: url('../assets/book-open-light.svg');
+ background-image: var(--book-asset-path);
background-size: 1.5rem 1.5rem;
height: 1.5rem;
width: 1.5rem;
@@ -151,7 +151,7 @@
@apply top-padding-medium left-padding-medium hidden dark:block;
position: absolute;
content: '';
- background-image: url('../assets/book-open-dark.svg');
+ background-image: var(--book-asset-path-dark);
background-size: 1.5rem 1.5rem;
height: 1.5rem;
width: 1.5rem;
@@ -166,7 +166,7 @@
display: block;
position: absolute;
content: '';
- background-image: url('../assets/right-arrow-light.svg');
+ background-image: var(--right-arrow-path);
background-size: 1.5rem 1.5rem;
height: 1.5rem;
width: 1.5rem;
@@ -180,7 +180,7 @@
@apply top-padding-medium right-padding-medium hidden dark:block transition opacity-0;
position: absolute;
content: '';
- background-image: url('../assets/right-arrow-dark.svg');
+ background-image: var(--right-arrow-path-dark);
background-size: 1.5rem 1.5rem;
height: 1.5rem;
width: 1.5rem;
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 850a85e2f..80135b88e 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -34,7 +34,8 @@ const config: Config = {
md: `${SCREEN_SIZE.DESKTOP.min}px`,
/* Max */
lg: `${SCREEN_SIZE.XL_DESKTOP.min}px`,
- 'sm-md': '1000px',
+ 'sm-md': '900px',
+ xs: '600px',
},
extend: {
borderRadius: {
diff --git a/templates/document_head.hbs b/templates/document_head.hbs
index 9757767ec..3974d016a 100644
--- a/templates/document_head.hbs
+++ b/templates/document_head.hbs
@@ -33,6 +33,10 @@
--font-riegraf: 'Riegraf', serif;
--font-basel-grotesk: 'Basel Grotesk', sans-serif;
--font-fragment-mono: 'Fragment Mono', monospace;
+ --book-asset-path: url('{{asset "book-open-light.svg"}}');
+ --book-asset-path-dark: url('{{asset "book-open-dark.svg"}}');
+ --right-arrow-path: url('{{asset "right-arrow-light.svg"}}');
+ --right-arrow-path-dark: url('{{asset "right-arrow-dark.svg"}}');
}
@font-face {
diff --git a/templates/home_page.hbs b/templates/home_page.hbs
index f89538ec1..06ae88c5b 100644
--- a/templates/home_page.hbs
+++ b/templates/home_page.hbs
@@ -1,8 +1,8 @@