docs: changed logo (#4633)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
# codename goose
|
# goose
|
||||||
|
|
||||||
_a local, extensible, open source AI agent that automates engineering tasks_
|
_a local, extensible, open source AI agent that automates engineering tasks_
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ const inkeepIntegrationId = process.env.INKEEP_INTEGRATION_ID;
|
|||||||
const inkeepOrgId = process.env.INKEEP_ORG_ID;
|
const inkeepOrgId = process.env.INKEEP_ORG_ID;
|
||||||
|
|
||||||
const config: Config = {
|
const config: Config = {
|
||||||
title: "codename goose",
|
title: "goose",
|
||||||
tagline:
|
tagline:
|
||||||
"your local AI agent, automating engineering tasks seamlessly.",
|
"your local AI agent, automating engineering tasks seamlessly",
|
||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import { useColorMode } from '@docusaurus/theme-common';
|
||||||
|
|
||||||
|
export const GooseLogo = (props: { className?: string }) => {
|
||||||
|
const { colorMode } = useColorMode();
|
||||||
|
|
||||||
|
const logoSrc = colorMode === 'dark'
|
||||||
|
? 'img/goose-logo-white.png'
|
||||||
|
: 'img/goose-logo-black.png';
|
||||||
|
|
||||||
|
const logoAlt = 'goose logo';
|
||||||
|
|
||||||
|
return (
|
||||||
|
<img
|
||||||
|
src={logoSrc}
|
||||||
|
alt={logoAlt}
|
||||||
|
className={props.className}
|
||||||
|
style={{ height: 'auto', maxWidth: '100%' }}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -241,9 +241,10 @@ html {
|
|||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero--logo svg {
|
.hero--logo {
|
||||||
height: 220px;
|
display: 'flex';
|
||||||
width: 220px;
|
justify-content: 'center';
|
||||||
|
margin-bottom: '1rem'
|
||||||
}
|
}
|
||||||
|
|
||||||
.pill-button {
|
.pill-button {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import Layout from "@theme/Layout";
|
|||||||
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
||||||
|
|
||||||
import styles from "./index.module.css";
|
import styles from "./index.module.css";
|
||||||
import { GooseWordmark } from "../components/gooseWordmark";
|
import { GooseLogo } from "../components/GooseLogo";
|
||||||
|
|
||||||
function HomepageHeader() {
|
function HomepageHeader() {
|
||||||
const { siteConfig } = useDocusaurusContext();
|
const { siteConfig } = useDocusaurusContext();
|
||||||
@@ -14,7 +14,7 @@ function HomepageHeader() {
|
|||||||
<div className={styles.wrapper}>
|
<div className={styles.wrapper}>
|
||||||
<div className={styles.textColumn}>
|
<div className={styles.textColumn}>
|
||||||
<div className="hero--logo">
|
<div className="hero--logo">
|
||||||
<GooseWordmark />
|
<GooseLogo />
|
||||||
</div>
|
</div>
|
||||||
<p className={styles.subtitle}>{siteConfig.tagline}</p>
|
<p className={styles.subtitle}>{siteConfig.tagline}</p>
|
||||||
<Link className="button button--primary button--lg" to="docs/getting-started/installation">
|
<Link className="button button--primary button--lg" to="docs/getting-started/installation">
|
||||||
@@ -38,9 +38,8 @@ function HomepageHeader() {
|
|||||||
|
|
||||||
|
|
||||||
export default function Home(): ReactNode {
|
export default function Home(): ReactNode {
|
||||||
const { siteConfig } = useDocusaurusContext();
|
|
||||||
return (
|
return (
|
||||||
<Layout title={`${siteConfig.title}`} description="Your open source AI agent, automating engineering tasks seamlessly.">
|
<Layout description="your open source AI agent, automating engineering tasks seamlessly">
|
||||||
<HomepageHeader />
|
<HomepageHeader />
|
||||||
<main>
|
<main>
|
||||||
<HomepageFeatures />
|
<HomepageFeatures />
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user