From 20fafa287adec1382257622fc23bd6f58b09f3a2 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 19 Jan 2024 00:26:17 -0800
Subject: feat: root prefix all links

---
 src/lib/Settings/Attributions.svelte | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'src/lib/Settings/Attributions.svelte')

diff --git a/src/lib/Settings/Attributions.svelte b/src/lib/Settings/Attributions.svelte
index 0a0d2d38..dad576e4 100644
--- a/src/lib/Settings/Attributions.svelte
+++ b/src/lib/Settings/Attributions.svelte
@@ -1,3 +1,7 @@
+<script>
+	import root from '$lib/Utility/root';
+</script>
+
 <ul>
 	<li>
 		<a href="https://anilist.co/" target="_blank">AniList</a>: all data not explicity attributed
@@ -31,17 +35,17 @@
 	<summary>Outbound Link Disclaimer</summary>
 	<ol>
 		<li>
-			<a href="/">due.moe</a>
+			<a href={root('/')}>due.moe</a>
 			does not host or directly link to any less-than-legal anime or manga material and/or distribution
 			platforms.
 		</li>
 		<li>
-			<a href="/">due.moe</a>
+			<a href={root('/')}>due.moe</a>
 			is not affiliated with any of the above or below sites and services.
 		</li>
 		<li>
-			At the moment, <a href="/">due.moe</a> only ever contains outbound links to the following
-			sites and services:
+			At the moment, <a href={root('/')}>due.moe</a> only ever contains outbound links to the
+			following sites and services:
 
 			<ul>
 				<li><a href="https://anilist.co/">AniList.co</a></li>
-- 
cgit v1.2.3

