Skip to content

Commit

Permalink
feat: "Create component banner"
Browse files Browse the repository at this point in the history
  • Loading branch information
brunop27 committed May 27, 2024
1 parent 0ae469c commit d604a37
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 9 deletions.
24 changes: 24 additions & 0 deletions css/components/banner.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.banner{
/* background-image: url(../../assets/img/photo.png); */
/* background-size: 100%; */
background-color: #ccc;
height: 800px;
border-bottom: 8px solid #000;
padding-top: 115px;
padding-left: 90px;
}

.banner .wrapper{
display: flex;
flex-direction: column;
width: 640px;
}

.banner .box{
margin-bottom: 40px;
}

.banner .navigation{
display: flex;
justify-content: space-around;
}
24 changes: 15 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/components/header.css">
<link rel="stylesheet" href="css/components/banner.css">
<link rel="stylesheet" href="css/components/title.css">
<link rel="stylesheet" href="css/components/subtitle.css">
<link rel="stylesheet" href="css/components/box.css">
<link rel="stylesheet" href="css/components/button.css">
<link rel="stylesheet" href="css/components/action.css">
<link rel="stylesheet" href="css/components/button.css">

</head>
<body>
Expand All @@ -27,13 +28,18 @@ <h1>BP</h1>
<a class="button" href="" lang="en">Download CV</a>
</nav>
</header>

<div class="box">
<h1 class="title">Bruno Pinheiro</h1>

<h2 class="subtitle">FrontEnd Developer</h2>
</div>
<a class="button" href="" lang="en">Download CV</a>
<a class="button" href="">Contatos</a>
<section class="banner">
<div class="wrapper">
<div class="box">
<h1 class="title">Bruno Pinheiro</h1>

<h2 class="subtitle">FrontEnd Developer</h2>
</div>
<div class="navigation">
<a class="button" href="" lang="en">Download CV</a>
<a class="button" href="">Contatos</a>
</div>
</div>
</section>
</body>
</html>

0 comments on commit d604a37

Please sign in to comment.