cretead template and header component
|
Before Width: | Height: | Size: 3.8 KiB |
@@ -15,6 +15,11 @@
|
|||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
-->
|
-->
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
@@ -1,38 +1,23 @@
|
|||||||
.App {
|
/*
|
||||||
text-align: center;
|
COLORS:
|
||||||
|
|
||||||
|
Light green: #7ed56f
|
||||||
|
Medium green: #55c57a
|
||||||
|
Dark green: #28b485
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.App-logo {
|
body {
|
||||||
height: 40vmin;
|
font-family: "Lato", sans-serif;
|
||||||
pointer-events: none;
|
font-weight: 400;
|
||||||
}
|
font-size: 16px;
|
||||||
|
line-height: 1.7;
|
||||||
@media (prefers-reduced-motion: no-preference) {
|
color: #777;
|
||||||
.App-logo {
|
padding: 30px;
|
||||||
animation: App-logo-spin infinite 20s linear;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.App-header {
|
|
||||||
background-color: #282c34;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: calc(10px + 2vmin);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.App-link {
|
|
||||||
color: #61dafb;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes App-logo-spin {
|
|
||||||
from {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +1,10 @@
|
|||||||
import logo from './logo.svg';
|
import "./App.css";
|
||||||
import './App.css';
|
import Header from "./components/header/header";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="App">
|
<div>
|
||||||
<header className="App-header">
|
<Header />
|
||||||
<img src={logo} className="App-logo" alt="logo" />
|
|
||||||
<p>
|
|
||||||
Edit <code>src/App.js</code> and save to reload.
|
|
||||||
</p>
|
|
||||||
<a
|
|
||||||
className="App-link"
|
|
||||||
href="https://reactjs.org"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
>
|
|
||||||
Learn React
|
|
||||||
</a>
|
|
||||||
</header>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 261 KiB |
|
After Width: | Height: | Size: 644 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 361 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 607 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 211 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 576 KiB |
|
After Width: | Height: | Size: 783 KiB |
|
After Width: | Height: | Size: 950 KiB |
|
After Width: | Height: | Size: 622 KiB |
|
After Width: | Height: | Size: 465 KiB |
|
After Width: | Height: | Size: 628 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
.header {
|
||||||
|
height: 95vh;
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
|
rgba(126, 213, 111, 0.8),
|
||||||
|
rgba(40, 180, 133, 0.8)
|
||||||
|
),
|
||||||
|
url(../../commons/images/hero.jpg);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: top;
|
||||||
|
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import "./header.css";
|
||||||
|
|
||||||
|
function Header() {
|
||||||
|
return <header className="header">Text...</header>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Header;
|
||||||