-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support publish outline (#6173)
- Loading branch information
Showing
40 changed files
with
549 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
frontend/appflowy_web_app/src/components/_shared/appflowy-power/AppFlowyPower.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Divider } from '@mui/material'; | ||
import React from 'react'; | ||
import { ReactComponent as AppFlowyLogo } from '@/assets/appflowy.svg'; | ||
|
||
function AppFlowyPower ({ | ||
divider, | ||
width, | ||
}: { | ||
divider?: boolean; | ||
width?: number; | ||
}) { | ||
return ( | ||
<div | ||
style={{ | ||
backdropFilter: 'saturate(180%) blur(16px)', | ||
width, | ||
boxShadow: 'var(--footer) 0px -4px 14px 13px', | ||
}} | ||
className={'flex bg-bg-body sticky bottom-0 w-full flex-col items-center justify-center'} | ||
> | ||
{divider && <Divider className={'w-full my-0'} />} | ||
|
||
<div | ||
onClick={() => { | ||
window.open('https://appflowy.io', '_blank'); | ||
}} | ||
style={{ | ||
width, | ||
}} | ||
className={ | ||
'flex w-full cursor-pointer gap-2 items-center justify-center py-4 text-sm text-text-title opacity-50' | ||
} | ||
> | ||
Powered by | ||
<AppFlowyLogo className={'w-[88px]'} /> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default AppFlowyPower; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
frontend/appflowy_web_app/src/components/_shared/skeleton/BreadcrumbSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import { Skeleton, Box } from '@mui/material'; | ||
|
||
export const BreadcrumbsSkeleton = () => { | ||
return ( | ||
<Box display="flex" alignItems="center"> | ||
<Skeleton variant="text" width={60} height={20} /> | ||
<Skeleton variant="text" width={20} height={20} sx={{ mx: 1 }} /> | ||
<Skeleton variant="text" width={80} height={20} /> | ||
<Skeleton variant="text" width={20} height={20} sx={{ mx: 1 }} /> | ||
<Skeleton variant="text" width={100} height={20} /> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default BreadcrumbsSkeleton; |
Oops, something went wrong.