diff --git a/frontend/src/components/CourseCard.vue b/frontend/src/components/CourseCard.vue
index 60261c75..4c1b85ab 100644
--- a/frontend/src/components/CourseCard.vue
+++ b/frontend/src/components/CourseCard.vue
@@ -84,7 +84,7 @@
+
{{ course.lessons }} {{ __('lessons') }}
@@ -99,11 +99,6 @@
-
-
- {{ Math.ceil(course.membership.progress) }}% {{ __('completed') }}
-
-
@@ -123,9 +118,15 @@
/>
-
+
-
+
+ {{ Math.ceil(course.membership.progress) }}%
+
+
{{ course.price }}
+
+
+
+
+
+
+
+ LIVE
+
+
+ OFFLINE
+
+
+
+
+
+
+
+
+
+
{{ channelDisplay }}
+
+
+
+
+
+
+ {{ __('Open') }}
+
+
+
+
+
+
+
+
+
+
{{ __('Stream channel not configured') }}
+
{{ __('Set channel prop to a Twitch or YouTube channel') }}
+
+
+
+
+
+
diff --git a/frontend/src/pages/Home/AdminHome.vue b/frontend/src/pages/Home/AdminHome.vue
index 34dea43f..a652cba6 100644
--- a/frontend/src/pages/Home/AdminHome.vue
+++ b/frontend/src/pages/Home/AdminHome.vue
@@ -1,13 +1,15 @@
-
+
-
- {{ __('Audio') }}
-
-
@@ -193,17 +195,14 @@ import {
import { formatTime } from '@/utils'
import CourseCard from '@/components/CourseCard.vue'
import BatchCard from '@/pages/Batches/components/BatchCard.vue'
-import AudioPlayer from '@/components/AudioPlayer.vue'
+import StreamEmbed from '@/components/StreamEmbed.vue'
-// Плейлист — замените src на реальные ссылки на аудиофайлы
-const audioTracks = ref([
- {
- title: 'Добро пожаловать',
- artist: 'ИМО Online',
- src: '',
- durationLabel: '',
- },
-])
+// Настройки стрима — укажи platform и channel
+const streamConfig = ref({
+ platform: 'twitch' as 'twitch' | 'youtube',
+ channel: '', // например: 'imo_online' для Twitch или video ID для YouTube
+ isLive: false,
+})
const user = inject
('$user')
const dayjs = inject('$dayjs')