🎬 Add watchlist
Some checks failed
Deploy website / build-and-deploy (push) Has been cancelled

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-03-15 23:23:41 +01:00
parent 9bd53aac28
commit a962329dcf
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 244 additions and 0 deletions

View file

@ -2064,6 +2064,237 @@
"rating": 4 "rating": 4
} }
] ]
},
{
"name": "Watchlist",
"url": "https://kjelsrud.dev/logs/watchlist/",
"tv":[
{
"title": "No Other Land"
},
{
"title": "Da vinden snudde"
},
{
"title": "Money Electic: The Bitcoin Mystery"
},
{
"title": "Blackberry"
},
{
"title": "Google and the World Brain"
},
{
"title": "Three colors: Blue, White & Red"
},
{
"title": "Shooting Stars"
},
{
"title": "Dreams 1990"
},
{
"title": "Source Code"
},
{
"title": "Under the Silver Lake"
},
{
"title": "Palm Spring"
},
{
"title": "Perfect Days"
},
{
"title": "The Worst Person In The World?"
},
{
"title": "Vengeance"
},
{
"title": "The Man Who Wanted to See It All"
},
{
"title": "DIRTY COIN: A Bitcoin Mining Documentary"
},
{
"title": "STRANDED: A short film by Alana Mediavilla"
},
{
"title": "Past Lives"
},
{
"title": "Aftersun"
},
{
"title": "To Every You I've Loved Before | To Me, The One Who Loved You"
},
{
"title": "Drop It"
},
{
"title": "The Real Thing"
},
{
"title": "Words Bubble Up Like Soda Pop"
},
{
"title": "Cryptopia: Bitcoin, Blockchains and the Future of the Internet"
},
{
"title": "True Spirit"
},
{
"title": "Get Smart With Money"
},
{
"title": "The Minimalists: Less Is Now"
},
{
"title": "The Playbook: A Coach's Rules for Life"
},
{
"title": "Fantastic Beasts: The Secrets of Dumbledore"
},
{
"title": "Josee, the Tiger and the Fish"
},
{
"title": "A Whisker Away"
},
{
"title": "Birds of Prey"
},
{
"title": "Hello World"
},
{
"title": "The Lion King - Live Action"
},
{
"title": "Maquia: When the Promised Flower Blooms"
},
{
"title": "Attraction"
},
{
"title": "Lu Over the Wall"
},
{
"title": "A Family Man"
},
{
"title": "Lion"
},
{
"title": "The Space Between Us"
},
{
"title": "Collateral Beauty"
},
{
"title": "Paterson"
},
{
"title": "Kids in Love"
},
{
"title": "Miracles from Heaven"
},
{
"title": "Hardcore Henry"
},
{
"title": "Before We Go"
},
{
"title": "Wolf Children"
},
{
"title": "Under overflaten"
},
{
"title": "Flavors of Youth"
},
{
"title": "Frieren: Beyond Journey's End"
},
{
"title": "Fallout"
},
{
"title": "Acolyte"
},
{
"title": "Ashoka"
},
{
"title": "Mr. Robot"
},
{
"title": "Planetes"
},
{
"title": "Nana"
},
{
"title": "Made in Abyss"
},
{
"title": "Yuru Camp"
},
{
"title": "Avatar: The Last Airbender"
},
{
"title": "Horimiya"
},
{
"title": "Steins;Gate"
},
{
"title": "My Love Story!!"
},
{
"title": "Gintama"
},
{
"title": "Hajime No Ippo"
},
{
"title": "Dorohedoro"
},
{
"title": "Fullmetal Alchemist: Brotherhood"
},
{
"title": "Neon Genesis Evangelion"
},
{
"title": "Serial Experiments Lain"
},
{
"title": "Initial D"
},
{
"title": "A Place Further Than the Universe"
},
{
"title": "Tokyo Magnitude 8.0"
},
{
"title": "Children of the Whales"
},
{
"title": "Black Lagoon"
},
{
"title": "The Disatrous Life of Saiki K."
},
{
"title": "Tokyo Ghoul"
}
]
} }
] ]
} }

View file

@ -4,6 +4,7 @@ import tv from '../../data/watchlist.json'
let watched = []; let watched = [];
let currently = []; let currently = [];
let to_watch = [];
tv.lists.forEach(list => { tv.lists.forEach(list => {
switch (list.name) { switch (list.name) {
@ -13,6 +14,9 @@ tv.lists.forEach(list => {
case "Currently watching": case "Currently watching":
currently = list.tv; currently = list.tv;
break; break;
case "Watchlist":
to_watch = list.tv;
break;
} }
}); });
@ -54,5 +58,14 @@ const sortedYears = Object.keys(tvByYear).sort((a: any, b: any) => b - a);
</ul> </ul>
</details> </details>
))} ))}
<details>
<summary class="text-xl font-semibold cursor-pointer">watchlist</summary>
<ul>
{to_watch.map((tv) => (
<li class="borderbottom">{tv.title}</li>
))}
</ul>
</details>
</main> </main>
</SectionContainer> </SectionContainer>