Skip to content

Commit 4c3bbf7

Browse files
committed
feat: enhance featured on section with badge grid layout and additional links
1 parent ffe063a commit 4c3bbf7

2 files changed

Lines changed: 61 additions & 14 deletions

File tree

adminforth/documentation/src/pages/index.module.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,25 @@
8686
margin-bottom: 1.5rem;
8787
}
8888

89+
.featuredOnBadges {
90+
display: grid;
91+
grid-template-columns: repeat(auto-fit, minmax(200px, 267px));
92+
gap: 1.5rem;
93+
justify-content: center;
94+
max-width: 849px;
95+
margin: 0 auto;
96+
}
97+
8998
.featuredOnLink {
90-
display: inline-flex;
99+
display: flex;
91100
align-items: center;
92101
justify-content: center;
102+
width: 100%;
103+
}
104+
105+
.featuredOnBadgeImage {
106+
display: block;
107+
width: 100%;
108+
height: 70px;
109+
object-fit: contain;
93110
}

adminforth/documentation/src/pages/index.tsx

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,49 @@ export default function Home(): JSX.Element {
331331
<Heading as="h2" className={styles.featuredOnTitle}>
332332
Featured on
333333
</Heading>
334-
<a
335-
href="https://auraplusplus.com/projects/adminforth-agent-first-open-source-admin-panel-framework"
336-
target="_blank"
337-
rel="noopener"
338-
className={styles.featuredOnLink}
339-
>
340-
<img
341-
src="https://auraplusplus.com/images/badges/featured-on-light.svg"
342-
alt="Featured on Aura++"
343-
width="265"
344-
height="58"
345-
/>
346-
</a>
334+
<div className={styles.featuredOnBadges}>
335+
<a
336+
href="https://auraplusplus.com/projects/adminforth-agent-first-open-source-admin-panel-framework"
337+
target="_blank"
338+
rel="noopener"
339+
className={styles.featuredOnLink}
340+
>
341+
<img
342+
className={styles.featuredOnBadgeImage}
343+
src="https://auraplusplus.com/images/badges/featured-on-light.svg"
344+
alt="Featured on Aura++"
345+
width="265"
346+
height="58"
347+
/>
348+
</a>
349+
<a
350+
href="https://peerpush.net/p/adminforth"
351+
target="_blank"
352+
rel="noopener"
353+
className={styles.featuredOnLink}
354+
>
355+
<img
356+
className={styles.featuredOnBadgeImage}
357+
src="https://peerpush.net/p/adminforth/badge.png"
358+
alt="AdminForth on PeerPush"
359+
width="230"
360+
/>
361+
</a>
362+
<a
363+
href="https://openhunts.com"
364+
target="_blank"
365+
rel="noopener"
366+
title="OpenHunts Club"
367+
className={styles.featuredOnLink}
368+
>
369+
<img
370+
className={styles.featuredOnBadgeImage}
371+
src="https://cdn.openhunts.com/badges/club.webp"
372+
alt="OpenHunts Club Member"
373+
width="195"
374+
/>
375+
</a>
376+
</div>
347377
</div>
348378
</section>
349379

0 commit comments

Comments
 (0)