fix(website): restore showcase (#7337)

This commit is contained in:
Alexey Pyltsyn 2022-05-05 09:22:58 +03:00 committed by GitHub
parent d3f526fd8a
commit 9cf8d75de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`;
@ -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} />
))}
@ -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} />
))}
@ -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} />
))}