From 830b5163cb6f739861b08c41309ff0a004c9baa8 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Tue, 7 Apr 2026 17:33:25 +0200 Subject: [PATCH] added functional pagination to feed --- src/routes/feed/+page.svelte | 72 +++--------------------- src/routes/feed/+page.ts | 20 +++++-- src/routes/feed/drawings/firstmonth.md | 2 +- src/routes/feed/electronics/3ds-usb-c.md | 40 +++++++++++++ src/routes/feed/electronics/deej0461.md | 52 ++--------------- src/routes/feed/feed.ts | 3 + 6 files changed, 73 insertions(+), 116 deletions(-) create mode 100644 src/routes/feed/electronics/3ds-usb-c.md diff --git a/src/routes/feed/+page.svelte b/src/routes/feed/+page.svelte index 4461688..bea51a7 100644 --- a/src/routes/feed/+page.svelte +++ b/src/routes/feed/+page.svelte @@ -2,12 +2,10 @@ import Content from "$lib/viewport/content.svelte"; import Banner2 from "$lib/banner2.svelte"; import TableOfContents from "$lib/components/table-of-contents.svelte"; - import SubtitledImage from "$lib/components/subtitled-image.svelte"; - import ImageGallery from "$lib/lists/image-gallery.svelte"; export let data; - // let a = load(0); + @@ -16,18 +14,16 @@ - - {#each data.contents as post} - - {/each} + +

{data.currentPage}

+

Welcome to my (new) art feed! It is heavily inspired by DeathSurplus' art blog – definitely go check out his page!

@@ -38,63 +34,11 @@

I MAY merge this with the Projects page, I've not yet decided.

- + {#each data.contents as post} + + {/each} -

3DS USB-C mod

-

DIY charging port mod

-

October 2024

- - - -

- I modded my New 3DS XL (SNES Edition) to give it a USB-C port to charge! -

- - - -

- I used a small USB-C breakout I had lying around that is wired straight - into the charging pads of the original charging port, which is left - completely intact. The breakout board also has a 5.1kΩ resistor between - ground and one of the CC pins (which I had to manually find because it's - unlabelled) to allow for using C-to-C cables. -

- -

- What I wrecked in turn was the wrist strap loop, which I completely cut - out to create the hole for the port. The stylus port also got cut down - to make space, but my stylus is kind of broken and doesn't stay put when - I put it into the system, so I didn't really care about that. -

- -

- It works well! The hole isn't the prettiest but it was pretty simple to - pull off, and extremely cheap as well. In turn I got a 3DS that I can - charge using any USB-C cable and I no longer need to lug around the - proprietary 3DS charger! -

- -