Portfolio website written with Next.js
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import styled from 'styled-components'
|
|
|
|
import Nav from './nav'
|
|
|
|
|
|
|
|
const Header = styled.header`
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: var(--border-size) var(--border-type) var(--border-color);
|
|
|
|
padding: var(--v-uni-padding) var(--h-uni-padding);
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
margin-left: auto;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
|
|
|
|
export default () => {
|
|
|
|
return (
|
|
|
|
<Header>
|
|
|
|
<h1>wych.dev</h1>
|
|
|
|
<Nav />
|
|
|
|
</Header>
|
|
|
|
)
|
|
|
|
}
|