Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Move `offline-notice` component to components dir (#331)

Joshua T4661cb67aad8
diff --git a/web/pages/offline-notice.tsx b/web/components/offline-notice.tsx
similarity index 96%
rename from web/pages/offline-notice.tsx
rename to web/components/offline-notice.tsx
index 484bf4ec3b..c074efbe50 100644
--- a/web/pages/offline-notice.tsx
+++ b/web/components/offline-notice.tsx
@@ -8,9 +8,9 @@ import {
import { Card, Col, Row, Typography } from 'antd';
import Link from 'next/link';
import { useContext } from 'react';
-import LogTable from '../components/log-table';
-import OwncastLogo from '../components/logo';
-import NewsFeed from '../components/news-feed';
+import LogTable from './log-table';
+import OwncastLogo from './logo';
+import NewsFeed from './news-feed';
import { ConfigDetails } from '../types/config-section';
import { ServerStatusContext } from '../utils/server-status-context';
diff --git a/web/pages/index.tsx b/web/pages/index.tsx
index a5718d52c2..18b53a5ef5 100644
--- a/web/pages/index.tsx
+++ b/web/pages/index.tsx
@@ -4,7 +4,7 @@ import { UserOutlined, ClockCircleOutlined } from '@ant-design/icons';
import { formatDistanceToNow, formatRelative } from 'date-fns';
import { ServerStatusContext } from '../utils/server-status-context';
import LogTable from '../components/log-table';
-import Offline from './offline-notice';
+import Offline from '../components/offline-notice';
import { LOGS_WARN, fetchData, FETCH_INTERVAL } from '../utils/apis';
import { formatIPAddress, isEmptyObject } from '../utils/format';