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
+2 -4
View File
@@ -47,9 +47,7 @@ export const handler = define.handlers({
},
});
export default define.page<typeof handler>(function MainPage(props) {
const origin = `${props.url.protocol}//${props.url.host}`;
export default define.page<typeof handler>(function MainPage() {
return (
<div class="flex flex-col min-h-screen bg-white">
<div class="bg-transparent flex flex-col relative z-10">
@@ -57,7 +55,7 @@ export default define.page<typeof handler>(function MainPage(props) {
<Header title="" active="/" />
</div>
<div class="flex flex-col -mt-20 relative">
<Hero origin={origin} />
<Hero />
<Simple />
<RenderingSection />
<IslandsSection />