Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pravocodes committed Jan 29, 2024
1 parent 781e0c1 commit 3e0f658
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function App() {

const router = createBrowserRouter(
createRoutesFromElements(
<Route path="/Todo-react-App" element={<Layout/>}>
<Route path="Todo-react-App" element={<Layout/>}>
<Route index element={<Home todos={todos} setTodos={setTodos} />} />
<Route path="about" element={<About/>} />
<Route path="contactus" element={<Contact/>} />
Expand Down
8 changes: 4 additions & 4 deletions src/Components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import styles from './Navbar.module.css';
function Navbar() {
return (
<nav className={styles.navbar}>
<h2> <Link to="/" className={styles.logo}>Todo App</Link></h2>
<h2> <Link to="" className={styles.logo}>Todo App</Link></h2>
<ul className={styles.navLinks}>
<li><Link to="/completed" className={styles.navLink}>Completed</Link></li>
<li><Link to="/about" className={styles.navLink}>About</Link></li>
<li><Link to="/contactus" className={styles.navLink}>Contact Us</Link></li>
<li><Link to="completed" className={styles.navLink}>Completed</Link></li>
<li><Link to="about" className={styles.navLink}>About</Link></li>
<li><Link to="contactus" className={styles.navLink}>Contact Us</Link></li>

</ul>
</nav>
Expand Down

0 comments on commit 3e0f658

Please sign in to comment.