Skip to content

Commit 5dd8109

Browse files
examples of using Lion components - still WIP
1 parent 486b566 commit 5dd8109

File tree

3 files changed

+252
-1
lines changed

3 files changed

+252
-1
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,10 @@
3636
"stylelint": "^13.8.0",
3737
"stylelint-a11y": "^1.2.3",
3838
"stylelint-config-standard": "^20.0.0"
39+
},
40+
"dependencies": {
41+
"@lion/button": "^0.14.3",
42+
"@lion/calendar": "^0.16.5",
43+
"@lion/tabs": "^0.9.3"
3944
}
4045
}

src/templates/page.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en" prefix="og:http://ogp.me/ns#">
2+
<html lang="en-GB" prefix="og:http://ogp.me/ns#">
33

44
<head>
55
<meta charset="utf-8">
@@ -11,13 +11,30 @@
1111

1212
<link rel="stylesheet" href="../styles/theme.css"></link>
1313
<link rel="stylesheet" href="../styles/home.css"></link>
14+
15+
<script type="module">
16+
import '@lion/button/define';
17+
import '@lion/calendar/define';
18+
import '@lion/tabs/define';
19+
</script>
1420
</head>
1521

1622
<body>
1723

1824
<div>
1925
<app-header></app-header>
2026

27+
<lion-button>This is a Lion button.</lion-button>
28+
29+
<lion-calendar></lion-calendar>
30+
31+
<lion-tabs>
32+
<button slot="tab">Info</button>
33+
<p slot="panel">Info page with lots of information about us.</p>
34+
<button slot="tab">Work</button>
35+
<p slot="panel">Work page that showcases our work.</p>
36+
</lion-tabs>
37+
2138
<div class='content'>
2239
<content-outlet></content-outlet>
2340
</div>

0 commit comments

Comments
 (0)