Skip to content

Commit 65a38a5

Browse files
committed
the bug in hompage has resolved v2
1 parent 17179a5 commit 65a38a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const App: React.FC = () => {
3939
<ErrorBoundary>
4040
<Routes>
4141
<Route
42-
path="/"
42+
path="/GITHUBREPOEXPLORER/"
4343
element={
4444
<>
4545
<HeroSection onSearch={setSearchQuery} />

src/components/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Navbar: React.FC<NavbarProps> = ({ onSearch }) => {
3333
return (
3434
<nav className="navbar">
3535
<div className="navbar-container">
36-
<Link to="/" className="navbar-logo">
36+
<Link to="/GITHUBREPOEXPLORER/" className="navbar-logo">
3737
GitHub Explorer
3838
</Link>
3939

@@ -48,7 +48,7 @@ const Navbar: React.FC<NavbarProps> = ({ onSearch }) => {
4848
<div className={`navbar-menu ${isMobileMenuOpen ? 'active' : ''}`}>
4949
<ul className="navbar-links">
5050
<li>
51-
<Link to="/" onClick={toggleMobileMenu}>
51+
<Link to="/GITHUBREPOEXPLORER/" onClick={toggleMobileMenu}>
5252
Home
5353
</Link>
5454
</li>

0 commit comments

Comments
 (0)