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

CHAL-12 #done #5

Merged
merged 1 commit into from
Apr 8, 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ exports[`Why8by8 renders why8by8 page unchanged 1`] = `
</h4>
<img
alt="Vote Bubble"
class="vote_bubble"
data-nimg="1"
decoding="async"
height="40"
Expand All @@ -391,7 +392,7 @@ exports[`Why8by8 renders why8by8 page unchanged 1`] = `
<br />
<br />
<span>
Source:  
Source: 
<a
href="https://stopaapihate.org/national-report-through-september-2021/"
>
Expand Down
6 changes: 3 additions & 3 deletions src/app/why8by8/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link';
import { PageContainer } from '@/components/utils/page-container';
import TealCurve from '../../../public/static/images/pages/home/teal-curve.svg';
import TealBottom from '../../../public/static/images/pages/why-8by8/shapes/teal-curve-1.png';
import VoteBubble from '../../../public/static/images/pages/why-8by8/graphics/speech-bubble.png';
import VoteBubble from '../../../public/static/images/pages/why-8by8/graphics/speech-bubble.svg';
import Arnab from '../../../public/static/images/pages/why-8by8/portraits/arnab.png';
import Luis from '../../../public/static/images/pages/why-8by8/portraits/luis.png';
import Yudy from '../../../public/static/images/pages/why-8by8/portraits/yudy.png';
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function Why8by8() {
That&apos;s a very small portion of AAPI voters who already make up
4% of the overall electorate! Your vote really counts!
</h4>
<Image src={VoteBubble} alt="Vote Bubble" />
<Image className={styles.vote_bubble} src={VoteBubble} alt="Vote Bubble" />
</div>
<div className={styles.links_box}>
<Link href="https://www.instagram.com/8by8vote/" target={'blank'}>
Expand All @@ -202,7 +202,7 @@ export default function Why8by8() {
<br />
<br />
<span>
Source: &nbsp;
Source:&nbsp;
<Link href="https://stopaapihate.org/national-report-through-september-2021/">
Stop AAPI Hate Report (2020-2021)
</Link>
Expand Down
3 changes: 3 additions & 0 deletions src/app/why8by8/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@
font-family: partials.$font-family-lato;
font-size: 12px;
}
.vote_bubble {
width: 70%;
}
}
.links_box {
background-color: partials.$color-black-8by8;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
text-decoration: underline colors.$teal 10px;
text-underline-offset: -5px;
}
}
}