From 038e763326d8b4f0739f8bce860e577c3c1ff367 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 17 Sep 2023 20:13:59 -0700
Subject: feat(settings): add settings tab for feeds

---
 src/routes/settings/+page.svelte | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'src/routes/settings/+page.svelte')

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 0686b201..ea7d6d8b 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -30,6 +30,23 @@
 {#if data.user === undefined}
 	Please log in to modify settings.
 {:else}
+	<details open>
+		<summary>RSS Feeds</summary>
+
+		<a
+			href={'#'}
+			on:click={() =>
+				navigator.clipboard.writeText(
+					`https://due.moe/feeds/activity-notifications?token=${data.user.accessToken}`
+				)}
+		>
+			Click to copy AniList notifications RSS feed URL and token
+		</a>
+		<SettingHint lineBreak>Do not share this with anyone!</SettingHint>
+	</details>
+
+	<p />
+
 	<details open>
 		<summary>Display</summary>
 
-- 
cgit v1.2.3

