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

finish footer styling #411

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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 app/components/Footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-evenly;
justify-content: space-between;
align-items: baseline;
margin: 104px 0 80px 0;
margin: 104px 13.33vw 80px 13.33vw;
}
8 changes: 4 additions & 4 deletions app/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ export const FooterBar: FunctionComponent = () => {
<div className="footer" key="footer">
<hr />
<div className="footer-grid">
<div>
<div className="col-5">
<p className="large-bold teal-500">
<a href="/">AISafety.info</a>
</p>
<div className="footer-description">
<div>
We're a global team of volunteers from various disciplines who believe AI poses a grave
risk of extinction to humanity.
</div>
</div>

<div className="small">
<div className="col-3 small">
<p className="small-bold">Help out</p>
<Link to="https://www.every.org/stampy?utm_campaign=donate-link#/donate" title="Donate" />
<Link to="https://github.com/StampyAI/stampy-ui" title="Code" />
<Link to="https://get_involved.aisafety.info/" title="Write" />
<Link to="https://discord.com/invite/Bt8PaRTDQC" title="Join us on Discord" />
</div>
<div className="partners small">
<div className="partners small col-4">
<p className="small-bold">Partner projects</p>
<Link to="https://www.aisafety.com/" title="AIsafety.com" />
<Link to="https://alignment.dev/" title="Alignment Ecosystem Development" />
Expand Down
43 changes: 43 additions & 0 deletions app/newRoot.css
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,49 @@ h2 {
padding-bottom: var(--spacing-288);
}

/* width classes. please turn the grid on in figma and then define widths based on how many columns there are! */
/* note I may change these to vars later */

.col-2 {
width: 8.54vw;
}

.col-3 {
width: 15vw;
}

.col-4 {
width: 21.46vw;
}

.col-5 {
width: 27.99vw;
}

.col-6 {
width: 34.44vw;
}

.col-7 {
width: 40.9vw;
}

.col-8 {
width: 47.43vw;
}

.col-9 {
width: 53.89vw;
}

.col-10 {
width: 60.35vw;
}

.col-11 {
width: 66.88vw;
}

/* other tags */

a {
Expand Down
Loading