Skip to content

Commit 381119c

Browse files
[feature] add Learn catalog page at lit.dev/learn (#1160)
1 parent 683fc32 commit 381119c

39 files changed

+1555
-9430
lines changed

package-lock.json

Lines changed: 971 additions & 9428 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
}
6262
},
6363
"devDependencies": {
64-
"playground-elements": "^0.18.1",
64+
"gray-matter": "^4.0.3",
65+
"playground-elements": "^0.18.0",
6566
"prettier": "^2.1.2",
6667
"typescript": "~4.7.4",
6768
"wireit": "^0.14.0"

packages/lit-dev-content/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@
197197
"@lit-labs/motion": "^1.0.1",
198198
"@lit-labs/react": "^1.0.8",
199199
"@lit-labs/task": "^3.0.2",
200-
"@lit/localize": "^0.10.0",
201200
"@lit/context": "^1.0.0 || 1.0.0-pre.0",
201+
"@lit/localize": "^0.10.0",
202202
"@lit/react": "^1.0.0 || 1.0.0-pre.0",
203203
"@lit/task": "^1.0.0 || 1.0.0-pre.0",
204204
"@material/mwc-button": "^0.27.0",
@@ -208,6 +208,7 @@
208208
"@material/mwc-formfield": "^0.27.0",
209209
"@material/mwc-snackbar": "^0.27.0",
210210
"@material/mwc-textfield": "^0.27.0",
211+
"@material/web": "^1.0.1",
211212
"@webcomponents/template-shadowroot": "^0.2.1",
212213
"algoliasearch": "^4.14.2",
213214
"lit": "^2.7.4",

packages/lit-dev-content/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default [
4848
'lib/global/hydrate-common-components.js',
4949
'lib/pages/docs.js',
5050
'lib/pages/home.js',
51+
'lib/pages/learn.js',
5152
'lib/pages/home-components.js',
5253
'lib/pages/playground-inline.js',
5354
],

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 30,
66
"category": "Learn",
7+
"date": "2022-05-13",
78
"steps": [
89
{
910
"title": "Introduction",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 30,
66
"category": "Build",
7+
"date": "2022-04-29",
78
"steps": [
89
{
910
"title": "Introduction",

packages/lit-dev-content/samples/tutorials/custom-attribute-converter/tutorial.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 16,
66
"category": "Learn",
7+
"date": "2022-05-22",
78
"steps": [
89
{
910
"title": "Custom attribute converters",

packages/lit-dev-content/samples/tutorials/intro-to-lit/tutorial.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 20,
66
"category": "Learn",
7+
"date": "2023-08-01",
78
"steps": [
89
{
910
"title": "Introduction",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 20,
66
"category": "Learn",
7+
"date": "2022-05-06",
78
"steps": [
89
{
910
"title": "Introduction",

packages/lit-dev-content/samples/tutorials/svg-templates/tutorial.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"size": "small",
55
"duration": 45,
66
"category": "Build",
7+
"date": "2022-05-05",
78
"steps": [
89
{
910
"title": "Pattern making with SVG",

0 commit comments

Comments
 (0)