Skip to content

Commit c179efb

Browse files
authored
update homepage link to 0.4 doc (#3772)
1 parent 0c4ae70 commit c179efb

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

website/src/pages/index.js

+45-45
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,52 @@ import styles from "./index.module.css";
77
import HomepageFeatures from "../components/HomepageFeatures";
88

99
function HomepageHeader() {
10-
const { siteConfig } = useDocusaurusContext();
11-
return (
12-
<header className={clsx("hero hero--primary", styles.heroBanner)}>
13-
<div className="container">
14-
<h1 className="hero__title">{siteConfig.title}</h1>
15-
<p className="hero__subtitle">{siteConfig.tagline}</p>
16-
<div className={styles.buttons}>
17-
<div className={styles.buttonWrapper}>
18-
<Link
19-
className="button button--secondary button--lg"
20-
to="/docs/Getting-Started"
21-
>
22-
Get Started
23-
</Link>
24-
<p className={styles.buttonTagline}>
25-
Current stable version of AutoGen
26-
</p>
27-
</div>
28-
<div className={styles.buttonWrapper}>
29-
<Link
30-
className="button button--secondary button--lg"
31-
to="/autogen/dev/"
32-
>
33-
Preview v0.4
34-
</Link>
35-
<p className={styles.buttonTagline}>
36-
A new event driven architecture for AutoGen
37-
</p>
38-
</div>
39-
</div>
40-
</div>
41-
</header>
42-
);
10+
const { siteConfig } = useDocusaurusContext();
11+
return (
12+
<header className={clsx("hero hero--primary", styles.heroBanner)}>
13+
<div className="container">
14+
<h1 className="hero__title">{siteConfig.title}</h1>
15+
<p className="hero__subtitle">{siteConfig.tagline}</p>
16+
<div className={styles.buttons}>
17+
<div className={styles.buttonWrapper}>
18+
<Link
19+
className="button button--secondary button--lg"
20+
to="/docs/Getting-Started"
21+
>
22+
Get Started
23+
</Link>
24+
<p className={styles.buttonTagline}>
25+
Current stable version of AutoGen
26+
</p>
27+
</div>
28+
<div className={styles.buttonWrapper}>
29+
<Link
30+
className="button button--secondary button--lg"
31+
to="https://microsoft.github.io/autogen/dev/"
32+
>
33+
Preview v0.4
34+
</Link>
35+
<p className={styles.buttonTagline}>
36+
A new event driven architecture for AutoGen
37+
</p>
38+
</div>
39+
</div>
40+
</div>
41+
</header>
42+
);
4343
}
4444

4545
export default function Home() {
46-
const { siteConfig } = useDocusaurusContext();
47-
return (
48-
<Layout
49-
title={`AutoGen`}
50-
description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework"
51-
>
52-
<HomepageHeader />
53-
<main>
54-
<HomepageFeatures />
55-
</main>
56-
</Layout>
57-
);
46+
const { siteConfig } = useDocusaurusContext();
47+
return (
48+
<Layout
49+
title={`AutoGen`}
50+
description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework"
51+
>
52+
<HomepageHeader />
53+
<main>
54+
<HomepageFeatures />
55+
</main>
56+
</Layout>
57+
);
5858
}

0 commit comments

Comments
 (0)