Skip to content

Commit b66aba4

Browse files
committed
[migrate] Staticify Example page with SSG wrappers
[optimize] Folder structure & Library modules
1 parent 447203f commit b66aba4

27 files changed

Lines changed: 155 additions & 117 deletions

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
README.md
22
node_modules/
3-
.eslintrc.json
3+
eslint.config.ts
44
.next/
55
.vercel/
66
start.sh

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
/coverage
1010

1111
# next.js
12+
next-env.d.ts
1213
/.next/
1314
/out/
14-
next-env.d.ts
1515

1616
# PWA
1717
public/sw.js

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-slim AS base
1+
FROM node:24-slim AS base
22
RUN apt-get update && \
33
apt-get install ca-certificates curl libjemalloc-dev -y --no-install-recommends && \
44
rm -rf /var/lib/apt/lists/*
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import List from '@editorjs/list';
66
import Quote from '@editorjs/quote';
77
import { Editor as Core, EditorProps } from 'idea-react';
88

9-
import { upload } from '../models/Base';
9+
import { upload } from '../../models/Base';
1010

1111
async function uploadByFile(file: File) {
1212
try {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from 'react-bootstrap-editor';
1111
import { Constructor } from 'web-utility';
1212

13-
import { upload } from '../models/Base';
13+
import { upload } from '../../models/Base';
1414

1515
const ExcludeTools = [IFrameTool, AudioTool, VideoTool];
1616

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { observer } from 'mobx-react';
22
import { ErrorProps } from 'next/error';
33
import { FC, useContext } from 'react';
44

5-
import { I18nContext } from '../models/Translation';
5+
import { I18nContext } from '../../models/Translation';
66

77
export const NotFoundCard: FC<ErrorProps> = observer(({ title }) => {
88
const { currentLanguage } = useContext(I18nContext);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Head from 'next/head';
22
import type { FC, PropsWithChildren } from 'react';
33

4-
import { Name, Summary } from '../models/configuration';
4+
import { Name, Summary } from '../../models/configuration';
55

66
export type PageHeadProps = PropsWithChildren<{
77
title?: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Option, Select } from 'idea-react';
22
import { observer } from 'mobx-react';
33
import { FC, useContext } from 'react';
44

5-
import { I18nContext, LanguageName } from '../models/Translation';
5+
import { I18nContext, LanguageName } from '../../models/Translation';
66

77
const LanguageMenu: FC = observer(() => {
88
const i18n = useContext(I18nContext);
File renamed without changes.

0 commit comments

Comments
 (0)