Skip to content

Commit 965a576

Browse files
committed
upload 1.3
1 parent 461d1a7 commit 965a576

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

src/App.jsx

+1-8
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@ import Home from "./pages/Home";
55
import Libreria from "./pages/Libreria";
66
import Ia from "./pages/Ia";
77
import Web from "./pages/Web";
8-
import { useEffect } from "react";
98

109
function App() {
11-
useEffect(() => {
12-
const favicon = document.querySelector('link[rel="icon"]');
13-
if (favicon) {
14-
favicon.classList.add("rounded-lg");
15-
}
16-
}, []);
1710
return (
1811
<>
1912
<BrowserRouter>
2013
<Routes>
21-
<Route path="/APMC.github.io" element={<Home></Home>}></Route>
14+
<Route path="/APMC.github.io/" element={<Home></Home>}></Route>
2215

2316
<Route path="/APMC.github.io/IA" element={<Ia />}></Route>
2417
<Route path="/APMC.github.io/Web" element={<Web />}></Route>

src/components/NavBar.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ export default function NavBar() {
165165
</DropdownItem>
166166
</DropdownMenu>
167167
</Dropdown>
168-
<NavbarItem isActive={pathName === "/"}>
169-
<Link href="/" aria-current="page">
168+
<NavbarItem isActive={pathName === "/APMC.github.io/"}>
169+
<Link href="/APMC.github.io/" aria-current="page">
170170
Customers
171171
</Link>
172172
</NavbarItem>

0 commit comments

Comments
 (0)