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

feat: Fixed footerUI , added twitter link #293

Closed
wants to merge 2 commits into from
Closed
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
103 changes: 66 additions & 37 deletions components/Footer/Footer.module.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,83 @@
.footer {
background-color: var(--dark);
padding: 16px;
padding-bottom: 32px;
color: #fff;
margin-top: 2rem;
}
.footerTop {
padding-bottom: 16px;
padding: 16px;
padding-bottom: 8px;
}

.footerTop {
border-bottom: 1px solid var(--lightGrey);

}

.footerList {
padding-bottom: 20px;
}

.footerList {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin: 0 ;
padding: 0;
margin: 0;
list-style: none;
line-height: 1.6;

}
}

.footerLink, .footerLink:visited {

.footerLink,
.footerLink:visited {
text-decoration: none;
font-size: 0.9rem;
}

.footerLink:hover {
text-decoration: underline;
}

.footerBottom {
margin: 8px 0;
}

.footerLink:hover {
color: var(--lightGrey) ;
}

.footerBottom {
display: flex;
justify-content: space-between;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0rem;
margin: 0;
padding: 16px 0 0 0;
}

.footerCopyrightText {
}

.footerSocialIcons {
display: flex;
justify-content: center;
align-items: center;
margin-top: 16px;
}
.footerSocialIcon:hover {
color: var(--lightGrey);
}

.footerSocialIcon {
font-size: 1.2rem;
margin: 0 8px;
}

.footerCopyright {
margin: 0;
font-size: 0.9rem;
}

@media only screen and (min-width: 55rem) {

}

@media only screen and (min-width: 55rem) {
.footerList {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-direction: row;

}

.footerLink,
.footerLink:visited {
margin: 0 16px;
}

.footerBottom {
flex-direction: column;
}

.footerSocialIcons {
display: flex;
}



}
}
18 changes: 13 additions & 5 deletions components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from "next/link"
import styles from "./Footer.module.css"
import { BsGithub, BsBoxArrowUpRight } from "react-icons/bs"
import { BsGithub, BsBoxArrowUpRight, BsTwitter } from "react-icons/bs"

export const Footer = () => {
return (
Expand Down Expand Up @@ -50,14 +50,22 @@ export const Footer = () => {
</ul>
</div>
<div className={styles.footerBottom}>
<div className={styles.footerSocialIcons}>
<a
className={styles.footerIcons}
href="https://github.com/AccessibleForAll">
<BsGithub color="white" size="1.5rem" aria-label="Github" />
</a>
<a
className={styles.footerSocialIcon}
href="https://twitter.com/EmmaDawsonDev">
<BsTwitter color="white" size="1.5rem" aria-label="Github" />
ArslanYM marked this conversation as resolved.
Show resolved Hide resolved
</a>
</div>
<p className={styles.footerCopyrightText}>
© Accessible Web Dev by <strong>Accessible For All</strong>. Making
accessibility accessible for everyone!
</p>

<a href="https://github.com/AccessibleForAll">
<BsGithub color="white" size="1.5rem" aria-label="Github" />
</a>
</div>
</footer>
)
Expand Down