mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
feat: update 404 page (#3580)
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@mui/material": "^5.14.2",
|
"@mui/material": "^5.14.2",
|
||||||
"@react-hookz/web": "^23.1.0",
|
"@react-hookz/web": "^23.1.0",
|
||||||
|
"@toeverything/components": "^0.0.6",
|
||||||
"async-call-rpc": "^6.3.1",
|
"async-call-rpc": "^6.3.1",
|
||||||
"cmdk": "^0.2.0",
|
"cmdk": "^0.2.0",
|
||||||
"css-spring": "^4.1.0",
|
"css-spring": "^4.1.0",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import '@affine/component/theme/global.css';
|
import '@affine/component/theme/global.css';
|
||||||
import '@affine/component/theme/theme.css';
|
import '@affine/component/theme/theme.css';
|
||||||
|
import '@toeverything/components/style.css';
|
||||||
|
|
||||||
import { AffineContext } from '@affine/component/context';
|
import { AffineContext } from '@affine/component/context';
|
||||||
import { WorkspaceFallback } from '@affine/component/workspace';
|
import { WorkspaceFallback } from '@affine/component/workspace';
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { Button, displayFlex, styled } from '@affine/component';
|
import { displayFlex, styled } from '@affine/component';
|
||||||
import { WorkspaceSubPath } from '@affine/env/workspace';
|
import { WorkspaceSubPath } from '@affine/env/workspace';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
|
import { Button } from '@toeverything/components/button';
|
||||||
import type { ReactElement } from 'react';
|
import type { ReactElement } from 'react';
|
||||||
|
|
||||||
import { useNavigateHelper } from '../hooks/use-navigate-helper';
|
import { useNavigateHelper } from '../hooks/use-navigate-helper';
|
||||||
|
|||||||
@@ -8,14 +8,15 @@
|
|||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"module": "esnext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
|
"moduleResolution": "bundler",
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"jsxImportSource": "@emotion/react",
|
"jsxImportSource": "@emotion/react",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
"typeRoots": ["../../node_modules", "../../node_modules/@types"],
|
||||||
"types": ["webpack-env", "ses"]
|
"types": ["webpack-env", "ses"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
||||||
|
|||||||
@@ -169,5 +169,11 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"files": [],
|
"files": [],
|
||||||
"exclude": ["node_modules", "target", "lib", "test-results"]
|
"exclude": ["node_modules", "target", "lib", "test-results"],
|
||||||
|
"ts-node": {
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Node"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
17
yarn.lock
17
yarn.lock
@@ -235,6 +235,7 @@ __metadata:
|
|||||||
"@sentry/webpack-plugin": ^2.5.0
|
"@sentry/webpack-plugin": ^2.5.0
|
||||||
"@svgr/webpack": ^8.0.1
|
"@svgr/webpack": ^8.0.1
|
||||||
"@swc/core": ^1.3.71
|
"@swc/core": ^1.3.71
|
||||||
|
"@toeverything/components": ^0.0.6
|
||||||
"@types/webpack-env": ^1.18.1
|
"@types/webpack-env": ^1.18.1
|
||||||
async-call-rpc: ^6.3.1
|
async-call-rpc: ^6.3.1
|
||||||
cmdk: ^0.2.0
|
cmdk: ^0.2.0
|
||||||
@@ -3403,7 +3404,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@blocksuite/icons@npm:^2.1.29":
|
"@blocksuite/icons@npm:^2.1.26, @blocksuite/icons@npm:^2.1.29":
|
||||||
version: 2.1.29
|
version: 2.1.29
|
||||||
resolution: "@blocksuite/icons@npm:2.1.29"
|
resolution: "@blocksuite/icons@npm:2.1.29"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -11350,6 +11351,20 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@toeverything/components@npm:^0.0.6":
|
||||||
|
version: 0.0.6
|
||||||
|
resolution: "@toeverything/components@npm:0.0.6"
|
||||||
|
dependencies:
|
||||||
|
"@blocksuite/icons": ^2.1.26
|
||||||
|
peerDependencies:
|
||||||
|
"@radix-ui/react-avatar": ^1
|
||||||
|
clsx: ^2
|
||||||
|
react: ^18
|
||||||
|
react-dom: ^18
|
||||||
|
checksum: 838bcbecda4eea29c949aa241c99f5512b7d248163156979af93cc70aff396f5ea1087c5e0ea7bee09a964e2960cd9977b065a306bf61cc04894560af6bc166a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@toeverything/hooks@workspace:*, @toeverything/hooks@workspace:packages/hooks":
|
"@toeverything/hooks@workspace:*, @toeverything/hooks@workspace:packages/hooks":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@toeverything/hooks@workspace:packages/hooks"
|
resolution: "@toeverything/hooks@workspace:packages/hooks"
|
||||||
|
|||||||
Reference in New Issue
Block a user