Reimpliment the website design in React
This commit is contained in:
parent
833e5f19fc
commit
f2244ea3ed
23 changed files with 6351 additions and 47 deletions
17
src/Header.js
Normal file
17
src/Header.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import React, { Component } from 'react';
|
||||
|
||||
class Header extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="page-header">
|
||||
<div className="container">
|
||||
<a href="/">
|
||||
<h1>nickpegg.com</h1>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export { Header };
|
||||
Loading…
Add table
Add a link
Reference in a new issue