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 484bf4ec3..c074efbe5 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 a5718d52c..18b53a5ef 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';