There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: tips bar
DarkSkyb5d4410dca23
diff --git a/libs/components/layout/src/header/LayoutHeader.tsx b/libs/components/layout/src/header/LayoutHeader.tsxindex 0adf0546ed..ccf6497642 100644--- a/libs/components/layout/src/header/LayoutHeader.tsx+++ b/libs/components/layout/src/header/LayoutHeader.tsx@@ -44,10 +44,37 @@ export const LayoutHeader = () => {<EditorBoardSwitcher /></StyledContainerForEditorBoardSwitcher></StyledHeaderRoot>+ <StyledUnstableTips>+ <StyledUnstableTipsText>+ AFFiNE now under active development, the version is+ UNSTABLE, please DO NOT store important data in this version+ </StyledUnstableTipsText>+ </StyledUnstableTips></StyledContainerForHeaderRoot>);};+const StyledUnstableTips = styled('div')(({ theme }) => {+ return {+ width: '100%',+ height: '2em',+ display: 'flex',+ zIndex: theme.affine.zIndex.header,+ backgroundColor: '#fff8c5',+ borderWidth: '1px 0',+ borderColor: '#e4e49588',+ borderStyle: 'solid',+ };+});++const StyledUnstableTipsText = styled('span')(({ theme }) => {+ return {+ margin: 'auto 36px',+ width: '100%',+ textAlign: 'center',+ };+});+const StyledContainerForHeaderRoot = styled('div')(({ theme }) => {return {width: '100%',@@ -114,7 +141,9 @@ const StyledLogoIcon = styled(LogoIcon)(({ theme }) => {const StyledContainerForEditorBoardSwitcher = styled('div')(({ theme }) => {return {+ width: '100%',position: 'absolute',- left: '50%',+ display: 'flex',+ justifyContent: 'center',};});