Skip to content

Commit 15cb812

Browse files
author
Arthur Evans
authored
Make titles consistently sentence case; set featured tutorials. (#824)
1 parent eb95931 commit 15cb812

File tree

7 files changed

+62
-62
lines changed

7 files changed

+62
-62
lines changed

packages/lit-dev-content/samples/tutorials/async-directive/tutorial.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"header": "Intro to AsyncDirectives",
2+
"header": "Intro to async directives",
33
"difficulty": "Advanced",
44
"size": "small",
55
"duration": 30,
66
"category": "Learn",
77
"steps": [
88
{
9-
"title": "Introduction to AsyncDirective",
9+
"title": "Introduction",
1010
"noSolve": true
1111
},
1212
{
@@ -42,4 +42,4 @@
4242
"hasAfter": true
4343
}
4444
]
45-
}
45+
}

packages/lit-dev-content/samples/tutorials/carousel/tutorial.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header": "Build an Animated Carousel Element",
2+
"header": "Build an animated carousel element",
33
"difficulty": "Intermediate",
44
"size": "small",
55
"duration": 30,
@@ -40,4 +40,4 @@
4040
"noSolve": true
4141
}
4242
]
43-
}
43+
}

packages/lit-dev-content/samples/tutorials/reactivity/tutorial.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"category": "Learn",
77
"steps": [
88
{
9-
"title": "Reactivity",
9+
"title": "Introduction",
1010
"noSolve": true
1111
},
1212
{
@@ -34,4 +34,4 @@
3434
"hasAfter": true
3535
}
3636
]
37-
}
37+
}

packages/lit-dev-content/samples/tutorials/tooltip/tutorial.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"header": "Build a Tooltip Element",
2+
"header": "Build a tooltip element",
33
"difficulty": "Advanced",
44
"size": "small",
55
"duration": 30,
66
"category": "Build",
77
"steps": [
88
{
9-
"title": "Build a Tooltip Element",
9+
"title": "Introduction",
1010
"noSolve": true
1111
},
1212
{
@@ -22,22 +22,22 @@
2222
"title": "Positioning"
2323
},
2424
{
25-
"title": "Better Positioning"
25+
"title": "Better positioning"
2626
},
2727
{
2828
"title": "Animation"
2929
},
3030
{
31-
"title": "Lazy Creation",
31+
"title": "Lazy creation",
3232
"hasAfter": true
3333
},
3434
{
35-
"title": "Using a Directive",
35+
"title": "Using a directive",
3636
"hasAfter": true
3737
},
3838
{
3939
"title": "Congratulations!",
4040
"noSolve": true
4141
}
4242
]
43-
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"header": "Build a Word Viewer!",
3-
"difficulty": "Beginner",
4-
"size": "small",
5-
"duration": 30,
6-
"category": "Build",
7-
"steps": [
8-
{
9-
"title": "What you'll build!",
10-
"hasAfter": true
11-
},
12-
{
13-
"title": "Defining the Word Viewer!",
14-
"hasAfter": true
15-
},
16-
{
17-
"title": "Passing in properties with attributes!",
18-
"hasAfter": true
19-
},
20-
{
21-
"title": "One single word at a time!",
22-
"hasAfter": true
23-
},
24-
{
25-
"title": "Lifecycle and cycling the words!",
26-
"hasAfter": true
27-
},
28-
{
29-
"title": "Some Styles!",
30-
"hasAfter": true
31-
},
32-
{
33-
"title": "Some Events!",
34-
"hasAfter": true
35-
},
36-
{
37-
"title": "Dynamic Styles!",
38-
"hasAfter": true
39-
},
40-
{
41-
"title": "Conclusion!",
42-
"noSolve": true
43-
}
44-
]
45-
}
2+
"header": "Build a word viewer!",
3+
"difficulty": "Beginner",
4+
"size": "small",
5+
"duration": 30,
6+
"category": "Build",
7+
"steps": [
8+
{
9+
"title": "What you'll build!",
10+
"hasAfter": true
11+
},
12+
{
13+
"title": "Defining the word viewer!",
14+
"hasAfter": true
15+
},
16+
{
17+
"title": "Passing in properties with attributes!",
18+
"hasAfter": true
19+
},
20+
{
21+
"title": "One single word at a time!",
22+
"hasAfter": true
23+
},
24+
{
25+
"title": "Lifecycle and cycling the words!",
26+
"hasAfter": true
27+
},
28+
{
29+
"title": "Some styles!",
30+
"hasAfter": true
31+
},
32+
{
33+
"title": "Some events!",
34+
"hasAfter": true
35+
},
36+
{
37+
"title": "Dynamic styles!",
38+
"hasAfter": true
39+
},
40+
{
41+
"title": "Conclusion!",
42+
"noSolve": true
43+
}
44+
]
45+
}

packages/lit-dev-content/samples/tutorials/working-with-lists/tutorial.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"header": "Working with Lists",
2+
"header": "Working with lists",
33
"difficulty": "Beginner",
44
"size": "small",
55
"duration": 20,

packages/lit-dev-content/site/tutorials/tutorials.11tydata.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ module.exports = async () => {
6666
const tutorials = await Promise.all([
6767
// Learn
6868
loadTutorialData('intro-to-lit', {featured: {position: 0}}),
69-
loadTutorialData('working-with-lists'),
69+
loadTutorialData('working-with-lists', {featured: {position: 1}}),
7070
loadTutorialData('reactivity'),
71-
loadTutorialData('custom-attribute-converter', {featured: {position: 2}}),
72-
loadTutorialData('async-directive', {featured: {position: 1}}),
71+
loadTutorialData('custom-attribute-converter'),
72+
loadTutorialData('async-directive'),
7373

7474

7575
// Build
7676
loadTutorialData('svg-templates'),
7777
loadTutorialData('tooltip'),
78-
loadTutorialData('carousel'),
78+
loadTutorialData('carousel', {featured: {position: 2}}),
7979
loadTutorialData('word-viewer'),
8080

8181
// Draft

0 commit comments

Comments
 (0)