docs: make 2.x the default version (#3369)

This commit is contained in:
Marvin Hagemeister
2025-09-09 14:36:51 +02:00
committed by GitHub
parent 2c315a9972
commit 79d8cfc3ed
109 changed files with 1589 additions and 1502 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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">
+1 -1
View File
@@ -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>