-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henry <mail@henrygressmann.de> Create CNAME
- Loading branch information
1 parent
af31f6c
commit 20eca6e
Showing
12 changed files
with
1,866 additions
and
1,833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
henrygressmann.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,27 @@ | ||
import { Link } from 'gatsby'; | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import { Link } from 'gatsby'; | ||
|
||
const Header = styled.div``; | ||
|
||
const Header = ({ siteTitle }) => ( | ||
<div | ||
style={{ | ||
background: `rebeccapurple`, | ||
marginBottom: `1.45rem`, | ||
}} | ||
> | ||
<div | ||
style={{ | ||
margin: `0 auto`, | ||
maxWidth: 960, | ||
padding: `1.45rem 1.0875rem`, | ||
}} | ||
> | ||
const HeaderComponent = ({}) => ( | ||
<Header> | ||
<div> | ||
<h1 style={{ margin: 0 }}> | ||
<Link | ||
to="/" | ||
style={{ | ||
color: `white`, | ||
textDecoration: `none`, | ||
}} | ||
> | ||
{siteTitle} | ||
</Link> | ||
<Link to="/">Henry Gressmann</Link> | ||
</h1> | ||
</div> | ||
</div> | ||
</Header> | ||
); | ||
|
||
Header.propTypes = { | ||
HeaderComponent.propTypes = { | ||
siteTitle: PropTypes.string, | ||
}; | ||
|
||
Header.defaultProps = { | ||
HeaderComponent.defaultProps = { | ||
siteTitle: ``, | ||
}; | ||
|
||
export default Header; | ||
export default HeaderComponent; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.