Skip to content

Commit

Permalink
docs: adjust website button style
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed May 9, 2024
1 parent 70207d0 commit d86d413
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import styles from './index.module.css';

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<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="flex justify-center items-center gap-4 max-w-md mx-auto">
<div className="flex justify-center items-center gap-4">
<Link
className="button button--secondary button--md flex-1"
className="button button--secondary button--lg"
to="https://links.tabbyml.com/live-demo">
View Live Demo 🚀
View Live Demo 🚀
</Link>
<Link
className="button button--primary border-neutral-800 bg-neutral-800 flex-1 hover:opacity-[0.85]"
className="button button--ghost button--lg flex flex-col items-center hover:opacity-80 font-medium"
to="/docs/getting-started">
Tutorial - 5min ⏱️
<div className='w-full h-[2px] bg-green-200 rounded-sm'></div>
</Link>
</div>

Expand All @@ -35,7 +36,7 @@ function HomepageHeader() {
}

export default function Home() {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Home`}
Expand Down

0 comments on commit d86d413

Please sign in to comment.