feat: remove login page (temp)

This commit is contained in:
Sonny
2024-11-05 22:27:17 +01:00
committed by Sonny
parent 41f82a8070
commit db578dbe51
10 changed files with 17 additions and 122 deletions

View File

@@ -50,8 +50,8 @@ export default function MantineNavbar() {
<MantineLanguageSwitcher />
{!isAuthenticated ? (
<Button
component={Link}
href={route('auth.login').url}
component="a"
href={route('auth').path}
visibleFrom="sm"
w={110}
>
@@ -60,7 +60,7 @@ export default function MantineNavbar() {
) : (
<Button
component={Link}
href={route('dashboard').url}
href={route('dashboard').path}
visibleFrom="sm"
w={110}
>
@@ -102,7 +102,7 @@ export default function MantineNavbar() {
<Group justify="center" grow pb="xl" px="md">
{!isAuthenticated ? (
<Button component={Link} href={route('auth.login').url}>
<Button component="a" href={route('auth').path}>
{t('login')}
</Button>
) : (

View File

@@ -97,7 +97,7 @@ export default function Navbar() {
<ModalSettings openItem={DropdownItemButtonWithPadding} />
</li>
<li>
<Link href={route('auth.login').url}>{t('login')}</Link>
<Link href={route('auth').path}>{t('login')}</Link>
</li>
</>
)}