Skip to content

Commit b3f044c

Browse files
committed
Silly Mistake
1 parent a9fd3d8 commit b3f044c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Component/BottomTabBar.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@
4040

4141
void GoToHomePage()
4242
{
43-
nav.NavigateTo("/");
43+
nav.NavigateTo("");
4444
}
4545

4646
void GoToStickers()
4747
{
48-
nav.NavigateTo("/stickers");
48+
nav.NavigateTo("stickers");
4949
}
5050

5151
void GoToSearch()
5252
{
53-
nav.NavigateTo("/Search");
53+
nav.NavigateTo("Search");
5454
}
5555

5656
void GoToQuiz()
5757
{
58-
nav.NavigateTo("/quiz");
58+
nav.NavigateTo("quiz");
5959
}
6060
}
6161

src/Pages/Quiz.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void RestartQuiz()
184184

185185
private void GoHome()
186186
{
187-
nav.NavigateTo("/");
187+
nav.NavigateTo("");
188188
}
189189

190190
private void SelectQuestionCount(int count)

src/Pages/Search.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
<!-- Back to Home Button -->
9999
<div id="back-to-home-section" class="mt-8 pt-6 border-t border-gray-200">
100-
<button id="back-to-home-btn" @onclick="@(() => nav.NavigateTo("/"))"
100+
<button id="back-to-home-btn" @onclick="@(() => nav.NavigateTo(""))"
101101
class="px-6 py-3 bg-gradient-to-r from-red-600 to-red-700 text-white rounded-xl hover:from-red-700 hover:to-red-800 transition-all duration-200 font-medium shadow-lg hover:shadow-xl transform hover:-translate-y-1">
102102
<span class="flex items-center space-x-2">
103103
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">

src/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="mobile-web-app-capable" content="no">
88
<meta name="apple-mobile-web-app-capable" content="no">
99
<title>Tom And Jerry</title>
10-
<base href="/"/>
10+
<base href="/TomAndJerry/"/>
1111
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet"/>
1212
<script src="https://cdn.tailwindcss.com"></script>
1313
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Comic+Neue:wght@300;400;700&display=swap" rel="stylesheet"/>

0 commit comments

Comments
 (0)