MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / CardLayout

Function CardLayout

apps/web/ui/CardLayout/index.tsx:12–34  ·  view source on GitHub ↗
({ size, header, children }: Props)

Source from the content-addressed store, hash-verified

10}
11
12const CardLayout = ({ size, header, children }: Props) => {
13 return (
14 <>
15 <div className={styles.page}>
16 <div className={styles.logo}>
17 <a href="/">
18 <LinenLogo />
19 </a>
20 </div>
21 <Card size={size}>
22 <div className={styles.content}>
23 {header && <h1 className={styles.header}>{header}</h1>}
24 {children}
25 </div>
26 </Card>
27 </div>
28 <div id="portal"></div>
29 <div id="modal-portal"></div>
30 <div id="tooltip-portal"></div>
31 <div id="preview-portal"></div>
32 </>
33 );
34};
35
36export default CardLayout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected