Skip to content

Commit ff316cd

Browse files
committed
add end_4 showcase
1 parent 0da5fe7 commit ff316cd

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

public/assets/showcase/end4.mp4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6f304f6265be53ea8f35cddc95f9169fe2fafc52df20120228bc61ea3f8bbf0d
3+
size 8571310

src/components/marquee/Marquee.astro

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ const videos = [
66
author: '<a href="https://github.com/soramanew">soramane</a>',
77
source: "https://github.com/caelestia-dots/shell",
88
path: "/assets/showcase/soramane.mp4",
9+
installable: true,
10+
},
11+
{
12+
author: '<a href="https://github.com/end-4">end_4</a>',
13+
source: "https://github.com/end-4/dots-hyprland",
14+
path: "/assets/showcase/end4.mp4",
15+
installable: true,
916
},
1017
{
1118
author: '<a href="https://outfoxxed.me">outfoxxed</a>',
@@ -37,7 +44,7 @@ const videos = [
3744
</div>
3845
</div>
3946
<div id="marquee-content" class="marquee-content" data-scroll="0" data-media-index="0">
40-
{videos.map(({ author, source, path }, index) => <div class="marquee-item">
47+
{videos.map(({ author, source, installable, path }, index) => <div class="marquee-item">
4148
<div>
4249
<video
4350
data-media-index={index}
@@ -53,15 +60,16 @@ const videos = [
5360
</video>
5461
<p>
5562
Configuration by <Fragment set:html={author}/>
56-
{source && <>(<a href={source}>source code</a>)</>}
63+
{source && !installable && <>(<a href={source}>source code</a>)</>}
64+
{source && installable && <>(<a href={source}>install</a>)</>}
5765
</p>
5866
</div>
5967
</div>)}
6068
</div>
6169
</div>
6270

6371
<script>
64-
const videoCount = 5; // last array index
72+
const videoCount = 6; // last array index
6573
const marquee = document.getElementById("marquee-content")!;
6674
marquee.style.setProperty("--scroll", "0")
6775

0 commit comments

Comments
 (0)