Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Transgender-Resource-Wiki committed May 24, 2024
1 parent c7ff1a9 commit 430d01b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
Binary file added public/hearts/enby_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/hearts/lgbtq_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/hearts/transgender_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions src/components/HeartRow.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
interface Props {
hearts: string[];
}
const { hearts } = Astro.props;
---

<div class="heart-container">
{hearts.map((hearts) => <img src={hearts} /> )}
</div>

<style>
.heart-container {
display: flex;
flex-direction: row;
justify-content: center;
padding: 1rem;
}

.heart-container img {
width: clamp(4rem, 6vw, 8rem);
padding-right: 2rem;
}
</style>

0 comments on commit 430d01b

Please sign in to comment.