From fd2b3e4dafe9108fbc0c0941674d3bc7efecea74 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sat, 9 Mar 2019 08:05:45 -0500 Subject: [PATCH] chapter --- .../06-svelte-head/app-a/App.svelte | 5 +++++ .../06-svelte-head/app-b/App.svelte | 5 +++++ .../16-special-elements/06-svelte-head/text.md | 13 +++++++++++++ site/content/tutorial/99-todo/99-todo/text.md | 2 +- site/static/tutorial/dark-theme.css | 5 +++++ 5 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 site/content/tutorial/16-special-elements/06-svelte-head/app-a/App.svelte create mode 100644 site/content/tutorial/16-special-elements/06-svelte-head/app-b/App.svelte create mode 100644 site/content/tutorial/16-special-elements/06-svelte-head/text.md create mode 100644 site/static/tutorial/dark-theme.css diff --git a/site/content/tutorial/16-special-elements/06-svelte-head/app-a/App.svelte b/site/content/tutorial/16-special-elements/06-svelte-head/app-a/App.svelte new file mode 100644 index 0000000000..2f5fed88cb --- /dev/null +++ b/site/content/tutorial/16-special-elements/06-svelte-head/app-a/App.svelte @@ -0,0 +1,5 @@ + + + + +

Hello world!

\ No newline at end of file diff --git a/site/content/tutorial/16-special-elements/06-svelte-head/app-b/App.svelte b/site/content/tutorial/16-special-elements/06-svelte-head/app-b/App.svelte new file mode 100644 index 0000000000..38089c9fdd --- /dev/null +++ b/site/content/tutorial/16-special-elements/06-svelte-head/app-b/App.svelte @@ -0,0 +1,5 @@ + + + + +

Hello world!

\ No newline at end of file diff --git a/site/content/tutorial/16-special-elements/06-svelte-head/text.md b/site/content/tutorial/16-special-elements/06-svelte-head/text.md new file mode 100644 index 0000000000..a6e784cb9c --- /dev/null +++ b/site/content/tutorial/16-special-elements/06-svelte-head/text.md @@ -0,0 +1,13 @@ +--- +title: +--- + +Lastly, `` allows you to insert elements inside the `` of your document: + +```html + + + +``` + +> In server-side rendering (SSR) mode, contents of `` are returned separately from the rest of your HTML. \ No newline at end of file diff --git a/site/content/tutorial/99-todo/99-todo/text.md b/site/content/tutorial/99-todo/99-todo/text.md index 7106ba7f27..b7c65bb034 100644 --- a/site/content/tutorial/99-todo/99-todo/text.md +++ b/site/content/tutorial/99-todo/99-todo/text.md @@ -148,7 +148,7 @@ Maybe lifecycle should go first, since we're using `onMount` in the `this` demo? * [x] `` * [x] `` * [x] `` -* [ ] `` +* [x] `` ## Miscellaneous diff --git a/site/static/tutorial/dark-theme.css b/site/static/tutorial/dark-theme.css new file mode 100644 index 0000000000..e6bfb771f1 --- /dev/null +++ b/site/static/tutorial/dark-theme.css @@ -0,0 +1,5 @@ +body { + background-color: #333; + color: whitesmoke; + transition: all 0.5s; +} \ No newline at end of file