├── .eslintrc.json ├── .gitignore ├── README.md ├── components.json ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma └── schema.prisma ├── public ├── images │ ├── commands │ │ ├── bulleted-list.png │ │ ├── code.png │ │ ├── divider.png │ │ ├── header.png │ │ ├── link.png │ │ ├── numbered-list.png │ │ ├── quote.png │ │ ├── subheader.png │ │ ├── subsubheader.png │ │ ├── text.png │ │ ├── to-do.png │ │ ├── tooltip-bulleted-list.png │ │ ├── tooltip-code.png │ │ ├── tooltip-divider.png │ │ ├── tooltip-header.png │ │ ├── tooltip-link.png │ │ ├── tooltip-numbered-list.png │ │ ├── tooltip-quote.png │ │ ├── tooltip-subheader.png │ │ ├── tooltip-subsubheader.png │ │ ├── tooltip-text.png │ │ └── tooltip-to-do.png │ ├── docs-icon.png │ ├── home-hero-dark.png │ ├── home-hero.png │ ├── projects-icon.png │ ├── sidekick-desktop-app-dark.png │ ├── sidekick-desktop-app.png │ ├── team-size-enterprise-dark.png │ ├── team-size-enterprise.png │ ├── team-size-personal-dark.png │ ├── team-size-personal.png │ ├── team-size-small-business-dark.png │ ├── team-size-small-business.png │ └── wikis-icon.png ├── next.svg └── vercel.svg ├── src ├── actions │ ├── createUntitled.ts │ ├── deleteImg.ts │ ├── findDoc.ts │ ├── getInitialDoc.ts │ └── getIsOwner.ts ├── app │ ├── (interceptedPage) │ │ ├── sign-in │ │ │ └── [[...sign-in]] │ │ │ │ └── page.tsx │ │ └── sign-up │ │ │ └── [[...sign-up]] │ │ │ └── page.tsx │ ├── @auth │ │ ├── (.)sign-in │ │ │ └── page.tsx │ │ ├── (.)sign-up │ │ │ └── page.tsx │ │ └── default.tsx │ ├── [documentId] │ │ ├── layout.tsx │ │ └── page.tsx │ ├── api │ │ ├── documents │ │ │ ├── [documentId] │ │ │ │ └── route.ts │ │ │ ├── route.ts │ │ │ └── title │ │ │ │ └── [documentId] │ │ │ │ └── route.ts │ │ ├── images │ │ │ ├── [documentId] │ │ │ │ └── route.ts │ │ │ └── remove │ │ │ │ └── [documentId] │ │ │ │ └── route.ts │ │ ├── sign-cloudinary-params │ │ │ └── route.ts │ │ └── untitled │ │ │ └── route.ts │ ├── favicon.ico │ ├── layout.tsx │ ├── not-found.tsx │ ├── page.tsx │ └── share │ │ └── [documentId] │ │ └── page.tsx ├── components │ ├── CloseModal.tsx │ ├── Editor │ │ ├── BubbleMenu │ │ │ └── TextMenu.tsx │ │ ├── components │ │ │ ├── DropdownLinkInput.tsx │ │ │ ├── DropdownNode.tsx │ │ │ ├── DropdownStyle.tsx │ │ │ ├── EditorPreviewer.tsx │ │ │ ├── Marks.tsx │ │ │ └── Skeleton.tsx │ │ ├── custom-extensions │ │ │ └── SlashCommand.tsx │ │ ├── editor.tsx │ │ └── lib │ │ │ ├── data.ts │ │ │ ├── extensions-editor.ts │ │ │ ├── extensions.ts │ │ │ ├── props.ts │ │ │ ├── slash-command-data.ts │ │ │ └── utils.ts │ ├── Header │ │ ├── IconTitle.tsx │ │ ├── Saving.tsx │ │ ├── Share.tsx │ │ ├── ToggleBtnDekstop.tsx │ │ ├── ToggleBtnMobile.tsx │ │ ├── Updated.tsx │ │ └── index.tsx │ ├── Home │ │ ├── DekstopAction.tsx │ │ ├── Logo.tsx │ │ ├── MobileNav.tsx │ │ ├── MobileNavMenu.tsx │ │ ├── Nav.tsx │ │ └── NavMenu.tsx │ ├── Icons.tsx │ ├── Main │ │ ├── CoverImgUploadBtn.tsx │ │ ├── Forbidden.tsx │ │ ├── IconImage │ │ │ ├── MenuDialog.tsx │ │ │ ├── MenuDropdown.tsx │ │ │ └── index.tsx │ │ ├── IconImgUploadBtn.tsx │ │ ├── Title │ │ │ └── index.tsx │ │ └── coverImage │ │ │ ├── Menu.tsx │ │ │ ├── MenuDialog.tsx │ │ │ └── index.tsx │ ├── MyResizablePanels │ │ ├── PanelContext.tsx │ │ ├── PanelGroup.tsx │ │ ├── PanelResizeHandler.tsx │ │ ├── PanelSidebar.tsx │ │ ├── ResizablePanels.tsx │ │ ├── types.ts │ │ └── utils.ts │ ├── PreventBubblingClient.tsx │ ├── Providers.tsx │ ├── Sidebar │ │ ├── Links.tsx │ │ ├── LinksDoc.tsx │ │ ├── MobileSidebar.tsx │ │ ├── More │ │ │ ├── MoreDialog.tsx │ │ │ ├── MoreDropDown.tsx │ │ │ └── index.tsx │ │ ├── Search.tsx │ │ ├── Setting.tsx │ │ ├── SidebarMenuItem.tsx │ │ ├── UserButton.tsx │ │ └── index.tsx │ ├── auth │ │ ├── Loader.tsx │ │ ├── SignIn.tsx │ │ └── SignUp.tsx │ └── ui │ │ ├── Accordion.tsx │ │ ├── AlertDialog.tsx │ │ ├── Button.tsx │ │ ├── Dialog.tsx │ │ ├── DropdownMenu.tsx │ │ ├── Input.tsx │ │ ├── NavigationMenu.tsx │ │ ├── ScrollArea.tsx │ │ ├── Separator.tsx │ │ ├── Toast.tsx │ │ ├── Toaster.tsx │ │ └── Tooltip.tsx ├── config │ ├── clerk.ts │ └── cloudinary.ts ├── env.mjs ├── hooks │ ├── use-show-mobile-nav.ts │ ├── use-show-mobile-sidebar.ts │ ├── use-toast.ts │ └── use-window-size.ts ├── lib │ ├── context │ │ └── show-sidebar-context.tsx │ ├── db.ts │ ├── nav-items.ts │ ├── utils.ts │ └── validators │ │ ├── Documents.ts │ │ └── route.ts ├── middleware.ts ├── store │ ├── use-saving.ts │ └── use-title.ts ├── styles │ └── globals.css └── types │ └── db.d.ts ├── tailwind.config.js └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/components.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/images/commands/bulleted-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/bulleted-list.png -------------------------------------------------------------------------------- /public/images/commands/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/code.png -------------------------------------------------------------------------------- /public/images/commands/divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/divider.png -------------------------------------------------------------------------------- /public/images/commands/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/header.png -------------------------------------------------------------------------------- /public/images/commands/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/link.png -------------------------------------------------------------------------------- /public/images/commands/numbered-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/numbered-list.png -------------------------------------------------------------------------------- /public/images/commands/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/quote.png -------------------------------------------------------------------------------- /public/images/commands/subheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/subheader.png -------------------------------------------------------------------------------- /public/images/commands/subsubheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/subsubheader.png -------------------------------------------------------------------------------- /public/images/commands/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/text.png -------------------------------------------------------------------------------- /public/images/commands/to-do.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/to-do.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-bulleted-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-bulleted-list.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-code.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-divider.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-header.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-link.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-numbered-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-numbered-list.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-quote.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-subheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-subheader.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-subsubheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-subsubheader.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-text.png -------------------------------------------------------------------------------- /public/images/commands/tooltip-to-do.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/commands/tooltip-to-do.png -------------------------------------------------------------------------------- /public/images/docs-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/docs-icon.png -------------------------------------------------------------------------------- /public/images/home-hero-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/home-hero-dark.png -------------------------------------------------------------------------------- /public/images/home-hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/home-hero.png -------------------------------------------------------------------------------- /public/images/projects-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/projects-icon.png -------------------------------------------------------------------------------- /public/images/sidekick-desktop-app-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/sidekick-desktop-app-dark.png -------------------------------------------------------------------------------- /public/images/sidekick-desktop-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/sidekick-desktop-app.png -------------------------------------------------------------------------------- /public/images/team-size-enterprise-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-enterprise-dark.png -------------------------------------------------------------------------------- /public/images/team-size-enterprise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-enterprise.png -------------------------------------------------------------------------------- /public/images/team-size-personal-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-personal-dark.png -------------------------------------------------------------------------------- /public/images/team-size-personal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-personal.png -------------------------------------------------------------------------------- /public/images/team-size-small-business-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-small-business-dark.png -------------------------------------------------------------------------------- /public/images/team-size-small-business.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/team-size-small-business.png -------------------------------------------------------------------------------- /public/images/wikis-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/images/wikis-icon.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/actions/createUntitled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/actions/createUntitled.ts -------------------------------------------------------------------------------- /src/actions/deleteImg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/actions/deleteImg.ts -------------------------------------------------------------------------------- /src/actions/findDoc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/actions/findDoc.ts -------------------------------------------------------------------------------- /src/actions/getInitialDoc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/actions/getInitialDoc.ts -------------------------------------------------------------------------------- /src/actions/getIsOwner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/actions/getIsOwner.ts -------------------------------------------------------------------------------- /src/app/(interceptedPage)/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/(interceptedPage)/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /src/app/(interceptedPage)/sign-up/[[...sign-up]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/(interceptedPage)/sign-up/[[...sign-up]]/page.tsx -------------------------------------------------------------------------------- /src/app/@auth/(.)sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/@auth/(.)sign-in/page.tsx -------------------------------------------------------------------------------- /src/app/@auth/(.)sign-up/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/@auth/(.)sign-up/page.tsx -------------------------------------------------------------------------------- /src/app/@auth/default.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/@auth/default.tsx -------------------------------------------------------------------------------- /src/app/[documentId]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/[documentId]/layout.tsx -------------------------------------------------------------------------------- /src/app/[documentId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/[documentId]/page.tsx -------------------------------------------------------------------------------- /src/app/api/documents/[documentId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/documents/[documentId]/route.ts -------------------------------------------------------------------------------- /src/app/api/documents/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/documents/route.ts -------------------------------------------------------------------------------- /src/app/api/documents/title/[documentId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/documents/title/[documentId]/route.ts -------------------------------------------------------------------------------- /src/app/api/images/[documentId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/images/[documentId]/route.ts -------------------------------------------------------------------------------- /src/app/api/images/remove/[documentId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/images/remove/[documentId]/route.ts -------------------------------------------------------------------------------- /src/app/api/sign-cloudinary-params/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/sign-cloudinary-params/route.ts -------------------------------------------------------------------------------- /src/app/api/untitled/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/api/untitled/route.ts -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/not-found.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/share/[documentId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/app/share/[documentId]/page.tsx -------------------------------------------------------------------------------- /src/components/CloseModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/CloseModal.tsx -------------------------------------------------------------------------------- /src/components/Editor/BubbleMenu/TextMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/BubbleMenu/TextMenu.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/DropdownLinkInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/DropdownLinkInput.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/DropdownNode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/DropdownNode.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/DropdownStyle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/DropdownStyle.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/EditorPreviewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/EditorPreviewer.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/Marks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/Marks.tsx -------------------------------------------------------------------------------- /src/components/Editor/components/Skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/components/Skeleton.tsx -------------------------------------------------------------------------------- /src/components/Editor/custom-extensions/SlashCommand.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/custom-extensions/SlashCommand.tsx -------------------------------------------------------------------------------- /src/components/Editor/editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/editor.tsx -------------------------------------------------------------------------------- /src/components/Editor/lib/data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/data.ts -------------------------------------------------------------------------------- /src/components/Editor/lib/extensions-editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/extensions-editor.ts -------------------------------------------------------------------------------- /src/components/Editor/lib/extensions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/extensions.ts -------------------------------------------------------------------------------- /src/components/Editor/lib/props.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/props.ts -------------------------------------------------------------------------------- /src/components/Editor/lib/slash-command-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/slash-command-data.ts -------------------------------------------------------------------------------- /src/components/Editor/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Editor/lib/utils.ts -------------------------------------------------------------------------------- /src/components/Header/IconTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/IconTitle.tsx -------------------------------------------------------------------------------- /src/components/Header/Saving.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/Saving.tsx -------------------------------------------------------------------------------- /src/components/Header/Share.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/Share.tsx -------------------------------------------------------------------------------- /src/components/Header/ToggleBtnDekstop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/ToggleBtnDekstop.tsx -------------------------------------------------------------------------------- /src/components/Header/ToggleBtnMobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/ToggleBtnMobile.tsx -------------------------------------------------------------------------------- /src/components/Header/Updated.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/Updated.tsx -------------------------------------------------------------------------------- /src/components/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Header/index.tsx -------------------------------------------------------------------------------- /src/components/Home/DekstopAction.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/DekstopAction.tsx -------------------------------------------------------------------------------- /src/components/Home/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/Logo.tsx -------------------------------------------------------------------------------- /src/components/Home/MobileNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/MobileNav.tsx -------------------------------------------------------------------------------- /src/components/Home/MobileNavMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/MobileNavMenu.tsx -------------------------------------------------------------------------------- /src/components/Home/Nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/Nav.tsx -------------------------------------------------------------------------------- /src/components/Home/NavMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Home/NavMenu.tsx -------------------------------------------------------------------------------- /src/components/Icons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Icons.tsx -------------------------------------------------------------------------------- /src/components/Main/CoverImgUploadBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/CoverImgUploadBtn.tsx -------------------------------------------------------------------------------- /src/components/Main/Forbidden.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/Forbidden.tsx -------------------------------------------------------------------------------- /src/components/Main/IconImage/MenuDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/IconImage/MenuDialog.tsx -------------------------------------------------------------------------------- /src/components/Main/IconImage/MenuDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/IconImage/MenuDropdown.tsx -------------------------------------------------------------------------------- /src/components/Main/IconImage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/IconImage/index.tsx -------------------------------------------------------------------------------- /src/components/Main/IconImgUploadBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/IconImgUploadBtn.tsx -------------------------------------------------------------------------------- /src/components/Main/Title/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/Title/index.tsx -------------------------------------------------------------------------------- /src/components/Main/coverImage/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/coverImage/Menu.tsx -------------------------------------------------------------------------------- /src/components/Main/coverImage/MenuDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/coverImage/MenuDialog.tsx -------------------------------------------------------------------------------- /src/components/Main/coverImage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Main/coverImage/index.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/PanelContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/PanelContext.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/PanelGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/PanelGroup.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/PanelResizeHandler.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/PanelResizeHandler.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/PanelSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/PanelSidebar.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/ResizablePanels.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/ResizablePanels.tsx -------------------------------------------------------------------------------- /src/components/MyResizablePanels/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/types.ts -------------------------------------------------------------------------------- /src/components/MyResizablePanels/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/MyResizablePanels/utils.ts -------------------------------------------------------------------------------- /src/components/PreventBubblingClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/PreventBubblingClient.tsx -------------------------------------------------------------------------------- /src/components/Providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Providers.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/Links.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/Links.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/LinksDoc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/LinksDoc.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/MobileSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/MobileSidebar.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/More/MoreDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/More/MoreDialog.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/More/MoreDropDown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/More/MoreDropDown.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/More/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/More/index.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/Search.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/Setting.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/Setting.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/SidebarMenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/SidebarMenuItem.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/UserButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/UserButton.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/Sidebar/index.tsx -------------------------------------------------------------------------------- /src/components/auth/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/auth/Loader.tsx -------------------------------------------------------------------------------- /src/components/auth/SignIn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/auth/SignIn.tsx -------------------------------------------------------------------------------- /src/components/auth/SignUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/auth/SignUp.tsx -------------------------------------------------------------------------------- /src/components/ui/Accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/AlertDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/AlertDialog.tsx -------------------------------------------------------------------------------- /src/components/ui/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Button.tsx -------------------------------------------------------------------------------- /src/components/ui/Dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/DropdownMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/DropdownMenu.tsx -------------------------------------------------------------------------------- /src/components/ui/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Input.tsx -------------------------------------------------------------------------------- /src/components/ui/NavigationMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/NavigationMenu.tsx -------------------------------------------------------------------------------- /src/components/ui/ScrollArea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/ScrollArea.tsx -------------------------------------------------------------------------------- /src/components/ui/Separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Separator.tsx -------------------------------------------------------------------------------- /src/components/ui/Toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Toast.tsx -------------------------------------------------------------------------------- /src/components/ui/Toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/Tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/components/ui/Tooltip.tsx -------------------------------------------------------------------------------- /src/config/clerk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/config/clerk.ts -------------------------------------------------------------------------------- /src/config/cloudinary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/config/cloudinary.ts -------------------------------------------------------------------------------- /src/env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/env.mjs -------------------------------------------------------------------------------- /src/hooks/use-show-mobile-nav.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/hooks/use-show-mobile-nav.ts -------------------------------------------------------------------------------- /src/hooks/use-show-mobile-sidebar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/hooks/use-show-mobile-sidebar.ts -------------------------------------------------------------------------------- /src/hooks/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/hooks/use-toast.ts -------------------------------------------------------------------------------- /src/hooks/use-window-size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/hooks/use-window-size.ts -------------------------------------------------------------------------------- /src/lib/context/show-sidebar-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/context/show-sidebar-context.tsx -------------------------------------------------------------------------------- /src/lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/db.ts -------------------------------------------------------------------------------- /src/lib/nav-items.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/nav-items.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/lib/validators/Documents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/validators/Documents.ts -------------------------------------------------------------------------------- /src/lib/validators/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/lib/validators/route.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/store/use-saving.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/store/use-saving.ts -------------------------------------------------------------------------------- /src/store/use-title.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/store/use-title.ts -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/types/db.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/src/types/db.d.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raihan-ramadhan/notion-clone/HEAD/tsconfig.json --------------------------------------------------------------------------------