Skip to content

Commit

Permalink
fix: remove root path in dashboard url
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwei-lin committed Feb 22, 2024
1 parent 9ff8b24 commit 306b062
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/common/errors/error-500.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</h1>
<h4 class="text-uppercase">Internal Server Error</h4>
<div class="mt-5 text-center">
<Link class="btn btn-primary" href="/page/dashboard">
<Link class="btn btn-primary" href="page/dashboard">
Back to Dashboard
</Link>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(authentication)/recoverpw/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
<CardBody class="pt-0">
<div>
<Link href="/page/dashboard">
<Link href="page/dashboard">
<div class="avatar-md profile-user-wid mb-4">
<span class="avatar-title rounded-circle bg-light">
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="34" />
Expand All @@ -41,7 +41,7 @@
Enter your Email and instructions will be sent to you!
</Alert>

<Form class="form-horizontal" action="/page/dashboard">
<Form class="form-horizontal" action="page/dashboard">
<div class="mb-3">
<Label for="useremail" class="form-label">Email</Label>
<Input
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(authentication)/register/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</div>
<CardBody class="pt-0">
<div>
<Link href="/page/dashboard">
<Link href="page/dashboard">
<div class="avatar-md profile-user-wid mb-4">
<span class="avatar-title rounded-circle bg-light">
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="34" />
Expand Down
4 changes: 2 additions & 2 deletions src/routes/VerticalLayout/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="d-flex">
<!-- LOGO -->
<div class="navbar-brand-box">
<a href="/page/dashboard" class="logo logo-dark">
<a href="page/dashboard" class="logo logo-dark">
<span class="logo-sm">
<img src={PUBLIC_LOGO_URL} alt="" height="25" />
</span>
Expand All @@ -57,7 +57,7 @@
</span>
</a>

<a href="/page/dashboard" class="logo logo-light">
<a href="page/dashboard" class="logo logo-light">
<span class="logo-sm">
<img src={PUBLIC_LOGO_URL} alt="" height="25" />
</span>
Expand Down

0 comments on commit 306b062

Please sign in to comment.