diff --git a/site/src/routes/_components/Blurb.svelte b/site/src/routes/_components/Blurb.svelte new file mode 100644 index 0000000000..a18c6d18ea --- /dev/null +++ b/site/src/routes/_components/Blurb.svelte @@ -0,0 +1,152 @@ + + +
+
+

Write less code

+

Build boilerplate-free components using languages you already know — HTML, CSS and JavaScript

+ + learn more +
+ +
+

No virtual DOM

+

Svelte compiles your code to tiny, framework-less vanilla JS — your app starts fast and stays fast

+ + learn more +
+ +
+

Truly reactive

+

No more complex state management libraries — Svelte brings reactivity to JavaScript itself

+ + learn more +
+ +
+

Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

+ +

Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.

+ +

Read the introductory blog post to learn more.

+
+ +
+
+npx degit sveltejs/template my-svelte-project
+cd my-svelte-project
+
+npm install
+npm run dev & open http://localhost:5000
+		
+ +

See the quickstart guide for more information.

+ +

Learn Svelte

+
+
\ No newline at end of file diff --git a/site/src/components/WhosUsingSvelte/index.svelte b/site/src/routes/_components/WhosUsingSvelte.svelte similarity index 100% rename from site/src/components/WhosUsingSvelte/index.svelte rename to site/src/routes/_components/WhosUsingSvelte.svelte diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index 4c9b175464..58b28f09b3 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -1,7 +1,8 @@