0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-27 07:23:09 +00:00

fix file imports

This commit is contained in:
Víctor Losada Hernández
2026-01-23 17:18:03 +01:00
parent eb9fc4487c
commit b72e5b9172
7 changed files with 16 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
import diceFont from 'themes/fonts/iconFonts/diceFont.js';
import elderberryInn from 'themes/fonts/iconFonts/elderberryInn.js';
import fontAwesome from 'themes/fonts/iconFonts/fontAwesome.js';
import gameIcons from 'themes/fonts/iconFonts/gameIcons.js';
import diceFont from './themes/fonts/iconFonts/diceFont.js';
import elderberryInn from './themes/fonts/iconFonts/elderberryInn.js';
import fontAwesome from './themes/fonts/iconFonts/fontAwesome.js';
import gameIcons from './themes/fonts/iconFonts/gameIcons.js';
const emojis = {
...diceFont,

View File

@@ -13,7 +13,7 @@ import RenderWarnings from 'client/components/renderWarnings/renderWarnings.jsx'
import NotificationPopup from './notificationPopup/notificationPopup.jsx';
import Frame from 'react-frame-component';
import dedent from 'dedent-tabs';
import { printCurrentBrew } from '../../../shared/helpers.js';
import { printCurrentBrew } from './shared/helpers.js';
import HeaderNav from './headerNav/headerNav.jsx';
import { safeHTML } from './safeHTML.js';

View File

@@ -4,9 +4,9 @@ import React from 'react';
import createReactClass from 'create-react-class';
import _ from 'lodash';
import dedent from 'dedent-tabs';
import Markdown from '../../../shared/markdown.js';
import Markdown from './shared/markdown.js';
import CodeEditor from 'client/components/codeEditor/codeEditor.jsx';
import CodeEditor from '../../components/codeEditor/codeEditor.jsx';
import SnippetBar from './snippetbar/snippetbar.jsx';
import MetadataEditor from './metadataEditor/metadataEditor.jsx';

View File

@@ -8,7 +8,7 @@ import Combobox from 'client/components/combobox.jsx';
import TagInput from '../tagInput/tagInput.jsx';
import Themes from 'themes/themes.json';
import Themes from './themes/themes.json';
import validations from './validations.js';
const SYSTEMS = ['5e', '4e', '3.5e', 'Pathfinder'];

View File

@@ -7,13 +7,13 @@ import _ from 'lodash';
import cx from 'classnames';
import { loadHistory } from '../../utils/versionHistory.js';
import { brewSnippetsToJSON } from '../../../../shared/helpers.js';
import { brewSnippetsToJSON } from './shared/helpers.js';
import Legacy5ePHB from 'themes/Legacy/5ePHB/snippets.js';
import V3_5ePHB from 'themes/V3/5ePHB/snippets.js';
import V3_5eDMG from 'themes/V3/5eDMG/snippets.js';
import V3_Journal from 'themes/V3/Journal/snippets.js';
import V3_Blank from 'themes/V3/Blank/snippets.js';
import Legacy5ePHB from './themes/Legacy/5ePHB/snippets.js';
import V3_5ePHB from './themes/V3/5ePHB/snippets.js';
import V3_5eDMG from './themes/V3/5eDMG/snippets.js';
import V3_Journal from './themes/V3/Journal/snippets.js';
import V3_Blank from './themes/V3/Blank/snippets.js';
const ThemeSnippets = {
Legacy_5ePHB : Legacy5ePHB,

View File

@@ -4,7 +4,7 @@ import './homePage.less';
// Common imports
import React, { useState, useEffect, useRef } from 'react';
import request from '../../utils/request-middleware.js';
import Markdown from '../../../../shared/naturalcrit/markdown.js';
import Markdown from '../../../../shared/markdown.js';
import _ from 'lodash';
import { DEFAULT_BREW } from '../../../../server/brewDefaults.js';
@@ -27,7 +27,7 @@ const { both: RecentNavItem } = RecentNavItems;
// Page specific imports
import { Meta } from 'vitreum/headtags';
import { Meta } from 'vitreum/headtags';
const BREWKEY = 'homebrewery-new';
const STYLEKEY = 'homebrewery-new-style';