Skip to content

Commit

Permalink
fix(website): restore showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed May 5, 2022
1 parent d3f526f commit cf766aa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions website/src/pages/showcase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function ShowcaseFilters() {
</div>
<ShowcaseFilterToggle />
</div>
<ul className="clean-list">
<ul className={clsx('clean-list', styles.checkboxList)}>
{TagList.map((tag, i) => {
const {label, description, color} = Tags[tag];
const id = `showcase_checkbox_id_${tag}`;
Expand Down Expand Up @@ -287,7 +287,12 @@ function ShowcaseCards() {
<FavoriteIcon svgClass={styles.svgIconFavorite} />
<SearchBar />
</div>
<ul className="container clean-list">
<ul
className={clsx(
'container',
'clean-list',
styles.showcaseList,
)}>
{favoriteUsers.map((user) => (
<ShowcaseCard key={user.title} user={user} />
))}
Expand All @@ -298,7 +303,7 @@ function ShowcaseCards() {
<h2 className={styles.showcaseHeader}>
<Translate id="showcase.usersList.allUsers">All sites</Translate>
</h2>
<ul className="clean-list">
<ul className={clsx('clean-list', styles.showcaseList)}>
{otherUsers.map((user) => (
<ShowcaseCard key={user.title} user={user} />
))}
Expand All @@ -314,7 +319,7 @@ function ShowcaseCards() {
)}>
<SearchBar />
</div>
<ul className="clean-list">
<ul className={clsx('clean-list', styles.showcaseList)}>
{filteredUsers.map((user) => (
<ShowcaseCard key={user.title} user={user} />
))}
Expand Down

0 comments on commit cf766aa

Please sign in to comment.