Skip to content

Commit

Permalink
Fix Review Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoder committed Jan 13, 2024
1 parent f08f1cd commit fd2f82a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/NonProfit.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const { name, description, image, startColor, endColor, url } = Astro.props;
position: relative;
overflow: hidden;
border-radius: 12px;
padding-top: 120px;

.bg {
position: absolute;
Expand All @@ -55,7 +56,6 @@ const { name, description, image, startColor, endColor, url } = Astro.props;

a {
width: 100%;
padding-top: 160px;
padding: 32px;
display: flex;
flex-direction: column;
Expand Down
9 changes: 6 additions & 3 deletions src/components/NonProfits.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
import NonProfit from './NonProfit.astro';
import { Image } from 'astro:assets';
import sparkles from '../graphics/shapes_sparkle_2.svg';
import clouds from '../graphics/clouds_star_twirl_2.svg';
---

<div class="container">
<img src="/shapes_sparkle_2.svg" class="sparkles" alt="" />
<img src="/clouds_star_twirl_2.svg" class="clouds" alt="" />
<Image src={sparkles} class="sparkles" alt="" />
<Image src={clouds} class="clouds" alt="" />
<section class="lead">
<h4 id="nonprofits">NON-PROFITS</h4>
<h3>
Expand Down Expand Up @@ -122,7 +125,7 @@ import NonProfit from './NonProfit.astro';
display: none;
position: absolute;
top: 72px;
right: 0;
right: -60px;
height: 120px;
@media (min-width: breakpoints.$laptop) {
display: block;
Expand Down

0 comments on commit fd2f82a

Please sign in to comment.