-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: public footer seeds (#4434)
- Loading branch information
1 parent
6f1fcac
commit a1e79a5
Showing
14 changed files
with
297 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions
116
sites/public/src/components/shared/CustomSiteFooter.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
.footer-container { | ||
color: var(--seeds-color-on-inverse-muted); | ||
width: 100%; | ||
background-color: var(--seeds-bg-color-inverse); | ||
text-align: left; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
a { | ||
color: var(--seeds-color-on-inverse); | ||
} | ||
} | ||
|
||
.footer-content-container { | ||
padding-inline: var(--seeds-s6); | ||
padding-block: var(--seeds-s12); | ||
@media (--md-down) { | ||
padding-inline: var(--seeds-s6); | ||
padding-block: var(--seeds-s8); | ||
} | ||
width: 100%; | ||
} | ||
|
||
.footer { | ||
padding-inline: 0; | ||
text-align: left; | ||
display: flex; | ||
justify-content: space-between; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin: auto; | ||
max-width: var(--seeds-screen-lg); | ||
} | ||
|
||
.icon-container { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
|
||
.jurisdiction-icon { | ||
width: var(--seeds-s24); | ||
height: var(--seeds-s24); | ||
display: inline-block; | ||
margin-right: var(--seeds-s3); | ||
margin-bottom: var(--seeds-s8); | ||
img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
} | ||
|
||
.copyright-content-container { | ||
background-color: var(--seeds-bg-color-inverse-dark); | ||
} | ||
|
||
.copyright { | ||
flex-direction: row; | ||
justify-content: space-between; | ||
background-color: var(--seeds-bg-color-inverse-dark); | ||
align-items: flex-start; | ||
color: var(--seeds-color-on-inverse-muted); | ||
img { | ||
margin-left: var(--seeds-s4); | ||
} | ||
|
||
@media (--md-down) { | ||
flex-direction: column; | ||
align-items: flex-start; | ||
justify-content: start; | ||
img { | ||
margin-top: var(--seeds-s4); | ||
margin-left: 0; | ||
} | ||
} | ||
} | ||
|
||
.text-container { | ||
display: flex; | ||
flex-direction: column; | ||
margin-bottom: var(--seeds-s4); | ||
} | ||
|
||
.text-container:last-of-type { | ||
margin-bottom: 0; | ||
} | ||
|
||
.copyright-text { | ||
min-width: var(--seeds-s72); | ||
} | ||
|
||
.links { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
justify-content: flex-end; | ||
margin-bottom: calc(-1 * var(--seeds-s2)); | ||
a { | ||
color: var(--seeds-color-on-inverse-muted); | ||
margin-left: var(--seeds-s6); | ||
margin-bottom: var(--seeds-s2); | ||
} | ||
@media (--md-down) { | ||
margin-bottom: 0; | ||
flex-direction: column; | ||
margin-top: var(--seeds-s8); | ||
a { | ||
margin-left: 0; | ||
margin-bottom: var(--seeds-s5); | ||
} | ||
a:last-of-type { | ||
margin-bottom: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from "react" | ||
import Link from "next/link" | ||
import { t } from "@bloom-housing/ui-components" | ||
import styles from "./CustomSiteFooter.module.scss" | ||
|
||
const CustomSiteFooter = () => { | ||
return ( | ||
<footer className={styles["footer-container"]}> | ||
<div className={styles["footer-content-container"]}> | ||
<div className={styles["footer"]}> | ||
<div className={styles["icon-container"]}> | ||
<a href={"/"} className={styles["jurisdiction-icon"]}> | ||
<img src="/images/default-housing-logo.svg" alt={"Jurisdiction Logo"} /> | ||
</a> | ||
</div> | ||
<div className={styles["text-container"]}> | ||
<span>{t("footer.content.projectOf")}</span> | ||
<Link href={"/"}>Mayor's Office of Housing Development</Link> | ||
</div> | ||
<div className={styles["text-container"]}> | ||
<span>{t("footer.content.partnership")}</span> | ||
<Link href={"/"}>Bloomington Department of Technology</Link> | ||
<Link href={"/"}>Mayor's Office of Civic Innovation</Link> | ||
</div> | ||
<div className={styles["text-container"]}> | ||
<p>{t("footer.content.applicationQuestions")}</p> | ||
<p>{t("footer.content.programQuestions")}</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
className={`${styles["footer-content-container"]} ${styles["copyright-content-container"]}`} | ||
> | ||
<div className={`${styles["footer"]} ${styles["copyright"]}`}> | ||
<div className={styles["copyright-text"]}>{t("footer.copyright")}</div> | ||
<div className={styles.links}> | ||
<Link href="/">{t("footer.giveFeedback")}</Link> | ||
<Link href="/">{t("footer.contact")}</Link> | ||
<Link href="/privacy">{t("pageTitle.privacy")}</Link> | ||
<Link href="/disclaimer">{t("pageTitle.disclaimer")}</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
) | ||
} | ||
|
||
export default CustomSiteFooter |
Oops, something went wrong.