Browse Source

notes

pull/1886/head
gingervitis 6 years ago committed by Gabe Kangas
parent
commit
48aea8024e
  1. 1
      web/pages/_app.tsx
  2. 6
      web/pages/update-server-config.tsx

1
web/pages/_app.tsx

@ -5,6 +5,7 @@ import '../styles/globals.scss'; @@ -5,6 +5,7 @@ import '../styles/globals.scss';
// GW: I can't override ant design styles through components using NextJS's built-in CSS modules. So I'll just import styles here for now and figure out enabling SASS modules later.
import '../styles/home.scss';
import '../styles/chat.scss';
import '../styles/config.scss';
import { AppProps } from 'next/app';
import ServerStatusProvider from '../utils/server-status-context';

6
web/pages/update-server-config.tsx

@ -3,11 +3,15 @@ import { Table, Typography, Input } from 'antd'; @@ -3,11 +3,15 @@ import { Table, Typography, Input } from 'antd';
import { isEmptyObject } from '../utils/format';
import KeyValueTable from "./components/key-value-table";
import { ServerStatusContext } from '../utils/server-status-context';
import PublicFacingDetails from './components/config/public-facing-details';
import adminStyles from '../styles/styles.module.scss';
const { Title } = Typography;
const { TextArea } = Input;
function SocialHandles({ config }) {
if (!config) {
return null;
@ -130,6 +134,8 @@ export default function ServerConfig() { @@ -130,6 +134,8 @@ export default function ServerConfig() {
return (
<>
<PublicFacingDetails />
<InstanceDetails config={config} />
<SocialHandles config={config} />
<PageContent config={config} />

Loading…
Cancel
Save