feat: update 404 page (#3580)

Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
This commit is contained in:
Alex Yang
2023-08-04 16:11:30 -07:00
committed by GitHub
parent f076cb0ead
commit ea76936508
6 changed files with 30 additions and 5 deletions

View File

@@ -33,6 +33,7 @@
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.14.2",
"@react-hookz/web": "^23.1.0",
"@toeverything/components": "^0.0.6",
"async-call-rpc": "^6.3.1",
"cmdk": "^0.2.0",
"css-spring": "^4.1.0",

View File

@@ -1,5 +1,6 @@
import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css';
import '@toeverything/components/style.css';
import { AffineContext } from '@affine/component/context';
import { WorkspaceFallback } from '@affine/component/workspace';

View File

@@ -1,6 +1,7 @@
import { Button, displayFlex, styled } from '@affine/component';
import { displayFlex, styled } from '@affine/component';
import { WorkspaceSubPath } from '@affine/env/workspace';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { Button } from '@toeverything/components/button';
import type { ReactElement } from 'react';
import { useNavigateHelper } from '../hooks/use-navigate-helper';

View File

@@ -8,14 +8,15 @@
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"module": "ESNext",
"resolveJsonModule": true,
"isolatedModules": true,
"moduleResolution": "bundler",
"jsx": "preserve",
"jsxImportSource": "@emotion/react",
"incremental": true,
"experimentalDecorators": true,
"typeRoots": ["../../node_modules", "../../node_modules/@types"],
"types": ["webpack-env", "ses"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],

View File

@@ -169,5 +169,11 @@
}
],
"files": [],
"exclude": ["node_modules", "target", "lib", "test-results"]
"exclude": ["node_modules", "target", "lib", "test-results"],
"ts-node": {
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node"
}
}
}

View File

@@ -235,6 +235,7 @@ __metadata:
"@sentry/webpack-plugin": ^2.5.0
"@svgr/webpack": ^8.0.1
"@swc/core": ^1.3.71
"@toeverything/components": ^0.0.6
"@types/webpack-env": ^1.18.1
async-call-rpc: ^6.3.1
cmdk: ^0.2.0
@@ -3403,7 +3404,7 @@ __metadata:
languageName: node
linkType: hard
"@blocksuite/icons@npm:^2.1.29":
"@blocksuite/icons@npm:^2.1.26, @blocksuite/icons@npm:^2.1.29":
version: 2.1.29
resolution: "@blocksuite/icons@npm:2.1.29"
peerDependencies:
@@ -11350,6 +11351,20 @@ __metadata:
languageName: node
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":
version: 0.0.0-use.local
resolution: "@toeverything/hooks@workspace:packages/hooks"