This commit is contained in:
parent
0a977a4dc2
commit
814984ad0e
|
@ -1,5 +1,6 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const createMDX = require('@next/mdx');
|
const createMDX = require('@next/mdx');
|
||||||
|
const childProcess = require('child_process');
|
||||||
|
|
||||||
const isProd = process.env.NODE_ENV === 'production';
|
const isProd = process.env.NODE_ENV === 'production';
|
||||||
|
|
||||||
|
@ -7,10 +8,13 @@ const isProd = process.env.NODE_ENV === 'production';
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'export',
|
output: 'export',
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
pageExtensions: [ 'js', 'jsx', 'md', 'mdx', 'ts', 'tsx' ],
|
|
||||||
sassOptions: {
|
sassOptions: {
|
||||||
includePaths: [ path.join(__dirname, 'styles') ]
|
includePaths: [ path.join(__dirname, 'styles') ]
|
||||||
},
|
},
|
||||||
|
generateBuildId: async () => {
|
||||||
|
return childProcess.execSync('git rev-parse HEAD').toString().trim();
|
||||||
|
},
|
||||||
|
pageExtensions: [ 'js', 'jsx', 'md', 'mdx', 'ts', 'tsx' ],
|
||||||
// assetPrefix: isProd ? 'https://raw.theclashfruit.me/flint/website/pages' : undefined
|
// assetPrefix: isProd ? 'https://raw.theclashfruit.me/flint/website/pages' : undefined
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
import styles from '@/styles/Home.module.scss';
|
import styles from '@/styles/Home.module.scss';
|
||||||
|
|
||||||
|
import Button from '@/components/Button';
|
||||||
import Navbar from '@/components/Navbar';
|
import Navbar from '@/components/Navbar';
|
||||||
import ThemeChanger from '@/components/ThemeChanger';
|
import ThemeChanger from '@/components/ThemeChanger';
|
||||||
|
|
||||||
import {
|
|
||||||
Mountain
|
|
||||||
} from 'lucide-react';
|
|
||||||
import Button from '@/components/Button';
|
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
|
27
pages/servers.tsx
Normal file
27
pages/servers.tsx
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
import styles from '@/styles/Servers.module.scss';
|
||||||
|
|
||||||
|
import Navbar from '@/components/Navbar';
|
||||||
|
|
||||||
|
import Head from 'next/head';
|
||||||
|
|
||||||
|
export default function Servers() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<title>Flint • Find a Server</title>
|
||||||
|
</Head>
|
||||||
|
|
||||||
|
<Navbar currentPage="servers" />
|
||||||
|
|
||||||
|
<main className={styles.container}>
|
||||||
|
<section>
|
||||||
|
<h2>Find a Server</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Flint is a federated git platform, meaning that you can host your own server and connect with other servers. Below is a list of servers that you can join.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
1
styles/Servers.module.scss
Normal file
1
styles/Servers.module.scss
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@import 'variables.module';
|
Loading…
Reference in a new issue