Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed footer section #408

Merged
merged 4 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Footer = () => {

return (
<>
<div className="footer" role="footer">
<div className="footer" role="footer" >
<footer className="copyright">
<div className="footer-question">
<h2>
Expand Down Expand Up @@ -81,7 +81,7 @@ const Footer = () => {
</div>
<div className="column2">
<Column2>
<Heading2>Explore</Heading2>
<Heading2 className="explore">Explore</Heading2>
<Link href="/ambassador">
<FooterLink aria-label="Ambassador Page"><FontAwesomeIcon icon={faMedal} />
<span>Ambassador</span></FooterLink>
Expand Down
61 changes: 56 additions & 5 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,7 @@ replaced by just the links.*/
display: grid;
grid-template-columns: auto auto;
width: 100%;

}

.footer-question {
Expand Down Expand Up @@ -1221,17 +1222,22 @@ replaced by just the links.*/
width: 100%;
margin-top: -40px;
}
.explore{
margin-top: 21px;
}
}

@media (max-width:320px) {
.footer {
width: fit-content;
width: 100%;
display: flex;

}

.footer-details {
display: flex;
align-items: center;
justify-content: space-around !important;
justify-content: start !important;
flex-wrap: wrap;
font-size: 8px;
margin-right: 0;
Expand All @@ -1240,18 +1246,29 @@ replaced by just the links.*/

.footer-question {
font-size: 15px;
margin-left: 10px;
/* margin-left: 10px; */
width: 100%;
margin-top: -40px;
}

.column1{
margin-top: 14px;
}
.column2{
margin-left: 0px;
}
.footer-copyright {
margin-left: 10px;
width: 100%;
}
}

@media (min-width:769px) and (max-width:1300px) {
@media (min-width:769px) {
.footer-details{
align-items: center;
}
.explore{
margin-top: 20px;
}
.footer-copyright {
margin-left: 90px;
}
Expand Down Expand Up @@ -1374,6 +1391,40 @@ replaced by just the links.*/
font-size: 14px;
}
}
@media screen and (min-width:426px) and (max-width:767px){
.footer {
width: 100%;
display: flex;
}

.footer-details {
display: flex;
flex-direction: column;

justify-content: start !important;
flex-wrap: wrap;
font-size: 8px;
margin-right: 0;
margin-bottom: -10px;
}

.footer-question {
font-size: 15px;
/* margin-left: 10px; */
width: 100%;
margin-top: -40px;
}
.column1{
margin-top: 14px;
}
.column2{
margin-left: 0px;
}
.footer-copyright {
margin-left: 10px;
width: 100%;
}
}

@media screen and (max-width: 768px) {
.container-landing .landing-page-details {
Expand Down