mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-12-01 03:47:55 +08:00
feat: add web icons (#70)
* feat: add web icons * chore: adjust icon color * chore: remove medium variant * chore: replace chevron arrows * chore: replace slash menu icons * chore: configure icon size using mui theme override * chore: replace toolbar icons * chore: replace editor block icons * chore: fix space item hover glitch * chore: clean up with newly added icons * chore: newly-export icons * chore: adjust view and space icons * chore: clean up some additional icons * chore: add more icons * fix: recent views on mobile not showing icon * chore: rename usage of icon * last batch * chore: replace publish icons * chore: new restore icon and use original link arrow svg * chore: replace more icons * fix: more icon alignment * chore: remove existing * chore: re-add missing icons * fix: missing icons and misspelling * fix: wrong icons and links * fix: lightbulb svg
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import Import from '@/components/_shared/more-actions/importer/Import';
|
||||
import { Typography } from '@mui/material';
|
||||
import React from 'react';
|
||||
import { ReactComponent as AppflowyLogo } from '@/assets/appflowy.svg';
|
||||
import { ReactComponent as AppflowyLogo } from '@/assets/icons/appflowy.svg';
|
||||
import { useSearchParams } from 'react-router-dom';
|
||||
|
||||
function ImportPage () {
|
||||
function ImportPage() {
|
||||
const [search] = useSearchParams();
|
||||
const redirectTo = search.get('redirectToImport');
|
||||
const onSuccess = React.useCallback(() => {
|
||||
@@ -14,24 +14,17 @@ function ImportPage () {
|
||||
}, [redirectTo]);
|
||||
|
||||
return (
|
||||
<div className={'w-screen h-screen flex bg-[#EEEEFD] flex-col'}>
|
||||
<div className={'w-full h-[64px] py-4 px-6'}>
|
||||
<Typography
|
||||
variant="h3"
|
||||
className={'mb-[27px] flex items-center gap-4 text-text-title'}
|
||||
gutterBottom
|
||||
>
|
||||
<div className={'flex h-screen w-screen flex-col bg-[#EEEEFD]'}>
|
||||
<div className={'h-[64px] w-full py-4 px-6'}>
|
||||
<Typography variant='h3' className={'mb-[27px] flex items-center gap-4 text-text-title'} gutterBottom>
|
||||
<>
|
||||
<AppflowyLogo className={'w-32'} />
|
||||
</>
|
||||
</Typography>
|
||||
</div>
|
||||
<Import
|
||||
onSuccessfulImport={onSuccess}
|
||||
disableClose={true}
|
||||
/>
|
||||
<Import onSuccessfulImport={onSuccess} disableClose={true} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default ImportPage;
|
||||
export default ImportPage;
|
||||
|
||||
Reference in New Issue
Block a user