Skip to content

Commit

Permalink
Adding button text for filter
Browse files Browse the repository at this point in the history
  • Loading branch information
selinakkaya committed Jul 26, 2024
1 parent aa5c31b commit 32ca502
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
13 changes: 6 additions & 7 deletions web/src/pages/events/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ import Layout from "@/layouts/layout.astro";
We aim to help students develop practical skills that can be used in the workforce.
We host social events to help students network among peers and with industry people.
</p>
<button
class="mt-6 px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600"
onClick={handleFilterClick}
>
Filter
</button>

<!-- filter button -->
<div class="my-4">
<button class="filter-button">Filter By</button>
</div>
</section>
</Layout>
</Layout>
12 changes: 12 additions & 0 deletions web/src/pages/events/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.filter-button {
background-color: #b3e5fc; /* Light blue */
border: none;
padding: 10px 20px;
border-radius: 25px;
font-size: 16px;
cursor: pointer;
}

.filter-button:focus {
outline: none;
}

0 comments on commit 32ca502

Please sign in to comment.