Skip to content

Commit 6bf6fed

Browse files
authored
Merge pull request #10 from kerberos-io/Stream-ui
Stream UI
2 parents fa371ec + e89cb65 commit 6bf6fed

File tree

13 files changed

+1340
-45
lines changed

13 files changed

+1340
-45
lines changed

examples/livestream-hd/ui/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@
1313

1414
# misc
1515
.DS_Store
16+
.env
1617
.env.local
1718
.env.development.local
1819
.env.test.local
1920
.env.production.local
2021

22+
/public/assets/env.js
23+
/public/output.css
24+
2125
npm-debug.log*
2226
yarn-debug.log*
2327
yarn-error.log*

examples/livestream-hd/ui/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
"private": true,
55
"dependencies": {
66
"@kerberos-io/ui": "^1.77.0",
7+
"@tailwindcss/cli": "^4.0.1",
78
"@testing-library/jest-dom": "^5.17.0",
89
"@testing-library/react": "^13.4.0",
910
"@testing-library/user-event": "^13.5.0",
11+
"cross-env": "^7.0.3",
1012
"crypto-js": "^4.2.0",
13+
"dotenv": "^16.4.7",
1114
"mqtt": "^5.7.0",
1215
"react": "^18.3.1",
1316
"react-dom": "^18.3.1",
17+
"react-icons": "^5.4.0",
1418
"react-scripts": "5.0.1",
19+
"tailwindcss": "^4.0.1",
1520
"web-vitals": "^2.1.4"
1621
},
1722
"scripts": {
@@ -38,7 +43,5 @@
3843
"last 1 safari version"
3944
]
4045
},
41-
"devDependencies": {
42-
"tailwindcss": "^3.4.17"
43-
}
46+
"devDependencies": {}
4447
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
(function(window) {
2+
window["env"] = window["env"] || {};
3+
window["env"]["svg"] = window["env"]["svg"] || {};
4+
// ICONS
5+
6+
window["env"]["svg"]["plus"] =
7+
`<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24">
8+
<rect width="24" height="24" fill="none" />
9+
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 12h-6m0 0H6m6 0V6m0 6v6" />
10+
</svg>`;
11+
})(this);

examples/livestream-hd/ui/public/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<script src='assets/env.js'></script>
7+
<script src='assets/icons.js'></script>
8+
<link href="./output.css" rel="stylesheet">
69
<meta name="viewport" content="width=device-width, initial-scale=1" />
710
<meta name="theme-color" content="#000000" />
811
<meta

0 commit comments

Comments
 (0)