Skip to content

Commit

Permalink
Merge pull request #17 from untalsanders/develop
Browse files Browse the repository at this point in the history
fix base url
  • Loading branch information
untalsanders authored Mar 26, 2024
2 parents ee9b82c + 2eea125 commit 241124c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VITE_APP_URL='https://untalsanders.github.io/'
VITE_APP_URL='/'
8 changes: 4 additions & 4 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export function Navbar() {
return (
<nav className={styles.Navbar}>
<Link to={`${VITE_APP_URL}`}>Home</Link>
<Link to={`${VITE_APP_URL}/about`}>About</Link>
<Link to={`${VITE_APP_URL}/portfolio`}>Portfolio</Link>
<Link to={`${VITE_APP_URL}/blog`}>Blog</Link>
<Link to={`${VITE_APP_URL}/contact`}>Contact</Link>
<Link to={`about`}>About</Link>
<Link to={`portfolio`}>Portfolio</Link>
<Link to={`blog`}>Blog</Link>
<Link to={`contact`}>Contact</Link>
</nav>
)
}

0 comments on commit 241124c

Please sign in to comment.