Skip to content

Commit

Permalink
Landing page [first pass] (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
nahiyankhan authored Jan 24, 2025
1 parent 23cf9f4 commit 7850fc4
Show file tree
Hide file tree
Showing 20 changed files with 18,406 additions and 94 deletions.
1 change: 1 addition & 0 deletions documentation/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
129 changes: 69 additions & 60 deletions documentation/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,139 +1,148 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

const config: Config = {
title: 'codename goose',
tagline: 'goose is your on-machine developer agent, automating engineering tasks seamlessly within your IDE or terminal',
favicon: 'img/favicon.ico',
title: "codename goose",
tagline:
"goose is your on-machine developer agent, automating engineering tasks seamlessly within your IDE or terminal",
favicon: "img/favicon.ico",

// Set the production url of your site here
url: 'https://block.github.io/',
url: "https://block.github.io/",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/goose/v1/', // This is temporary for development purposes
baseUrl: "/goose/v1/", // This is temporary for development purposes

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'block', // Usually your GitHub org/user name.
projectName: 'goose', // Usually your repo name.
organizationName: "block", // Usually your GitHub org/user name.
projectName: "goose", // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
defaultLocale: "en",
locales: ["en"],
},

presets: [
[
'classic',
"classic",
{
docs: {
sidebarPath: './sidebars.ts',
sidebarPath: "./sidebars.ts",
},
blog: {
showReadingTime: true,
feedOptions: {
type: ['rss', 'atom'],
type: ["rss", "atom"],
xslt: true,
},
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
onInlineTags: "warn",
onInlineAuthors: "warn",
onUntruncatedBlogPosts: "warn",
},
theme: {
customCss: './src/css/custom.css',
customCss: "./src/css/custom.css",
},
} satisfies Preset.Options,
],
],

themeConfig: {
// Replace with your project's social card
image: 'img/home-banner.png',
image: "img/home-banner.png",
navbar: {
title: 'codename goose',
title: "",
logo: {
alt: 'Block Logo',
src: 'img/logo.png',
alt: "Block Logo",
src: "img/logo_light.png",
srcDark: "img/logo_dark.png",
},
items: [
{
to: '/docs/quickstart',
label: 'Quickstart',
position: 'left',
to: "/docs/quickstart",
label: "Quickstart",
position: "left",
},
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Docs',
type: "docSidebar",
sidebarId: "tutorialSidebar",
position: "left",
label: "Docs",
},

{to: '/blog', label: 'Blog', position: 'left'},
{href: 'https://discord.gg/block-opensource', label: 'Discord', position: 'left'},
{ to: "/blog", label: "Blog", position: "left" },
{
href: 'https://github.com/block/goose',
label: 'GitHub',
position: 'right',
to: "https://block.github.io/goose/v1/extensions/",
label: "Extensions",
position: "left",
},
{
href: "https://discord.gg/block-opensource",
label: "Discord",
position: "right",
},
{
href: "https://github.com/block/goose",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
title: "Docs",
items: [
{
label: 'Install goose',
to: '/docs/installation',
label: "Install goose",
to: "/docs/installation",
},
],
},
{
title: 'Community',
title: "Community",
items: [
{
label: 'Discord',
href: 'https://discord.gg/block-opensource',
label: "Discord",
href: "https://discord.gg/block-opensource",
},
{
label: 'YouTube',
href: 'https://www.youtube.com/@goose.videos',
label: "YouTube",
href: "https://www.youtube.com/@goose.videos",
},
{
label: 'LinkedIn',
href: 'https://www.linkedin.com/company/block-opensource',
label: "LinkedIn",
href: "https://www.linkedin.com/company/block-opensource",
},
{
label: 'Twitter / X',
href: 'https://x.com/blockopensource',
},
label: "Twitter / X",
href: "https://x.com/blockopensource",
},
{
label: 'BlueSky',
href: 'https://bsky.app/profile/block-opensource.bsky.social',
},
label: "BlueSky",
href: "https://bsky.app/profile/block-opensource.bsky.social",
},
],
},
{
title: 'More',
title: "More",
items: [
{
label: 'Blog',
to: '/blog',
label: "Blog",
to: "/blog",
},
{
label: 'GitHub',
href: 'https://github.com/block/goose',
label: "GitHub",
href: "https://github.com/block/goose",
},
],
},
Expand Down
Loading

0 comments on commit 7850fc4

Please sign in to comment.