Skip to content

Commit 7ea5dfa

Browse files
authored
[update] remove unused npo cards (#52)
* remove unused npo cards * center align card * resolve long vertical card in mobile view
1 parent 418cfa9 commit 7ea5dfa

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

src/components/NonProfit.astro

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ const { name, description, image, startColor, endColor, url } = Astro.props;
3838
flex-direction: column;
3939
justify-content: flex-end;
4040

41+
&:last-child {
42+
@media (min-width: breakpoints.$laptop) {
43+
grid-column: 2;
44+
}
45+
}
46+
4147
.bg {
4248
position: absolute;
4349
top: 0;

src/components/NonProfits.astro

-14
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,6 @@ import clouds from '../graphics/clouds_star_twirl_2.svg';
7777
endColor="rgba(91, 192, 222, 1)"
7878
url="https://www.artzphilly.org/"
7979
/>
80-
<NonProfit
81-
name="Coming soon..."
82-
description="This amazing nonprofit will be announced soon!"
83-
image="/nonprofits/coming-soon.webp"
84-
startColor="rgba(120, 120, 120, 0.3)"
85-
endColor="rgba(120, 120, 120, 1)"
86-
/>
87-
<NonProfit
88-
name="Coming soon..."
89-
description="This amazing nonprofit will be announced soon!"
90-
image="/nonprofits/coming-soon.webp"
91-
startColor="rgba(120, 120, 120, 0.3)"
92-
endColor="rgba(120, 120, 120, 1)"
93-
/>
9480
</section>
9581
</div>
9682

0 commit comments

Comments
 (0)