From 3ee3576f6937cad146031b55e38a16f943c79a62 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sat, 4 May 2019 16:55:27 -0400 Subject: [PATCH] fix wacky layout on mobile - closes #2673 --- site/package-lock.json | 6 +- site/package.json | 2 +- site/src/routes/_components/Blurb.svelte | 165 ----------------------- site/src/routes/index.svelte | 1 - 4 files changed, 4 insertions(+), 170 deletions(-) delete mode 100644 site/src/routes/_components/Blurb.svelte diff --git a/site/package-lock.json b/site/package-lock.json index 4c3fd1d8ca..a153716298 100644 --- a/site/package-lock.json +++ b/site/package-lock.json @@ -1381,9 +1381,9 @@ } }, "@sveltejs/site-kit": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@sveltejs/site-kit/-/site-kit-1.0.3.tgz", - "integrity": "sha512-JFwFnzTGyCFI/j2qHiHaD3cvth2jurIgF72MwHayfmzJedcIEwEhj5qlKrDOjMc7Z95UV5Uuo20d2iVaF94slQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@sveltejs/site-kit/-/site-kit-1.0.4.tgz", + "integrity": "sha512-BaQhIL1iPhCF+iDXfy9psDvRdFzfyMPkWnoZHfVz+INpHsU2aJmRZOPl9rykXmPyiPo+AwTTNK5vjIvmtwHLPQ==", "dev": true, "requires": { "@sindresorhus/slugify": "^0.9.1", diff --git a/site/package.json b/site/package.json index 3b92c7efc8..5a93669e0d 100644 --- a/site/package.json +++ b/site/package.json @@ -37,7 +37,7 @@ "@babel/preset-env": "^7.4.4", "@babel/runtime": "^7.4.4", "@sindresorhus/slugify": "^0.9.1", - "@sveltejs/site-kit": "^1.0.3", + "@sveltejs/site-kit": "^1.0.4", "@sveltejs/svelte-repl": "0.0.10", "chokidar": "^3.0.0", "degit": "^2.1.3", diff --git a/site/src/routes/_components/Blurb.svelte b/site/src/routes/_components/Blurb.svelte deleted file mode 100644 index f6feb6dd5a..0000000000 --- a/site/src/routes/_components/Blurb.svelte +++ /dev/null @@ -1,165 +0,0 @@ - - -
- -

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/routes/index.svelte b/site/src/routes/index.svelte index 46f86050d4..b076fe3a0d 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -1,6 +1,5 @@