♻️ refactor(core): Restructure project for better module separation
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { env } from 'next-runtime-env';
|
||||
import i18nConfig from '../.i18nrc.json';
|
||||
import packageJSON from '../package.json';
|
||||
|
||||
export const locales = i18nConfig.outputLocales;
|
||||
export const locales = packageJSON.i18n.outputLocales;
|
||||
export const defaultLocale = packageJSON.i18n.entry;
|
||||
|
||||
export const NEXT_PUBLIC_DEFAULT_LANGUAGE = env('NEXT_PUBLIC_DEFAULT_LANGUAGE') || locales[0];
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,12 +0,0 @@
|
||||
import localFont from 'next/font/local';
|
||||
|
||||
export const geistSans = localFont({
|
||||
src: './GeistVF.woff',
|
||||
variable: '--font-geist-sans',
|
||||
weight: '100 900',
|
||||
});
|
||||
export const geistMono = localFont({
|
||||
src: './GeistMonoVF.woff',
|
||||
variable: '--font-geist-mono',
|
||||
weight: '100 900',
|
||||
});
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NEXT_PUBLIC_API_URL, NEXT_PUBLIC_SITE_URL } from '@/config/constants';
|
||||
import { queryUserInfo } from '@/services/user/user';
|
||||
import { extractDomain } from '@repo/ui/utils';
|
||||
import { extractDomain } from '@workspace/ui/utils';
|
||||
import { create } from 'zustand';
|
||||
|
||||
export interface GlobalStore {
|
||||
|
||||
Reference in New Issue
Block a user