diff --git a/.prettierignore b/.prettierignore index 94a2dd14..91a7c084 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ -*.json \ No newline at end of file +*.json +app.html diff --git a/src/app.html b/src/app.html index e9997cdc..a23e57e7 100644 --- a/src/app.html +++ b/src/app.html @@ -5,39 +5,16 @@ - %sveltekit.head%
- - - +
%sveltekit.body%
diff --git a/src/lib/components/ui/Logo.svelte b/src/lib/components/ui/Logo.svelte index 6ffa51c5..fe0761f8 100644 --- a/src/lib/components/ui/Logo.svelte +++ b/src/lib/components/ui/Logo.svelte @@ -10,13 +10,12 @@ {width} height={width} viewBox="0 0 100 100" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" - class="inline fill-black dark:fill-white hover:fill-slate-700 dark:hover:fill-zinc-300 transition-colors" + class="inline hover:fill-slate-700 dark:hover:fill-zinc-300 transition-colors" > diff --git a/src/lib/components/ui/navbar/Profile.svelte b/src/lib/components/ui/navbar/Profile.svelte index 4abd1e2c..dafc73e2 100644 --- a/src/lib/components/ui/navbar/Profile.svelte +++ b/src/lib/components/ui/navbar/Profile.svelte @@ -1,4 +1,5 @@ + + + {#snippet target()} + + {/snippet} + {#each profile.meta.profiles as p} + {@const selected = profile.meta.profile == p.id} + switchTo(p.id)} + class={[selected && 'bg-slate-100! dark:bg-zinc-800!']} + > + {#snippet prefix()} + + {/snippet} +
+
{p.username}
+
+ {p.instance} +
+
+
+ {#if !p.jwt} + + + + {/if} + {#if selected} + + {/if} +
+ {/each} + + {#snippet prefix()} + + {/snippet} + {$t('account.accounts')} + +
diff --git a/src/lib/components/ui/sidebar/Sidebar.svelte b/src/lib/components/ui/sidebar/Sidebar.svelte index c3e91308..d251df8a 100644 --- a/src/lib/components/ui/sidebar/Sidebar.svelte +++ b/src/lib/components/ui/sidebar/Sidebar.svelte @@ -1,6 +1,4 @@ diff --git a/src/lib/components/ui/sidebar/SidebarButton.svelte b/src/lib/components/ui/sidebar/SidebarButton.svelte index 293cf7ac..097067aa 100644 --- a/src/lib/components/ui/sidebar/SidebarButton.svelte +++ b/src/lib/components/ui/sidebar/SidebarButton.svelte @@ -46,7 +46,7 @@ {#if customIcon} {@render customIcon({ selected })} {:else if icon} - + {/if} {/snippet} {label} diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index 341eea98..d27a7828 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -545,17 +545,6 @@ "delete": "Delete", "restore": "Restore" }, - "mediaBias": { - "description": "Description", - "credibility": "Credibility", - "reporting": "Factual Reporting", - "noData": { - "title": "No data", - "description": "There is no bias data for this website." - }, - "downloading": "Downloading dataset", - "loading": "Loading source" - }, "link": { "title": "Alternative Links", "actions": "Link Actions" diff --git a/static/img/logo-isolated.svg b/static/img/logo-isolated.svg index cb7d3f2f..3eb3b6f1 100644 --- a/static/img/logo-isolated.svg +++ b/static/img/logo-isolated.svg @@ -1,3 +1,3 @@ - + - \ No newline at end of file + diff --git a/static/manifest.json b/static/manifest.json index c930f71a..a5370129 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -20,7 +20,7 @@ "display": "standalone", "scope": "/", "theme_color": "#000000", - "description": "A client for Lemmy with design as priority.", + "description": "A Svelte based web client for Lemmy.", "screenshots": [ { "form_factor": "wide",