Skip to content

Commit

Permalink
docs(website): update title composition
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Sep 7, 2024
1 parent 7919603 commit 15f150e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {themes as prismThemes} from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
export default {
title: 'Tabby - Opensource, self-hosted AI coding assitant',
title: 'Tabby',
tagline: 'Opensource, self-hosted AI coding assistant',
favicon: 'img/favicon.ico',
trailingSlash: true,
Expand Down
6 changes: 5 additions & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';

import styles from './index.module.css';
import Head from '@docusaurus/Head';

function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<Head>
<title>{siteConfig.title} - {siteConfig.tagline}</title>
</Head>
<div className="container">
<h1 className="hero__title">Tabby</h1>
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>

<div className="flex flex-col md:flex-row justify-center items-center gap-4">
Expand Down

0 comments on commit 15f150e

Please sign in to comment.