mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-12 02:47:28 -05:00
chore: move to src folder
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
import { getLocaleList } from './utils/locale.js';
|
||||
import { getLocaleList } from './src/utils/locale.js';
|
||||
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
|
||||
@@ -17,10 +17,10 @@ import styles from './index.module.css';
|
||||
|
||||
import { useRouter } from 'next/router';
|
||||
|
||||
import juxtImage from '../public/assets/images/showcase/juxt.png';
|
||||
import networkImage from '../public/assets/images/showcase/network.png';
|
||||
import pcmouseImage from '../public/assets/images/showcase/pcmouse.png';
|
||||
import wiiuchatImage from '../public/assets/images/showcase/wiiuchat.png';
|
||||
import juxtImage from '../../public/assets/images/showcase/juxt.png';
|
||||
import networkImage from '../../public/assets/images/showcase/network.png';
|
||||
import pcmouseImage from '../../public/assets/images/showcase/pcmouse.png';
|
||||
import wiiuchatImage from '../../public/assets/images/showcase/wiiuchat.png';
|
||||
|
||||
const showcaseImages = {
|
||||
juxt: juxtImage,
|
||||
@@ -44,7 +44,7 @@ export default function Home({ locale }) {
|
||||
return (
|
||||
<main>
|
||||
<Section>
|
||||
<Hero />
|
||||
{/*<Hero />*/}
|
||||
</Section>
|
||||
|
||||
<div id="showcase">
|
||||
@@ -186,10 +186,6 @@ export default function Home({ locale }) {
|
||||
{locale.discordJoin.widget.text}
|
||||
</ButtonWidget>
|
||||
</Section>
|
||||
|
||||
<Footer>
|
||||
|
||||
</Footer>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
@@ -2,7 +2,7 @@ import fs from 'fs-extra';
|
||||
import merge from 'lodash.merge';
|
||||
import logger from './logger.js';
|
||||
|
||||
import baseLocale from '../locales/en_US.json' assert {type: 'json'};
|
||||
import baseLocale from '../../locales/en_US.json' assert {type: 'json'};
|
||||
|
||||
function getLocale(code) {
|
||||
const localeCode = code.replace('-', '_');
|
||||
@@ -1,7 +1,7 @@
|
||||
import fs from 'fs-extra';
|
||||
import chalk from 'chalk';
|
||||
|
||||
const base = './logs';
|
||||
const base = '../../logs';
|
||||
fs.ensureDirSync(base);
|
||||
|
||||
const writeStreams = {
|
||||
Reference in New Issue
Block a user