mirror of
https://github.com/FranP-code/Crypto-Prices.git
synced 2025-10-12 23:53:06 +00:00
Header done
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user