Skip to content

Commit b58a347

Browse files
ADDED: drizzle run to goodies
1 parent 5ee74f7 commit b58a347

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

src/components/layout/AsidePosts.astro

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,43 @@
160160
>
161161
</div>
162162
</a>
163+
<a href="https://drizzle.run" class="aside-posts__wrap">
164+
<div class="aside-posts__image">
165+
<div class="aside-posts__image--learn">
166+
<svg
167+
xmlns="http://www.w3.org/2000/svg"
168+
width="18"
169+
height="18"
170+
viewBox="0 0 24 24"
171+
>
172+
<path
173+
class="play-path"
174+
stroke="currentColor"
175+
stroke-linecap="round"
176+
stroke-linejoin="round"
177+
stroke-width="1.5" d="M6.906 4.537A.6.6 0 0 0 6 5.053v13.894a.6.6 0 0 0 .906.516l11.723-6.947a.6.6 0 0 0 0-1.032L6.906 4.537Z"
178+
></path>
179+
</svg>
180+
</div>
181+
</div>
182+
<div class="aside-posts__text">Drizzle Run</div>
183+
<div class="aside-posts__arrow-right">
184+
<svg
185+
xmlns="http://www.w3.org/2000/svg"
186+
width="24"
187+
height="24"
188+
viewBox="0 0 24 24"
189+
fill="none"
190+
stroke="currentColor"
191+
stroke-width="2"
192+
stroke-linecap="round"
193+
stroke-linejoin="round"
194+
class="feather feather-arrow-right"
195+
><line x1="5" y1="12" x2="19" y2="12"></line><polyline
196+
points="12 5 19 12 12 19"></polyline></svg
197+
>
198+
</div>
199+
</a>
163200
<div class="goods__wrap">
164201
<div class="goods__text">Our goodies!</div>
165202
</div>
@@ -184,6 +221,7 @@
184221
.aside-posts__container:hover .aside-posts__wrap .aside-posts__image {
185222
margin-left: 12px;
186223
transform: scale(1);
224+
opacity: 1;
187225
}
188226

189227
.aside-posts__container:hover .aside-posts__wrap .aside-posts__text {
@@ -257,6 +295,10 @@
257295
margin-top: -41px;
258296
}
259297

298+
.aside-posts__wrap:nth-child(5) {
299+
margin-top: -41px;
300+
}
301+
260302
.aside-posts__wrap:nth-child(2) .aside-posts__image {
261303
margin-left: 32px;
262304
}
@@ -269,6 +311,11 @@
269311
margin-left: 80px;
270312
}
271313

314+
.aside-posts__wrap:nth-child(5) .aside-posts__image {
315+
margin-left: 80px;
316+
opacity: 0;
317+
}
318+
272319

273320
.aside-posts__wrap:hover {
274321
background-color: #eff0f3;
@@ -301,7 +348,7 @@
301348
margin: 12px 8px 12px 12px;
302349
position: relative;
303350
z-index: 6;
304-
transition: margin-left 0.15s, transform 0.15s;
351+
transition: margin-left 0.15s, transform 0.15s, opacity 0.15s;
305352
transform: scale(0.8);
306353
}
307354

@@ -354,6 +401,14 @@
354401
width: 16px;
355402
color: #000;
356403
}
404+
405+
.play-path {
406+
fill: #c4c4c4;
407+
}
408+
409+
html.dark .play-path {
410+
fill: #333333;
411+
}
357412
</style>
358413

359414
<style is:global>

0 commit comments

Comments
 (0)