Skip to content

Commit

Permalink
add filter by
Browse files Browse the repository at this point in the history
  • Loading branch information
john-rock committed Jan 30, 2025
1 parent 8dc3a8f commit a41f3b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions website/src/components/quickstartGuideList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ function QuickstartList({ quickstartData }) {
/>
<section id='quickstart-card-section' className={styles.quickstartCardSection}>
<div className={`container ${styles.quickstartFilterContainer} `}>
<h3>Filter by</h3>
{Object.entries(FILTER_CONFIGS).map(([key, config]) => (
filterOptions[key]?.length > 0 && (
<CheckboxGroup
Expand Down
11 changes: 9 additions & 2 deletions website/src/components/quickstartGuideList/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
grid-gap: 1rem;
}

.quickstartFilterContainer {
.quickstartFilterContainer {
display: flex;
flex-direction: column;
gap: 1rem;
Expand All @@ -43,7 +43,14 @@
display: flex;
flex-direction: column;
text-decoration: none !important;
transition: all 0.2s ease-in-out;
}

.quickstartFilterContainer h3 {
font-size: 1.25rem;
font-weight: 300;
margin-bottom: 0;
font-size: 1.25rem;
color: #262A38;
}

.clearAllFiltersButton {
Expand Down

0 comments on commit a41f3b7

Please sign in to comment.