Rename /user to /settings in frontend

This commit is contained in:
Mattias Granlund 2023-12-05 16:30:11 +01:00
parent 0810b3b69b
commit 95449584f9
6 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
export let user: User | undefined;
</script>
<button class="btn" on:click={() => goto('/user/')}>
<button class="btn" on:click={() => goto('/settings/')}>
<span class="name text-base-13 text-semibold">
{#if user}
{#if user.name}

View File

@ -14,7 +14,7 @@
import LinkProjectModal from './LinkProjectModal.svelte';
import ShareIssueModal from './ShareIssueModal.svelte';
import { SETTINGS_CONTEXT, loadUserSettings } from '$lib/settings/userSettings';
import { initTheme } from './user/theme';
import { initTheme } from './settings/theme';
export let data: LayoutData;
const { projectService, cloud, user$ } = data;

View File

@ -38,7 +38,7 @@
{#if shouldShowHttpsWarning()}
<div class="w-full bg-yellow-200/70 px-2 py-1 dark:bg-yellow-700/70">
HTTPS remote detected. In order to push & fetch, you may need to&nbsp;
<a class="font-bold" href="/user"> set up </a>&nbsp;an SSH key (
<a class="font-bold" href="/settings"> set up </a>&nbsp;an SSH key (
<a
target="_blank"
rel="noreferrer"