Browse Source

Use logo in home page empty state

pull/1886/head
Gabe Kangas 6 years ago
parent
commit
5f1519d722
  1. 6
      web/pages/index.tsx

6
web/pages/index.tsx

@ -23,6 +23,7 @@ import {
FETCH_INTERVAL, FETCH_INTERVAL,
} from "../utils/apis"; } from "../utils/apis";
import { formatIPAddress, isEmptyObject } from "../utils/format"; import { formatIPAddress, isEmptyObject } from "../utils/format";
import OwncastLogo from "./components/logo"
const { Title } = Typography; const { Title } = Typography;
@ -30,7 +31,10 @@ function Offline() {
return ( return (
<div> <div>
<Empty <Empty
image={Empty.PRESENTED_IMAGE_SIMPLE} image={<OwncastLogo />}
imageStyle={{
height: 60,
}}
description={ description={
<span>There is no stream currently active. Start one.</span> <span>There is no stream currently active. Start one.</span>
} }

Loading…
Cancel
Save