From 59f63e5438c057fa7af2b10b57584f4eb38ff8d0 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 16 Nov 2020 14:19:15 -0800 Subject: [PATCH] Rename sidebar items. Give admin a title. Link to app favicon. --- web/pages/components/main-layout.tsx | 14 ++++++++++---- web/pages/index.tsx | 6 +----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/web/pages/components/main-layout.tsx b/web/pages/components/main-layout.tsx index 64070873e..14912c882 100644 --- a/web/pages/components/main-layout.tsx +++ b/web/pages/components/main-layout.tsx @@ -1,6 +1,7 @@ import React, { useContext, useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import Link from 'next/link'; +import Head from 'next/head' import { differenceInSeconds } from "date-fns"; import { useRouter } from 'next/router'; import { Layout, Menu, Popover } from 'antd'; @@ -74,6 +75,11 @@ export default function MainLayout(props) { return ( + + Owncast Admin + + + Viewers - {online ? ( + {/* {online ? ( }> Disconnect Stream... - ) : null} + ) : null} */} } > - Server Configuration + Server - Video Configuration + Video Storage diff --git a/web/pages/index.tsx b/web/pages/index.tsx index 09cc711eb..cdb5242d5 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -101,12 +101,8 @@ export default function Home() { const broadcastDate = new Date(broadcaster.time); return ( -
- Stream Overview - +
- -