Skip to content

Commit

Permalink
Update links on Home and Navbar
Browse files Browse the repository at this point in the history
- React Link
- Relates #115
  • Loading branch information
misterrodger committed Jun 21, 2019
1 parent 867d280 commit 5b08c48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/components/Homepage/Founders/Founders.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Link } from 'react-router-dom';
import "./Founders.css";
import Founder from "./Founder/Founder";

Expand Down Expand Up @@ -38,7 +39,9 @@ const Founders = () => {
out to find a solution, which led us to Groundworks. Our way to
revolutionise how companies connect with students worldwide.
</p>
<Link to='./Join'>
<button className="FoundersComponent--joinbutton">Join</button>
</Link>
</div>
);
};
Expand Down
5 changes: 5 additions & 0 deletions src/components/Homepage/Header/Header.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Link } from "react-router-dom";
import "./Header.css";
import HeaderJoinButton from "../../Button/HeaderJoinButton";
import "../../Button/HeaderJoinButton.css";
Expand All @@ -12,14 +13,18 @@ const Header = () => {
Gain practical work experience, explore
<br /> career paths and generate income.
</p>
<Link to='./Join'>
<HeaderJoinButton />
</Link>
</div>
<div className="headerComponent--employer">
<h2 className="headerComponent--headerEmployers">Employers</h2>
<p className="headerComponent--employerParagraph ">
Hire better and smarter. Connect directly with reviewed candidates.
</p>
<Link to='./Join'>
<HeaderJoinButton />
</Link>
</div>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions src/components/StudentDashboard/NewJobCard/NewJobCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

.StudentNewJobCard--projectname {
border-bottom: 2px solid black;
border-bottom: 2px solid lightgrey;
padding: 1rem;
}

Expand All @@ -26,9 +26,9 @@
.StudentNewJobCard--container {
width: 600px;
height: auto;
border: 2px solid black;
border: 2px solid lightgrey;
margin: 1rem;
box-shadow: 2px 2px 10px grey;
box-shadow: 2px 2px 10px lightgrey;
}

.StudentNewJobCard--contactcontainer {
Expand All @@ -37,7 +37,7 @@
}

.StudentNewJobCard--downloadbrief {
border-top: 2px solid black;
border-top: 2px solid lightgrey;
text-align: right;
padding: 1rem;
}
Expand Down

0 comments on commit 5b08c48

Please sign in to comment.