Skip to content

Commit

Permalink
feat: Footer complete
Browse files Browse the repository at this point in the history
  • Loading branch information
MIU-cz committed Sep 10, 2023
1 parent 1a3c3c9 commit 8a96bc3
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 2 deletions.
21 changes: 21 additions & 0 deletions ibaCZ-Blog/components/_Footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
require '_smm-bar.php';
?>

<div class="footer_container">
<div class="footer_description">
<p>&copy; 2023 Cube. Test by IBACZ</p>
</div>

<div class="footer_smmBtns">
<ul class="links_content">
<?php
$smmBar($smmLinks);
?>
</ul>
</div>

<div class="footer_topBtn">
<a href="#topBrand" class="main_btn">Back to top</a>
</div>
</div>
2 changes: 1 addition & 1 deletion ibaCZ-Blog/components/_Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ul>
</div>

<div class="brand_container">
<div class="brand_container" id="topBrand">
<div class="brand_pic">
<img src="./src/img/autor-foto.png" alt="autor-foto">
</div>
Expand Down
36 changes: 36 additions & 0 deletions ibaCZ-Blog/src/css/_Footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.footer_container {
width: 100%;
margin-top: 40px;
padding: 40px 0;

border-top: 1px solid $c-blue-grayest;
@include Flexyble();
justify-content: space-between;
}

.footer_description {
@include fontStyle($color: $c-blue-grayest);
}

.footer_smmBtns {
.links_content {
width: 190px;
@include Flexyble();
flex-direction: row;
justify-content: space-between;

.links_item {
width: 20px;
height: 20px;

svg {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
}

.footer_topBtn {
}
1 change: 1 addition & 0 deletions ibaCZ-Blog/src/css/_Main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@
// ===================
.instagram_container {
width: 100%;
margin-top: 40px;
@include Flexyble();
position: relative;

Expand Down
40 changes: 40 additions & 0 deletions ibaCZ-Blog/src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@

.instagram_container {
width: 100%;
margin-top: 40px;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -923,6 +924,45 @@
position: absolute;
}

.footer_container {
width: 100%;
margin-top: 40px;
padding: 40px 0;
border-top: 1px solid hsl(217, 16%, 68%);
display: flex;
justify-content: center;
align-items: center;
justify-content: space-between;
}

.footer_description {
font-family: "Roboto-Regular";
font-size: inherit;
font-weight: inherit;
letter-spacing: normal;
line-height: normal;
color: hsl(217, 16%, 68%);
}

.footer_smmBtns .links_content {
width: 190px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
justify-content: space-between;
}
.footer_smmBtns .links_content .links_item {
width: 20px;
height: 20px;
}
.footer_smmBtns .links_content .links_item svg {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}

body {
font-family: "Roboto-Regular";
font-size: 14px;
Expand Down
2 changes: 1 addition & 1 deletion ibaCZ-Blog/src/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a96bc3

Please sign in to comment.