From 7c543ef573da43f178ed1bc6ac4620fc9449de44 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 8 Feb 2024 00:06:08 -0800
Subject: feat(settings): use popup style login alert

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

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

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index b355be1d..5a16b424 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -15,6 +15,7 @@
 	import tooltip from '$lib/Tooltip/tooltip';
 	import locale from '$stores/locale.js';
 	import settings from '$stores/settings';
+	import Popup from '$lib/Popup.svelte';
 
 	export let data;
 
@@ -63,7 +64,9 @@
 </blockquote>
 
 {#if data.user === undefined}
-	<div class="card">Please log in to modify settings.</div>
+	<Popup fullscreen locked>
+		<div class="message">Please log in to view this page.</div>
+	</Popup>
 {:else}
 	<Category title={$locale().settings.rssFeeds.title} id="feeds">
 		<button
-- 
cgit v1.2.3

