Skip to content

Commit

Permalink
add redirect to shs livestreams
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-0 committed Jan 23, 2024
1 parent 5bca247 commit 667f66f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Code:RouteComponent = () => import('@/views/Code/Code.vue');
const QRCode:RouteComponent = () => import('@/views/QRCodes/QRCodes.vue');
const GetHelp:RouteComponent = () => import('@/views/GetHelp/GetHelp.vue');
const Jukebox: RouteComponent = () => import('@/views/Jukebox/Jukebox.vue');

const LiveRedirect: RouteComponent = () => import('@/views/Live/Live.vue'); // redirect to shs youtube livestreams

type EditScheduleProps = {
scheduleToEdit: string;
Expand Down Expand Up @@ -103,6 +103,11 @@ const routes: Array<RouteRecordRaw> = [
path: '/jukebox',
component: Jukebox,
},
{
name: 'Live',
path: '/live',
component: LiveRedirect,
},
];

const router = createRouter({
Expand Down
7 changes: 7 additions & 0 deletions src/views/Live/Live.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
export default {
mounted() {
window.location.href = 'https://youtube.com/@stevensonpatriotathletics6955?/live';
},
};
</script>

0 comments on commit 667f66f

Please sign in to comment.