docs: make 2.x the default version (#3369)
This commit is contained in:
@@ -63,7 +63,7 @@ export function FormsSection() {
|
||||
<a href="https://deno.com" class="underline">Deno</a>, it's built on
|
||||
web standards.
|
||||
</p>
|
||||
<FancyLink href="/docs/concepts/forms" class="mt-2">
|
||||
<FancyLink href="/docs/advanced/forms" class="mt-2">
|
||||
Forms in Fresh
|
||||
</FancyLink>
|
||||
</div>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -70,7 +70,7 @@ export function PartialsSection() {
|
||||
page, without a full page reload—perfect for interactive elements
|
||||
and dynamic apps.
|
||||
</p>
|
||||
<FancyLink href="/docs/concepts/partials" class="mt-4">
|
||||
<FancyLink href="/docs/advanced/partials" class="mt-4">
|
||||
Learn more about Partials
|
||||
</FancyLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user