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
Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout
QiShaoXuan17386a4ad721
diff --cc src/pages/index.tsxindex d98d80e40f,2720644a23..4a79e311f0--- a/src/pages/index.tsx+++ b/src/pages/index.tsx@@@ -1,6 -1,6 +1,7 @@@import type { NextPage } from 'next';+ import dynamic from 'next/dynamic';import { styled, useTheme } from '@/styles';+import { Header } from '@/components/Header';import '@/components/simple-counter';@@@ -15,8 -19,31 +21,33 @@@ const Home: NextPage = () =>const { changeMode, mode } = useTheme();return (<div>- <Button>A button use the theme styles</Button>- <simple-counter name="A counter created by web component" />- <p>current mode {mode}</p>- <button- onClick={() => {- changeMode('light');- }}- >- light- </button>- <button- onClick={() => {- changeMode('dark');- }}- >- dark- </button>- <button- onClick={() => {- changeMode('auto');- }}- >- auto- </button>+ <Header />+ <StyledEditorContainer></StyledEditorContainer>++ {/*<Button>A button use the theme styles</Button>*/}++ {/*<simple-counter name="A counter created by web component" />*/}++ {/*<p>current mode {mode}</p>*/}++ {/*<button*/}++ {/* onClick={() => {*/}++ {/* changeMode('light');*/}++ {/* }}*/}++ {/*>*/}++ {/* light*/}++ {/*</button>*/}++ {/*<button*/}++ {/* onClick={() => {*/}++ {/* changeMode('dark');*/}++ {/* }}*/}++ {/*>*/}++ {/* dark*/}++ {/*</button>*/}++ {/*<button*/}++ {/* onClick={() => {*/}++ {/* changeMode('auto');*/}++ {/* }}*/}++ {/*>*/}++ {/* auto*/}++ {/*</button>*/}+ <DynamicEditor /></div>);};