From d55f8c4757e0cb3b185df87770df9659d02a93b7 Mon Sep 17 00:00:00 2001 From: Arthur Evans Date: Tue, 10 May 2022 11:06:48 -0700 Subject: [PATCH] Make titles consistently sentence case; set featured tutorials. --- .../tutorials/async-directive/tutorial.json | 6 +- .../samples/tutorials/carousel/tutorial.json | 4 +- .../tutorials/reactivity/tutorial.json | 4 +- .../samples/tutorials/tooltip/tutorial.json | 12 +-- .../tutorials/word-viewer/tutorial.json | 88 +++++++++---------- .../working-with-lists/tutorial.json | 2 +- .../site/tutorials/tutorials.11tydata.js | 8 +- 7 files changed, 62 insertions(+), 62 deletions(-) diff --git a/packages/lit-dev-content/samples/tutorials/async-directive/tutorial.json b/packages/lit-dev-content/samples/tutorials/async-directive/tutorial.json index f3f057d30..4f36bf37b 100644 --- a/packages/lit-dev-content/samples/tutorials/async-directive/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/async-directive/tutorial.json @@ -1,12 +1,12 @@ { - "header": "Intro to AsyncDirectives", + "header": "Intro to async directives", "difficulty": "Advanced", "size": "small", "duration": 30, "category": "Learn", "steps": [ { - "title": "Introduction to AsyncDirective", + "title": "Introduction", "noSolve": true }, { @@ -42,4 +42,4 @@ "hasAfter": true } ] -} +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/tutorials/carousel/tutorial.json b/packages/lit-dev-content/samples/tutorials/carousel/tutorial.json index f77f116fc..02a4e2b28 100644 --- a/packages/lit-dev-content/samples/tutorials/carousel/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/carousel/tutorial.json @@ -1,5 +1,5 @@ { - "header": "Build an Animated Carousel Element", + "header": "Build an animated carousel element", "difficulty": "Intermediate", "size": "small", "duration": 30, @@ -40,4 +40,4 @@ "noSolve": true } ] -} +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/tutorials/reactivity/tutorial.json b/packages/lit-dev-content/samples/tutorials/reactivity/tutorial.json index 056de50cb..52d314b8f 100644 --- a/packages/lit-dev-content/samples/tutorials/reactivity/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/reactivity/tutorial.json @@ -6,7 +6,7 @@ "category": "Learn", "steps": [ { - "title": "Reactivity", + "title": "Introduction", "noSolve": true }, { @@ -34,4 +34,4 @@ "hasAfter": true } ] -} +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/tutorials/tooltip/tutorial.json b/packages/lit-dev-content/samples/tutorials/tooltip/tutorial.json index 66d1bc712..91b834b9c 100644 --- a/packages/lit-dev-content/samples/tutorials/tooltip/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/tooltip/tutorial.json @@ -1,12 +1,12 @@ { - "header": "Build a Tooltip Element", + "header": "Build a tooltip element", "difficulty": "Advanced", "size": "small", "duration": 30, "category": "Build", "steps": [ { - "title": "Build a Tooltip Element", + "title": "Introduction", "noSolve": true }, { @@ -22,17 +22,17 @@ "title": "Positioning" }, { - "title": "Better Positioning" + "title": "Better positioning" }, { "title": "Animation" }, { - "title": "Lazy Creation", + "title": "Lazy creation", "hasAfter": true }, { - "title": "Using a Directive", + "title": "Using a directive", "hasAfter": true }, { @@ -40,4 +40,4 @@ "noSolve": true } ] -} +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/tutorials/word-viewer/tutorial.json b/packages/lit-dev-content/samples/tutorials/word-viewer/tutorial.json index 32dc3c616..91a3204ec 100644 --- a/packages/lit-dev-content/samples/tutorials/word-viewer/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/word-viewer/tutorial.json @@ -1,45 +1,45 @@ { - "header": "Build a Word Viewer!", - "difficulty": "Beginner", - "size": "small", - "duration": 30, - "category": "Build", - "steps": [ - { - "title": "What you'll build!", - "hasAfter": true - }, - { - "title": "Defining the Word Viewer!", - "hasAfter": true - }, - { - "title": "Passing in properties with attributes!", - "hasAfter": true - }, - { - "title": "One single word at a time!", - "hasAfter": true - }, - { - "title": "Lifecycle and cycling the words!", - "hasAfter": true - }, - { - "title": "Some Styles!", - "hasAfter": true - }, - { - "title": "Some Events!", - "hasAfter": true - }, - { - "title": "Dynamic Styles!", - "hasAfter": true - }, - { - "title": "Conclusion!", - "noSolve": true - } - ] - } + "header": "Build a word viewer!", + "difficulty": "Beginner", + "size": "small", + "duration": 30, + "category": "Build", + "steps": [ + { + "title": "What you'll build!", + "hasAfter": true + }, + { + "title": "Defining the word viewer!", + "hasAfter": true + }, + { + "title": "Passing in properties with attributes!", + "hasAfter": true + }, + { + "title": "One single word at a time!", + "hasAfter": true + }, + { + "title": "Lifecycle and cycling the words!", + "hasAfter": true + }, + { + "title": "Some styles!", + "hasAfter": true + }, + { + "title": "Some events!", + "hasAfter": true + }, + { + "title": "Dynamic styles!", + "hasAfter": true + }, + { + "title": "Conclusion!", + "noSolve": true + } + ] +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/tutorials/working-with-lists/tutorial.json b/packages/lit-dev-content/samples/tutorials/working-with-lists/tutorial.json index 908240d41..c23601c98 100644 --- a/packages/lit-dev-content/samples/tutorials/working-with-lists/tutorial.json +++ b/packages/lit-dev-content/samples/tutorials/working-with-lists/tutorial.json @@ -1,5 +1,5 @@ { - "header": "Working with Lists", + "header": "Working with lists", "difficulty": "Beginner", "size": "small", "duration": 20, diff --git a/packages/lit-dev-content/site/tutorials/tutorials.11tydata.js b/packages/lit-dev-content/site/tutorials/tutorials.11tydata.js index be48a029d..a86526a71 100644 --- a/packages/lit-dev-content/site/tutorials/tutorials.11tydata.js +++ b/packages/lit-dev-content/site/tutorials/tutorials.11tydata.js @@ -66,16 +66,16 @@ module.exports = async () => { const tutorials = await Promise.all([ // Learn loadTutorialData('intro-to-lit', {featured: {position: 0}}), - loadTutorialData('working-with-lists'), + loadTutorialData('working-with-lists', {featured: {position: 1}}), loadTutorialData('reactivity'), - loadTutorialData('custom-attribute-converter', {featured: {position: 2}}), - loadTutorialData('async-directive', {featured: {position: 1}}), + loadTutorialData('custom-attribute-converter'), + loadTutorialData('async-directive'), // Build loadTutorialData('svg-templates'), loadTutorialData('tooltip'), - loadTutorialData('carousel'), + loadTutorialData('carousel', {featured: {position: 2}}), loadTutorialData('word-viewer'), // Draft