Skip to content

Commit

Permalink
add get started link to go to docs (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar authored Feb 8, 2025
1 parent f83c2e3 commit 7cb18b8
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/pages/landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function LandingPage() {
Open-Source, MIT Licensed
</Badge>
<h1 className="text-3xl font-bold tracking-tighter sm:text-5xl xl:text-6xl/none">
The New Foundation for Electronic Design
AI codes electronics with tscircuit
</h1>
<p className="max-w-[600px] text-muted-foreground md:text-xl">
Build electronics with code, AI, and drag'n'drop tools.
Expand All @@ -61,19 +61,11 @@ export function LandingPage() {
</p>
</div>
<div className="flex flex-col items-center gap-2 min-[400px]:flex-row">
<Button
onClick={() => {
if (!isLoggedIn) {
signIn()
} else {
navigate("/dashboard")
}
}}
size="lg"
aria-label="Get started with TSCircuit"
>
Get Started
</Button>
<a href="https://docs.tscircuit.com">
<Button size="lg" aria-label="Get started with TSCircuit">
Get Started
</Button>
</a>
<PrefetchPageLink href="/quickstart">
<Button
size="lg"
Expand Down

0 comments on commit 7cb18b8

Please sign in to comment.