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 {
|
class Github extends React.Component {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
document.title = "Github Repos";
|
||||||
if (!this.props.repos) {
|
if (!this.props.repos) {
|
||||||
this.props.getRepos();
|
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
|
star. Any projects that have a website will have a button
|
||||||
that will bring you right to the site"
|
that will bring you right to the site"
|
||||||
background={space}
|
background={space}
|
||||||
peak
|
extraClasses="peak"
|
||||||
/>
|
/>
|
||||||
<div>
|
<div>
|
||||||
{this.renderRepos()}
|
{this.renderRepos()}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import Theater from './Theater';
|
||||||
import './css/Home.css';
|
import './css/Home.css';
|
||||||
|
|
||||||
const Home = (props) => {
|
const Home = (props) => {
|
||||||
|
document.title = "Welcome to my Portfolio";
|
||||||
const title = "Welcome to my Portfolio";
|
const title = "Welcome to my Portfolio";
|
||||||
const description =
|
const description =
|
||||||
<p>
|
<p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue