cofaideveloper commited on
Commit
45fd1bd
1 Parent(s): e4e9fbf

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +9 -9
public/index.html CHANGED
@@ -1,6 +1,6 @@
1
  <html>
2
  <head>
3
- <title>AI Web TV 🤗</title>
4
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />
5
  <!--<link href="https://vjs.zencdn.net/8.3.0/video-js.css" rel="stylesheet" />-->
6
  <script src="/mpegts.js"></script>
@@ -8,7 +8,7 @@
8
  <body
9
  x-data="app()" x-init="init()"
10
  class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-start">
11
- <div x-show="!enabled">Loading WebTV..</div>
12
 
13
  <div
14
  x-show="enabled && showToolbar"
@@ -22,8 +22,8 @@
22
  style="text-shadow: 0px 0px 3px #000000">
23
 
24
  <div class="flex text-xl space-x-2">
25
- <div class="text-xl">🤗 AI WebTV</div>
26
- <div class="text-md">👉 Current channel:</div>
27
  <template x-for="chan in channels">
28
  <div
29
  class="text-xl mr-2"
@@ -44,7 +44,7 @@
44
  <svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 640 512"><path fill="currentColor" d="M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z"/></svg>
45
  </div>
46
  <div x-text="channel.audience"></div>
47
- <div x-text="channel.audience > 1 ? 'viewers' : 'viewer'"></div>
48
  </div>
49
 
50
  <div class="text-sm">(<a
@@ -122,7 +122,7 @@ function app() {
122
  */
123
  random: {
124
  id: 'random',
125
- label: '#random',
126
  audience: 0,
127
  online: false,
128
  visible: true,
@@ -133,7 +133,7 @@ function app() {
133
  },
134
  comedy: {
135
  id: 'comedy',
136
- label: '#comedy',
137
  audience: 0,
138
  online: false,
139
  visible: true,
@@ -144,7 +144,7 @@ function app() {
144
  },
145
  documentary: {
146
  id: 'documentary',
147
- label: '#documentary',
148
  audience: 0,
149
  online: false,
150
  visible: true,
@@ -217,7 +217,7 @@ function app() {
217
  return
218
  }
219
  this.initialized = true
220
- console.log('initializing WebTV..')
221
 
222
  const urlParams = new URLSearchParams(window.location.search)
223
 
 
1
  <html>
2
  <head>
3
+ <title>☕ CofTV</title>
4
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />
5
  <!--<link href="https://vjs.zencdn.net/8.3.0/video-js.css" rel="stylesheet" />-->
6
  <script src="/mpegts.js"></script>
 
8
  <body
9
  x-data="app()" x-init="init()"
10
  class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-start">
11
+ <div x-show="!enabled">Loading CofTV...</div>
12
 
13
  <div
14
  x-show="enabled && showToolbar"
 
22
  style="text-shadow: 0px 0px 3px #000000">
23
 
24
  <div class="flex text-xl space-x-2">
25
+ <div class="text-xl">☕ CofTV </div>
26
+ <div class="text-md">👉 Текущий канал:</div>
27
  <template x-for="chan in channels">
28
  <div
29
  class="text-xl mr-2"
 
44
  <svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 640 512"><path fill="currentColor" d="M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z"/></svg>
45
  </div>
46
  <div x-text="channel.audience"></div>
47
+ <div x-text="channel.audience > 1 ? '🟢 Онлайн' : 'viewer'"></div>
48
  </div>
49
 
50
  <div class="text-sm">(<a
 
122
  */
123
  random: {
124
  id: 'random',
125
+ label: 'Главный',
126
  audience: 0,
127
  online: false,
128
  visible: true,
 
133
  },
134
  comedy: {
135
  id: 'comedy',
136
+ label: 'Интересный',
137
  audience: 0,
138
  online: false,
139
  visible: true,
 
144
  },
145
  documentary: {
146
  id: 'documentary',
147
+ label: 'Документальный',
148
  audience: 0,
149
  online: false,
150
  visible: true,
 
217
  return
218
  }
219
  this.initialized = true
220
+ console.log('Иницилизация CofTV')
221
 
222
  const urlParams = new URLSearchParams(window.location.search)
223