diff --git a/apps/landing-page/src/components/code-snippet.tsx b/apps/landing-page/src/components/code-snippet.tsx index ffa7beeec..37f06275a 100644 --- a/apps/landing-page/src/components/code-snippet.tsx +++ b/apps/landing-page/src/components/code-snippet.tsx @@ -1,18 +1,7 @@ import { Tabs } from "@kobalte/core/tabs"; -import { createResource, Suspense } from "solid-js"; import { CopyToClipboard } from "./clipboard-button"; -const getSolidStartVersion = async () => { - "use server"; - - const response = await fetch("https://registry.npmjs.org/@solidjs/start/latest"); - - const { version } = await response.json(); - - return version; -}; export function CodeSnippet() { - const [npmVersion] = createResource(() => getSolidStartVersion()); return ( ); } diff --git a/apps/landing-page/src/components/sections/hero.tsx b/apps/landing-page/src/components/sections/hero.tsx index 8701044e5..ac4fab284 100644 --- a/apps/landing-page/src/components/sections/hero.tsx +++ b/apps/landing-page/src/components/sections/hero.tsx @@ -14,22 +14,11 @@ export function Hero() { - 🚀 Solid v2 is now in Release Candidate - - - - - - ✨ SolidStart v2 is now Stable + 🚀 Solid v2 is now live @@ -38,10 +27,10 @@ export function Hero() { - SolidStart + SolidStart → Solid - Fine-grained reactivity goes fullstack + Fullstack is now built in. Everything SolidStart did ships with Solid 2. Get Started Try with StackBlitz + + Still on Solid 1? SolidStart keeps working.{" "} + + SolidStart docs + +
+ Still on Solid 1? SolidStart keeps working.{" "} + + SolidStart docs + +