Header done

This commit is contained in:
2022-01-24 16:13:22 -03:00
parent 6749efb43f
commit 15e901d2ba
2 changed files with 24 additions and 2 deletions

View File

@@ -24,6 +24,9 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap" rel="stylesheet">
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"

View File

@@ -1,12 +1,31 @@
import React from 'react';
import styled from 'styled-components'
const Header = () => {
const Header = styled.header`
display: flex;
justify-content: center;
padding: 3vh 0px;
border-bottom: solid 2px #ffffff24;
user-select: none;
h1 {
font-family: 'Raleway', sans-serif;
color: #fff;
}
`
return (
<header>
<Header>
<h1>Crypto Page</h1>
</header>
</Header>
)
};