From 83de968b31a5d65254df0c9482793bb511ac0d54 Mon Sep 17 00:00:00 2001 From: sKawashima Date: Sun, 16 Feb 2025 16:41:25 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20(index.html):=20add=20a=20ne?= =?UTF-8?q?wline=20at=20the=20end=20of=20the=20file=20to=20comply=20with?= =?UTF-8?q?=20HTML=20standards=20and=20improve=20file=20consistency=20?= =?UTF-8?q?=E2=9C=A8=20(Works.astro):=20update=20the=20works=20array=20to?= =?UTF-8?q?=20include=20new=20SoundCloud=20track=20IDs=20and=20add=20instr?= =?UTF-8?q?uctions=20for=20updating=20the=20array=20=E2=99=BB=EF=B8=8F=20(?= =?UTF-8?q?Works.astro):=20refactor=20the=20rendering=20of=20SoundCloud=20?= =?UTF-8?q?tracks=20to=20use=20map=20function=20for=20better=20maintainabi?= =?UTF-8?q?lity=20and=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.html | 2 +- src/components/Works.astro | 171 +++++++++++++++++++------------------ 2 files changed, 91 insertions(+), 82 deletions(-) diff --git a/docs/index.html b/docs/index.html index 72084e6..16625b5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ - Trinity Trio
Loading
CHARLII_k

CHARLII_k

ryu-g

ryu-g

by_sK

by_sK

私達は
函館に
いま

Trinity Trio

は3人である。

は情報機器を媒介として心の奥底に眠る思想や感情を表出する活動である。

はそれぞれの思考を融合した結果創出される結果である。

は共通の敵を持つ。

は音楽を扱う。

はテキストを扱う。

は空間を扱う。

は情報空間を扱う。

は函館の自分たちではどうにもならない憂鬱な雰囲気に対抗すべく、小さく抗う希望の灯火であった。

は時間に制約されない。

は空間に制約されない。

loading
loading
loading
loading
loading
loading
loading
\ No newline at end of file + Trinity Trio
Loading
CHARLII_k

CHARLII_k

ryu-g

ryu-g

by_sK

by_sK

私達は
函館に
いま

Trinity Trio

は3人である。

は情報機器を媒介として心の奥底に眠る思想や感情を表出する活動である。

はそれぞれの思考を融合した結果創出される結果である。

は共通の敵を持つ。

は音楽を扱う。

はテキストを扱う。

は空間を扱う。

は情報空間を扱う。

は函館の自分たちではどうにもならない憂鬱な雰囲気に対抗すべく、小さく抗う希望の灯火であった。

は時間に制約されない。

は空間に制約されない。

loading
loading
loading
loading
loading
loading
loading
\ No newline at end of file diff --git a/src/components/Works.astro b/src/components/Works.astro index 1a94aed..105ad89 100644 --- a/src/components/Works.astro +++ b/src/components/Works.astro @@ -1,98 +1,107 @@ --- import { Image } from 'astro:assets' import loading from '../assets/loading.svg' + +/** + * 更新方法 + * SoundCloud の楽曲ページでShare > Embed > Code を取得し、traks/ 直後の数字をworks配列に追加する。 + * 新しいものほど**下**に追加する。 + * 例: + *
Trinity Trio · grenada
+ * この場合、works配列に'493911225'を追加する。 + */ + +const works = [ + '493909566', + '493909692', + '493909863', + '493910124', + '493910787', + '493911225', + '494605326', +] ---
-
- - loading -
-
- - loading -
-
- - loading -
-
- - loading -
-
- - loading -
-
- - loading -
-
- - loading -
+ { + works.toReversed().map((trackId) => ( +
+