Skip to content

Commit

Permalink
Fix buttons on homepage by switching to JSX links and wrapping them a…
Browse files Browse the repository at this point in the history
…round the button element
  • Loading branch information
martapolii committed Oct 17, 2024
1 parent 5dc2a66 commit 2779659
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions client/src/components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@ Date: October 1, 2024
*/

import '../index.css'
import { Link } from 'react-router-dom';

export default function Home() {
return (
<div className="home-wrapper">
{/* Mission Statement */}
<section>
<h2>Hello, I'm <span style={{color: '#53f2f2'}}>Marta</span>. Welcome to My Portfolio.</h2>
<h2>Hello, I'm <span style={{color: '#53f2f2'}}>Marta</span>. Welcome to My Portfolio.</h2>
<p>
I am a second-year <span style={{color: '#FF69B4', fontWeight:'bold'}}>Software Engineering Technology Co-op student</span>. Currently working on full-stack web development, Java programming, and advanced database concepts. Click the links below to learn more about me and my projects.
I am a second-year <span style={{color: '#FF69B4', fontWeight:'bold'}}>Software Engineering Technology Co-op student</span>. Currently working on full-stack web development, Java programming, and advanced database concepts. Click the links below to learn more about me and my projects.
</p>
<div className="buttons">
<button><a href="about">About</a></button>
<button><a href="service">Services</a></button>
<button><a href="project">Projects</a></button>
<button><a href="contact">Contact</a></button>
<Link to="/about"><button>ABOUT</button></Link>
<Link to="/service"><button>SERVICES</button></Link>
<Link to="/project"><button>PROJECTS</button></Link>
<Link to="/contact"><button>CONTACT</button></Link>
</div>
</section>
<img className="CheekyCode" src="/assets/coderFunction.png" alt="C# code snipet of an object of the Coder class defining variables that align with my hard/soft skills"/>
Expand Down

0 comments on commit 2779659

Please sign in to comment.