docs: changed logo (#4633)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div align="center">
|
||||
|
||||
# codename goose
|
||||
# goose
|
||||
|
||||
_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 config: Config = {
|
||||
title: "codename goose",
|
||||
title: "goose",
|
||||
tagline:
|
||||
"your local AI agent, automating engineering tasks seamlessly.",
|
||||
"your local AI agent, automating engineering tasks seamlessly",
|
||||
favicon: "img/favicon.ico",
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
.hero--logo svg {
|
||||
height: 220px;
|
||||
width: 220px;
|
||||
.hero--logo {
|
||||
display: 'flex';
|
||||
justify-content: 'center';
|
||||
margin-bottom: '1rem'
|
||||
}
|
||||
|
||||
.pill-button {
|
||||
|
||||
@@ -5,7 +5,7 @@ import Layout from "@theme/Layout";
|
||||
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
||||
|
||||
import styles from "./index.module.css";
|
||||
import { GooseWordmark } from "../components/gooseWordmark";
|
||||
import { GooseLogo } from "../components/GooseLogo";
|
||||
|
||||
function HomepageHeader() {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
@@ -14,7 +14,7 @@ function HomepageHeader() {
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.textColumn}>
|
||||
<div className="hero--logo">
|
||||
<GooseWordmark />
|
||||
<GooseLogo />
|
||||
</div>
|
||||
<p className={styles.subtitle}>{siteConfig.tagline}</p>
|
||||
<Link className="button button--primary button--lg" to="docs/getting-started/installation">
|
||||
@@ -38,9 +38,8 @@ function HomepageHeader() {
|
||||
|
||||
|
||||
export default function Home(): ReactNode {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
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 />
|
||||
<main>
|
||||
<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