Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docs to Point to 0.4 #3764

Merged
merged 4 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 34 additions & 16 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,54 @@
import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import styles from './index.module.css';
import HomepageFeatures from '../components/HomepageFeatures';
import React from "react";
import clsx from "clsx";
import Layout from "@theme/Layout";
import Link from "@docusaurus/Link";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import styles from "./index.module.css";
import HomepageFeatures from "../components/HomepageFeatures";

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/Getting-Started">
Getting Started - 3min ⏱️
</Link>
<div className={styles.buttonWrapper}>
<Link
className="button button--secondary button--lg"
to="/docs/Getting-Started"
>
Get Started
</Link>
<p className={styles.buttonTagline}>
Current stable version of AutoGen
</p>
</div>
<div className={styles.buttonWrapper}>
<Link
className="button button--secondary button--lg"
to="/autogen/dev/"
>
Preview v0.4
</Link>
<p className={styles.buttonTagline}>
A new event driven architecture for AutoGen
</p>
</div>
</div>
</div>
</header>
);
}

export default function Home() {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`AutoGen`}
description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework">
description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework"
>
<HomepageHeader />
<main>
<HomepageFeatures />
Expand Down
14 changes: 14 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,18 @@
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.buttonWrapper {
display: flex;
flex-direction: column;
align-items: center;
}

.buttonTagline {
font-size: 0.8rem;
margin-top: 5px;
text-align: center;
max-width: 200px;
}
Loading