Skip to content

Commit

Permalink
Footer OK
Browse files Browse the repository at this point in the history
Grid Footer OK
  • Loading branch information
nephcode committed Oct 20, 2024
1 parent 6456c60 commit c7245c3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Version/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import scssVersion from './version.module.scss';
const version = () => {
return (
<div className={scssVersion.version}>
<sup>v 1.4.0</sup>
<sup>v 1.5.0</sup>
</div>
);
};
Expand Down
20 changes: 18 additions & 2 deletions src/layout/Footer/footer.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
footer {
position: relative;
display: grid;
place-items: center;
border-bottom: 4px solid;
border-image: linear-gradient(to right, #FF0042, #FF007E) 1;
}
footer::after {
content: "";
position: absolute;
bottom: 15px;
height: 15px;
width: 100%;
box-shadow: 0 30px 13px #FF0042;
}
footer .punchline {
width: 150px;
margin-bottom: clamp(20px, 5vw, 50px);
}
footer .pyramides {
width: 250px;
filter: drop-shadow(-10px -10px 4rem #FF0042);
filter: drop-shadow(-10px -10px 1.5rem #FF0042);
}
footer .pyramides img {
line-height: 0;
display: block;
}/*# sourceMappingURL=footer.module.css.map */
2 changes: 1 addition & 1 deletion src/layout/Footer/footer.module.css.map

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

23 changes: 18 additions & 5 deletions src/layout/Footer/footer.module.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
@use '../../scss/colors.module.scss' as colors;

footer {

position: relative;
display: grid;
place-items: center;
border-bottom: 4px solid;
border-image: linear-gradient(to right, colors.$colorMain, colors.$colorSecondary) 1;


&::after {
content: '';
position: absolute;
bottom: 15px;
height: 15px;
width: 100%;
box-shadow: 0 30px 13px colors.$colorMain;
}

.punchline {
width: 150px;
margin-bottom: clamp(20px, 5vw, 50px);
}

.pyramides {
width: 250px;
filter: drop-shadow(-10px -10px 4rem colors.$colorMain);
filter: drop-shadow(-10px -10px 1.5rem colors.$colorMain);

img {
line-height: 0;
display: block;
}






}

}

0 comments on commit c7245c3

Please sign in to comment.