Browse Source

fix for #408

pull/1886/head
gingervitis 6 years ago
parent
commit
cd1eadebc1
  1. 1
      web/pages/index.tsx
  2. 8
      web/pages/offline-notice.tsx

1
web/pages/index.tsx

@ -182,7 +182,6 @@ export default function Home() {
</div> </div>
</div> </div>
</div> </div>
<LogTable logs={logsData} pageSize={5} /> <LogTable logs={logsData} pageSize={5} />
</div> </div>
); );

8
web/pages/offline-notice.tsx

@ -1,10 +1,8 @@
import { Result, Card, Typography } from "antd"; import { Result, Card } from "antd";
import { MessageTwoTone, BulbTwoTone, BookTwoTone, PlaySquareTwoTone } from '@ant-design/icons'; import { MessageTwoTone, BulbTwoTone, BookTwoTone, PlaySquareTwoTone } from '@ant-design/icons';
import OwncastLogo from "./components/logo" import OwncastLogo from "./components/logo"
import LogTable from "./components/log-table"; import LogTable from "./components/log-table";
const { Title } = Typography;
const { Meta } = Card; const { Meta } = Card;
export default function Offline({ logs = [] }) { export default function Offline({ logs = [] }) {
@ -47,6 +45,7 @@ export default function Offline({ logs = [] }) {
]; ];
return ( return (
<>
<div className="offline-content"> <div className="offline-content">
<div className="logo-section"> <div className="logo-section">
<Result <Result
@ -69,7 +68,8 @@ export default function Offline({ logs = [] }) {
} }
</div> </div>
<LogTable logs={logs} pageSize={5} />
</div> </div>
<LogTable logs={logs} pageSize={5} />
</>
); );
} }

Loading…
Cancel
Save