File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
packages/shared-ui/src/cards Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 11.cards {
22 display : flex;
33 justify-content : space-evenly;
4+ flex-wrap : wrap;
5+ gap : 25px ;
46 width : var (--max-width );
57}
68
Original file line number Diff line number Diff line change 1+ import styles from "./cards.module.css" ;
2+
3+ export function DocsCard ( ) {
4+ return (
5+ < a
6+ className = { styles . card }
7+ href = "https://react18-tools.github.io/react18-themes/"
8+ rel = "noopener noreferrer"
9+ target = "_blank" >
10+ < h2 >
11+ Docs < span > -></ span >
12+ </ h2 >
13+ < p > Explore the official docs.</ p >
14+ </ a >
15+ ) ;
16+ }
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ import type { PageNavigatorCardProps } from "./page-navigator-card";
33import { PageNavigatorCard } from "./page-navigator-card" ;
44import styles from "./cards.module.css" ;
55import { StarMeCard } from "./star-me-card" ;
6+ import { DocsCard } from "./docs-card" ;
67
78export function Cards ( { LinkElement } : PageNavigatorCardProps ) {
89 return (
910 < div className = { styles . cards } >
1011 < PageNavigatorCard LinkElement = { LinkElement } />
12+ < DocsCard />
1113 < ExamplesCard />
1214 < StarMeCard />
1315 </ div >
You can’t perform that action at this time.
0 commit comments