MCPcopy Create free account
hub / github.com/diffbot/code-gpt-docs / HomepageHeader

Function HomepageHeader

src/pages/index.js:10–37  ·  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 <meta name="algolia-site-verification" content="0C75EB260FD1294C" />
15 <div className="container">
16 <h1 className="hero__title">{siteConfig.title}</h1>
17 <p className="hero__subtitle">{siteConfig.tagline}</p>
18 <img height="60%" width="650px" src="https://user-images.githubusercontent.com/6216945/227382051-b8290762-fd7f-44c5-88d5-93b659384f5d.gif" alt="CodeGPT Chat" />
19 <div className={styles.buttons}>
20 <Link
21 className="button button--secondary button--lg"
22 to="/docs/intro">
23 Code GPT Tutorial 📚
24 </Link>
25 </div>
26 <br></br>
27 <div className={styles.buttons}>
28 <Link
29 className="button button--success button--lg"
30 to="vscode:extension/danielsanmedium.dscodegpt">
31 Quick Install
32 </Link>
33 </div>
34 </div>
35 </header>
36 );
37}
38
39export default function Home() {
40 const {siteConfig} = useDocusaurusContext();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected