Added title to each page
This commit is contained in:
parent
9fef983266
commit
32e1d21d15
|
|
@ -8,9 +8,9 @@ import space from '../img/space.webp';
|
|||
class Github extends React.Component {
|
||||
|
||||
componentDidMount() {
|
||||
document.title = "Github Repos";
|
||||
if (!this.props.repos) {
|
||||
this.props.getRepos();
|
||||
console.log("A");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ class Github extends React.Component {
|
|||
star. Any projects that have a website will have a button
|
||||
that will bring you right to the site"
|
||||
background={space}
|
||||
peak
|
||||
extraClasses="peak"
|
||||
/>
|
||||
<div>
|
||||
{this.renderRepos()}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import Theater from './Theater';
|
|||
import './css/Home.css';
|
||||
|
||||
const Home = (props) => {
|
||||
|
||||
document.title = "Welcome to my Portfolio";
|
||||
const title = "Welcome to my Portfolio";
|
||||
const description =
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue