cretead template and header component

This commit is contained in:
Yusuf Ipek
2021-04-29 14:07:23 +03:00
parent e2bb2afb5c
commit ad0fd6215c
31 changed files with 48 additions and 52 deletions
+12
View File
@@ -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%);
}
+7
View File
@@ -0,0 +1,7 @@
import "./header.css";
function Header() {
return <header className="header">Text...</header>;
}
export default Header;