docs: make 2.x the default version (#3369)
This commit is contained in:
@@ -3,7 +3,7 @@ import { FancyLink } from "../../components/FancyLink.tsx";
|
||||
import LemonTop from "../../islands/LemonTop.tsx";
|
||||
import LemonBottom from "../../islands/LemonBottom.tsx";
|
||||
|
||||
export function Hero(props: { origin: string }) {
|
||||
export function Hero() {
|
||||
return (
|
||||
<>
|
||||
<div class="bg-green-300 mt-0 pt-32 md:pt-48 !mb-0 bg-gradient-to-br from-blue-100 via-green-200 to-yellow-100">
|
||||
@@ -14,7 +14,7 @@ export function Hero(props: { origin: string }) {
|
||||
</h2>
|
||||
<div class="mt-12 flex flex-wrap justify-center items-stretch md:justify-start gap-4">
|
||||
<FancyLink href="/docs/getting-started">Get started</FancyLink>
|
||||
<CopyArea code={`deno run -A -r ${props.origin}`} />
|
||||
<CopyArea code={`deno run -Ar jsr:@fresh/init`} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:col-span-2 flex justify-center items-end">
|
||||
|
||||
Reference in New Issue
Block a user