MCPcopy Create free account
hub / github.com/adobe/react-spectrum / WelcomeHeader

Function WelcomeHeader

packages/dev/s2-docs/pages/WelcomeHeader.tsx:8–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import url from 'url:../assets/wallpaper_collaborative_S2_desktop.webp';
7
8export function WelcomeHeader() {
9 return (
10 <header
11 style={{
12 backgroundImage: `url(${url})`,
13 backgroundSize: 'cover'
14 }}
15 className={style({
16 paddingX: 48,
17 paddingY: 96,
18 marginTop: {
19 default: -12,
20 lg: -40
21 },
22 marginX: {
23 default: -12,
24 lg: -40
25 },
26 marginBottom: 48
27 })}>
28 <h1 className={style({font: 'heading-2xl', color: 'white'})}>React Spectrum Libraries</h1>
29 </header>
30 );
31}
32
33export function LibraryCards() {
34 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected