Skip to content

Commit

Permalink
fix url's
Browse files Browse the repository at this point in the history
Merge pull request #18 from untalsanders/develop
  • Loading branch information
untalsanders authored Mar 26, 2024
2 parents 241124c + 543aa53 commit 949e4ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
import styles from '@styles/Navbar.module.css'
import { Link } from 'react-router-dom'

const { VITE_APP_URL } = import.meta.env

export function Navbar() {
return (
<nav className={styles.Navbar}>
<Link to={`${VITE_APP_URL}`}>Home</Link>
<Link to={``}>Home</Link>
<Link to={`about`}>About</Link>
<Link to={`portfolio`}>Portfolio</Link>
<Link to={`blog`}>Blog</Link>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/about.page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export const AboutPage = () => (
<span>Developer and Software Engineer</span>
</div>
<div className={styles.About__Primary_blockOne_Buttons}>
<Link to={`${VITE_APP_URL}/portfolio`} className="link-button" >
<Link to={`portfolio`} className="link-button" >
Got a project?
</Link>
<Link to={`${VITE_APP_URL}/resume`} className="link-button link-button-inverse" >
<Link to={`resume`} className="link-button link-button-inverse" >
Download CV
</Link>
</div>
Expand Down
6 changes: 2 additions & 4 deletions src/pages/home.page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import styles from '@styles/Home.module.css'
import { Link } from 'react-router-dom'

const { VITE_APP_URL } = import.meta.env

export const HomePage = () => (
<div className={styles.Hero}>
<div className={`${styles.Hero__Content} container`}>
Expand Down Expand Up @@ -49,8 +47,8 @@ export const HomePage = () => (
</p>
</section>
<section className={styles.Hero__Content__Right_buttons}>
<Link to={`${VITE_APP_URL}/portfolio`}>Got a projects?</Link>
<Link to={`${VITE_APP_URL}/contact`}>Let's talk</Link>
<Link to={`portfolio`}>Got a projects?</Link>
<Link to={`contact`}>Let's talk</Link>
</section>
<section className={styles.Hero__Content__Right_info}>
<ul>
Expand Down

0 comments on commit 949e4ae

Please sign in to comment.