MCPcopy Create free account
hub / github.com/ServerlessDevelopers/serverless-rust / HomepageHeader

Function HomepageHeader

src/pages/index.js:10–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import styles from './index.module.css';
9
10function HomepageHeader() {
11 const {siteConfig} = useDocusaurusContext();
12 return (
13 <header className={clsx('hero hero--primary', styles.heroBanner)}>
14 <div className="container">
15 <h1 className="hero__title">{siteConfig.title}</h1>
16 <p className="hero__subtitle">{siteConfig.tagline}</p>
17 <div className={styles.buttons}>
18 <Link
19 className="button button--secondary button--lg"
20 to="/docs/why-rust">
21 Get Started
22 </Link>
23 </div>
24 </div>
25 </header>
26 );
27}
28
29export default function Home() {
30 const {siteConfig} = useDocusaurusContext();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…