Skip to content

Commit

Permalink
[update] remove unused npo cards (#52)
Browse files Browse the repository at this point in the history
* remove unused npo cards

* center align card

* resolve long vertical card in mobile view
  • Loading branch information
jinkang-0 authored Feb 20, 2024
1 parent 418cfa9 commit 7ea5dfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
6 changes: 6 additions & 0 deletions src/components/NonProfit.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ const { name, description, image, startColor, endColor, url } = Astro.props;
flex-direction: column;
justify-content: flex-end;

&:last-child {
@media (min-width: breakpoints.$laptop) {
grid-column: 2;
}
}

.bg {
position: absolute;
top: 0;
Expand Down
14 changes: 0 additions & 14 deletions src/components/NonProfits.astro
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,6 @@ import clouds from '../graphics/clouds_star_twirl_2.svg';
endColor="rgba(91, 192, 222, 1)"
url="https://www.artzphilly.org/"
/>
<NonProfit
name="Coming soon..."
description="This amazing nonprofit will be announced soon!"
image="/nonprofits/coming-soon.webp"
startColor="rgba(120, 120, 120, 0.3)"
endColor="rgba(120, 120, 120, 1)"
/>
<NonProfit
name="Coming soon..."
description="This amazing nonprofit will be announced soon!"
image="/nonprofits/coming-soon.webp"
startColor="rgba(120, 120, 120, 0.3)"
endColor="rgba(120, 120, 120, 1)"
/>
</section>
</div>

Expand Down

0 comments on commit 7ea5dfa

Please sign in to comment.