Skip to content

Commit

Permalink
added basePath in nextConfig file.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanValMont committed Oct 1, 2023
1 parent 35963a5 commit 0fdb508
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Menu({ isMenuListOpen, toggle }) {
<div className={classes.menu_list_container}>
<ul>
<li className={isMenuListOpen ? classes.visible : null}>
<Link href="/danielvaldezmontalvan.com">
<Link href="/">
<a
onMouseEnter={(e) => hover(e, classes.background_image)}
onMouseLeave={hoveroff}
Expand Down Expand Up @@ -143,7 +143,7 @@ function Menu({ isMenuListOpen, toggle }) {
<div className={classes.menu_list_container}>
<ul>
<li className={`${classes.visible} ${classes.closing}`}>
<Link href="/danielvaldezmontalvan.com">
<Link href="/">
<a>
<span>Home</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Navbar({ invertHeader, invertEffect }) {
}`}
>
<div className={classes.logo} style={styleLayout}>
<Link href="/danielvaldezmontalvan.com">
<Link href="/">
<a>
<Image
src="/icons/daniel-logo-colored-black.svg"
Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const nextConfig = {
// loader: "imgix",
// path: "",
},
basePath: "/danielvaldezmontalvan.com",
};

module.exports = nextConfig;
Expand Down

0 comments on commit 0fdb508

Please sign in to comment.