-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Sidebar without products and mails
- Loading branch information
Rajat Saxena
committed
Sep 17, 2024
1 parent
b6517f6
commit 87cbac2
Showing
275 changed files
with
3,184 additions
and
1,695 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+83.5 KB
.yarn/cache/@codemirror-language-npm-6.10.2-0e5e3edc9d-4e60afb75f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-24.9 KB
.yarn/cache/@remirror-core-constants-npm-2.0.2-df655b88e4-5dbe835314.zip
Binary file not shown.
Binary file added
BIN
+32.1 KB
.yarn/cache/@remirror-core-constants-npm-3.0.0-b28dafa052-a944632b0f.zip
Binary file not shown.
Binary file removed
BIN
-42.5 KB
.yarn/cache/@remirror-core-helpers-npm-3.0.0-2a57f78a3d-27ac1be46a.zip
Binary file not shown.
Binary file added
BIN
+53.2 KB
.yarn/cache/@remirror-core-helpers-npm-4.0.0-dd0afbe2ed-f8faed24b4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-83.8 KB
.yarn/cache/@remirror-core-utils-npm-2.0.13-e1373d49b1-fc6c8061ee.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-36.7 KB
.yarn/cache/@remirror-extension-annotation-npm-2.0.16-946e2dd134-41df7bb768.zip
Binary file not shown.
Binary file added
BIN
+44.8 KB
.yarn/cache/@remirror-extension-annotation-npm-3.0.1-573fec2aef-001abe289a.zip
Binary file not shown.
Binary file removed
BIN
-25.5 KB
.yarn/cache/@remirror-extension-bidi-npm-2.0.14-508dd56e4b-39a28a7672.zip
Binary file not shown.
Binary file added
BIN
+30.1 KB
.yarn/cache/@remirror-extension-bidi-npm-3.0.1-2673fac4b2-27c927f4de.zip
Binary file not shown.
Binary file removed
BIN
-21.8 KB
.yarn/cache/@remirror-extension-blockquote-npm-2.0.14-1f712e49bc-e6d35e2ca8.zip
Binary file not shown.
Binary file added
BIN
+26.8 KB
.yarn/cache/@remirror-extension-blockquote-npm-3.0.1-640cad1d18-7e40907223.zip
Binary file not shown.
Binary file removed
BIN
-23.2 KB
.yarn/cache/@remirror-extension-bold-npm-2.0.13-4c6a63c99f-e1bbfc5447.zip
Binary file not shown.
Binary file added
BIN
+28.5 KB
.yarn/cache/@remirror-extension-bold-npm-3.0.1-c9187e272b-bea207a9ac.zip
Binary file not shown.
Binary file removed
BIN
-32.6 KB
.yarn/cache/@remirror-extension-callout-npm-2.0.15-581c923eb0-18c59cfc18.zip
Binary file not shown.
Binary file added
BIN
+38.3 KB
.yarn/cache/@remirror-extension-callout-npm-3.0.1-87fdabcc32-d5724534bd.zip
Binary file not shown.
Binary file removed
BIN
-48.7 KB
.yarn/cache/@remirror-extension-code-block-npm-2.0.18-212b8a3496-d0726843dc.zip
Binary file not shown.
Binary file added
BIN
+69.6 KB
.yarn/cache/@remirror-extension-code-block-npm-3.0.1-c16d8e9a47-5c193fe0f1.zip
Binary file not shown.
Binary file removed
BIN
-21.7 KB
.yarn/cache/@remirror-extension-code-npm-2.0.13-a270721a35-c988323693.zip
Binary file not shown.
Binary file added
BIN
+26.7 KB
.yarn/cache/@remirror-extension-code-npm-3.0.1-2241bb1344-061a42762e.zip
Binary file not shown.
Binary file removed
BIN
-33.7 KB
.yarn/cache/@remirror-extension-codemirror5-npm-2.0.13-8785d5ec87-1566a7b30b.zip
Binary file not shown.
Binary file removed
BIN
-32.3 KB
.yarn/cache/@remirror-extension-codemirror6-npm-1.0.13-3857b73c90-3501acdd2c.zip
Binary file not shown.
Binary file added
BIN
+39 KB
.yarn/cache/@remirror-extension-codemirror6-npm-2.0.1-bfb3c6582f-255652dc0c.zip
Binary file not shown.
Binary file removed
BIN
-24.2 KB
.yarn/cache/@remirror-extension-collaboration-npm-2.0.13-4a185e4889-0694fd27aa.zip
Binary file not shown.
Binary file added
BIN
+28.9 KB
.yarn/cache/@remirror-extension-collaboration-npm-3.0.1-f8a11fcdd6-b0d3773e20.zip
Binary file not shown.
Binary file removed
BIN
-24.8 KB
.yarn/cache/@remirror-extension-columns-npm-2.0.14-1bd9728751-1530ce6068.zip
Binary file not shown.
Binary file added
BIN
+29.9 KB
.yarn/cache/@remirror-extension-columns-npm-3.0.1-dd032b456c-ff763132ad.zip
Binary file not shown.
Binary file removed
BIN
-29.9 KB
.yarn/cache/@remirror-extension-diff-npm-2.0.13-0a6df2c339-0e92d2e507.zip
Binary file not shown.
Binary file added
BIN
+35.4 KB
.yarn/cache/@remirror-extension-diff-npm-3.0.1-3c77dfaa72-710b469cfa.zip
Binary file not shown.
Binary file removed
BIN
-24.7 KB
.yarn/cache/@remirror-extension-doc-npm-2.1.5-bd5565feae-522eddedd4.zip
Binary file not shown.
Binary file added
BIN
+28.3 KB
.yarn/cache/@remirror-extension-doc-npm-3.0.1-40df86434a-99d0061fe3.zip
Binary file not shown.
Binary file removed
BIN
-21.5 KB
.yarn/cache/@remirror-extension-drop-cursor-npm-2.0.13-8cc2ec10f9-d500bc3fe3.zip
Binary file not shown.
Binary file added
BIN
+25.1 KB
.yarn/cache/@remirror-extension-drop-cursor-npm-3.0.1-102a7a3fa6-484445edcc.zip
Binary file not shown.
Binary file removed
BIN
-27.4 KB
.yarn/cache/@remirror-extension-embed-npm-2.0.14-df59279a8f-fc584c08e3.zip
Binary file not shown.
Binary file added
BIN
+31.7 KB
.yarn/cache/@remirror-extension-embed-npm-3.0.1-5e83962e26-f35a45f1d6.zip
Binary file not shown.
Binary file removed
BIN
-39.1 KB
.yarn/cache/@remirror-extension-emoji-npm-2.0.17-f35fca72d7-2baa6bcdf8.zip
Binary file not shown.
Binary file added
BIN
+45.6 KB
.yarn/cache/@remirror-extension-emoji-npm-3.0.1-6826580631-42f3ebd606.zip
Binary file not shown.
Binary file removed
BIN
-33.1 KB
.yarn/cache/@remirror-extension-entity-reference-npm-2.2.6-5e416e354c-9ece70b684.zip
Binary file not shown.
Binary file added
BIN
+39.6 KB
.yarn/cache/@remirror-extension-entity-reference-npm-3.0.1-2a4c75fec2-d5a3ad2ff1.zip
Binary file not shown.
Binary file removed
BIN
-28.7 KB
.yarn/cache/@remirror-extension-epic-mode-npm-2.0.13-ca0f244e3d-06420cfee6.zip
Binary file not shown.
Binary file added
BIN
+33.4 KB
.yarn/cache/@remirror-extension-epic-mode-npm-3.0.1-08f761fabd-e6e70dd5d7.zip
Binary file not shown.
Binary file removed
BIN
-31.3 KB
.yarn/cache/@remirror-extension-events-npm-2.1.17-6eb09d87b4-15ebfd8701.zip
Binary file not shown.
Binary file added
BIN
+37 KB
.yarn/cache/@remirror-extension-events-npm-3.0.1-a1d3a0328b-1b6799f3d1.zip
Binary file not shown.
Binary file removed
BIN
-25.8 KB
.yarn/cache/@remirror-extension-find-npm-0.1.6-77fa21b281-7af6c93e89.zip
Binary file not shown.
Binary file added
BIN
+30.5 KB
.yarn/cache/@remirror-extension-find-npm-1.0.1-d59caec43d-7358d4c4ac.zip
Binary file not shown.
Binary file removed
BIN
-21.9 KB
.yarn/cache/@remirror-extension-font-family-npm-2.0.13-314684b9d0-33ab30b3df.zip
Binary file not shown.
Binary file added
BIN
+25.9 KB
.yarn/cache/@remirror-extension-font-family-npm-3.0.1-fc9467a530-c19fc8432a.zip
Binary file not shown.
Binary file removed
BIN
-26.4 KB
.yarn/cache/@remirror-extension-font-size-npm-2.0.13-aea8a5cbbd-6d5c2cf311.zip
Binary file not shown.
Binary file added
BIN
+32.6 KB
.yarn/cache/@remirror-extension-font-size-npm-3.0.1-08f35e3a52-8f9baeb15f.zip
Binary file not shown.
Binary file removed
BIN
-21.4 KB
.yarn/cache/@remirror-extension-gap-cursor-npm-2.0.13-df167dd5c5-3783abdc87.zip
Binary file not shown.
Binary file added
BIN
+25.1 KB
.yarn/cache/@remirror-extension-gap-cursor-npm-3.0.1-f9cf4c7ab1-3ceb9866ed.zip
Binary file not shown.
Binary file removed
BIN
-21.9 KB
.yarn/cache/@remirror-extension-hard-break-npm-2.0.13-2bcee1bc1d-b0653db491.zip
Binary file not shown.
Binary file added
BIN
+26 KB
.yarn/cache/@remirror-extension-hard-break-npm-3.0.1-683c8bad0d-85dbca5299.zip
Binary file not shown.
Binary file removed
BIN
-24.5 KB
.yarn/cache/@remirror-extension-heading-npm-2.0.14-c069d5fd75-6406603abd.zip
Binary file not shown.
Binary file added
BIN
+28.9 KB
.yarn/cache/@remirror-extension-heading-npm-3.0.1-16a3807b9a-24d0ea3cc8.zip
Binary file not shown.
Binary file removed
BIN
-24.3 KB
.yarn/cache/@remirror-extension-history-npm-2.0.13-8040433028-733aff1c28.zip
Binary file not shown.
Binary file added
BIN
+30 KB
.yarn/cache/@remirror-extension-history-npm-3.0.1-1487b40fc4-3e6ffa9a8a.zip
Binary file not shown.
Binary file removed
BIN
-23.8 KB
.yarn/cache/@remirror-extension-horizontal-rule-npm-2.0.13-c2da60e455-131874261a.zip
Binary file not shown.
Binary file added
BIN
+29 KB
.yarn/cache/@remirror-extension-horizontal-rule-npm-3.0.1-89eb560e7f-8d3ed58ff9.zip
Binary file not shown.
Binary file removed
BIN
-32.9 KB
.yarn/cache/@remirror-extension-image-npm-2.1.10-09b09fe7df-c1d92f1432.zip
Binary file not shown.
Binary file added
BIN
+37.3 KB
.yarn/cache/@remirror-extension-image-npm-3.0.1-931a31fcba-01becdcbeb.zip
Binary file not shown.
Binary file removed
BIN
-22.3 KB
.yarn/cache/@remirror-extension-italic-npm-2.0.13-292cd236a7-0fce8b5203.zip
Binary file not shown.
Binary file added
BIN
+27.3 KB
.yarn/cache/@remirror-extension-italic-npm-3.0.1-5e216fa5e5-2e03bd0cd1.zip
Binary file not shown.
Binary file removed
BIN
-36 KB
.yarn/cache/@remirror-extension-link-npm-2.0.17-55d697c043-6899cdae6f.zip
Binary file not shown.
Binary file added
BIN
+42 KB
.yarn/cache/@remirror-extension-link-npm-3.0.1-c1bae0db6f-77a05b0d2d.zip
Binary file not shown.
Binary file removed
BIN
-49.2 KB
.yarn/cache/@remirror-extension-list-npm-2.0.16-deab0582bf-b2ce6252fa.zip
Binary file not shown.
Binary file added
BIN
+57.5 KB
.yarn/cache/@remirror-extension-list-npm-3.0.1-228cefb083-ef1118636b.zip
Binary file not shown.
Binary file removed
BIN
-30 KB
.yarn/cache/@remirror-extension-markdown-npm-2.0.13-0f6d322937-7df1e74bd6.zip
Binary file not shown.
Binary file removed
BIN
-31.1 KB
.yarn/cache/@remirror-extension-markdown-npm-2.0.14-fd752f20d1-0bd0ddc8a0.zip
Binary file not shown.
Binary file added
BIN
+33.7 KB
.yarn/cache/@remirror-extension-markdown-npm-3.0.1-3c0b0fae25-99568a94a2.zip
Binary file not shown.
Binary file removed
BIN
-31.9 KB
.yarn/cache/@remirror-extension-mention-atom-npm-2.0.17-784fb1e603-faf5e05a34.zip
Binary file not shown.
Binary file added
BIN
+36.9 KB
.yarn/cache/@remirror-extension-mention-atom-npm-3.0.1-1ccaeb218f-317d69dbd5.zip
Binary file not shown.
Binary file removed
BIN
-32.4 KB
.yarn/cache/@remirror-extension-mention-npm-2.0.15-df5042b25c-64f5176b35.zip
Binary file not shown.
Binary file added
BIN
+39.5 KB
.yarn/cache/@remirror-extension-mention-npm-3.0.1-e70ead2884-ff0bc4e1cc.zip
Binary file not shown.
Binary file removed
BIN
-27.9 KB
.yarn/cache/@remirror-extension-node-formatting-npm-2.0.13-acdf928a62-8d2689746c.zip
Binary file not shown.
Binary file added
BIN
+34.3 KB
.yarn/cache/@remirror-extension-node-formatting-npm-3.0.1-567770d573-ef3cc2ee93.zip
Binary file not shown.
Binary file removed
BIN
-22.6 KB
.yarn/cache/@remirror-extension-paragraph-npm-2.0.13-ea7de9fc53-15af44c017.zip
Binary file not shown.
Binary file added
BIN
+27.7 KB
.yarn/cache/@remirror-extension-paragraph-npm-3.0.1-96afd87d72-19926a5adc.zip
Binary file not shown.
Binary file removed
BIN
-25.3 KB
.yarn/cache/@remirror-extension-placeholder-npm-2.0.14-0e618ea06c-958ce70f26.zip
Binary file not shown.
Binary file added
BIN
+29.2 KB
.yarn/cache/@remirror-extension-placeholder-npm-3.0.1-97e3b1ba06-1c5b5321ef.zip
Binary file not shown.
Binary file removed
BIN
-44.3 KB
.yarn/cache/@remirror-extension-positioner-npm-2.1.8-8626d5a2bf-0fa3956a72.zip
Binary file not shown.
Binary file added
BIN
+54.5 KB
.yarn/cache/@remirror-extension-positioner-npm-3.0.1-5efad1c285-2cafc42198.zip
Binary file not shown.
Binary file removed
BIN
-40.5 KB
.yarn/cache/@remirror-extension-react-component-npm-2.0.13-940e766bba-50fb651fc7.zip
Binary file not shown.
Binary file added
BIN
+49.3 KB
.yarn/cache/@remirror-extension-react-component-npm-3.0.1-f14af4325a-ad8b307fd3.zip
Binary file not shown.
Binary file removed
BIN
-129 KB
.yarn/cache/@remirror-extension-react-tables-npm-2.2.19-8bf25250f6-84d45a0f22.zip
Binary file not shown.
Binary file added
BIN
+92.5 KB
.yarn/cache/@remirror-extension-react-tables-npm-3.0.1-9c1c23d116-878ee131c9.zip
Binary file not shown.
Binary file removed
BIN
-26.1 KB
.yarn/cache/@remirror-extension-search-npm-2.0.14-722194ee5d-c44879dd37.zip
Binary file not shown.
Binary file removed
BIN
-21.3 KB
.yarn/cache/@remirror-extension-shortcuts-npm-2.0.13-9c85c80994-06caad2bd9.zip
Binary file not shown.
Binary file added
BIN
+24.6 KB
.yarn/cache/@remirror-extension-shortcuts-npm-3.0.1-6570b77c78-24c7fb6931.zip
Binary file not shown.
Binary file removed
BIN
-22.1 KB
.yarn/cache/@remirror-extension-strike-npm-2.0.13-a647dc638d-46f35f4856.zip
Binary file not shown.
Binary file added
BIN
+27 KB
.yarn/cache/@remirror-extension-strike-npm-3.0.1-bc58998d04-be2a46b9e3.zip
Binary file not shown.
Binary file removed
BIN
-21.1 KB
.yarn/cache/@remirror-extension-sub-npm-2.0.13-0ea686b54b-78c3809321.zip
Binary file not shown.
Binary file added
BIN
+25.9 KB
.yarn/cache/@remirror-extension-sub-npm-3.0.1-dee2d14f71-1705877f9b.zip
Binary file not shown.
Binary file removed
BIN
-21.1 KB
.yarn/cache/@remirror-extension-sup-npm-2.0.13-a6ea9d2ae0-9e8d3f11fb.zip
Binary file not shown.
Binary file added
BIN
+25.9 KB
.yarn/cache/@remirror-extension-sup-npm-3.0.1-7e60261e2e-1e1c8cfffc.zip
Binary file not shown.
Binary file removed
BIN
-37.4 KB
.yarn/cache/@remirror-extension-tables-npm-2.3.1-5b2bbdb4e0-efed1c4b9e.zip
Binary file not shown.
Binary file removed
BIN
-40.6 KB
.yarn/cache/@remirror-extension-tables-npm-2.4.1-4dca19bb4d-aa24bff4e0.zip
Binary file not shown.
Binary file added
BIN
+46.1 KB
.yarn/cache/@remirror-extension-tables-npm-3.0.1-f1cf181142-b2a35da42a.zip
Binary file not shown.
Binary file removed
BIN
-23.2 KB
.yarn/cache/@remirror-extension-text-case-npm-2.0.13-f221d2033a-4244b9d30c.zip
Binary file not shown.
Binary file added
BIN
+28.5 KB
.yarn/cache/@remirror-extension-text-case-npm-3.0.1-e5c41397bd-d56e6c8ebc.zip
Binary file not shown.
Binary file removed
BIN
-31.7 KB
.yarn/cache/@remirror-extension-text-color-npm-2.0.15-5004eb7a99-5f16aa72aa.zip
Binary file not shown.
Binary file added
BIN
+37.1 KB
.yarn/cache/@remirror-extension-text-color-npm-3.0.1-7928d49345-8c0d2d6ad2.zip
Binary file not shown.
Binary file removed
BIN
-23.2 KB
.yarn/cache/@remirror-extension-text-highlight-npm-2.0.14-8dcea8ca83-e32676a03c.zip
Binary file not shown.
Binary file added
BIN
+28.7 KB
.yarn/cache/@remirror-extension-text-highlight-npm-3.0.1-dc293345e6-c5137cf214.zip
Binary file not shown.
Binary file removed
BIN
-20.4 KB
.yarn/cache/@remirror-extension-text-npm-2.0.13-a60b1ba4ac-22b6f2b07e.zip
Binary file not shown.
Binary file added
BIN
+23.6 KB
.yarn/cache/@remirror-extension-text-npm-3.0.1-f4aecd0ff9-84ea33dba9.zip
Binary file not shown.
Binary file removed
BIN
-22.2 KB
.yarn/cache/@remirror-extension-trailing-node-npm-2.0.13-ee7eb249c7-d35a8abc1a.zip
Binary file not shown.
Binary file added
BIN
+26 KB
.yarn/cache/@remirror-extension-trailing-node-npm-3.0.1-e8137c516a-01d5870320.zip
Binary file not shown.
Binary file removed
BIN
-22 KB
.yarn/cache/@remirror-extension-underline-npm-2.0.13-81e19ca149-1719bea649.zip
Binary file not shown.
Binary file added
BIN
+27 KB
.yarn/cache/@remirror-extension-underline-npm-3.0.1-9af36bee9a-90aebedea7.zip
Binary file not shown.
Binary file removed
BIN
-27.3 KB
.yarn/cache/@remirror-extension-whitespace-npm-2.0.13-ca3623ea9c-fbb8ad5ecb.zip
Binary file not shown.
Binary file added
BIN
+33.3 KB
.yarn/cache/@remirror-extension-whitespace-npm-3.0.1-4423056271-422047d769.zip
Binary file not shown.
Binary file removed
BIN
-30 KB
.yarn/cache/@remirror-extension-yjs-npm-3.0.15-a7a3f4b236-c0c1b19de8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-23 KB
.yarn/cache/@remirror-preset-core-npm-2.0.16-1f4285b151-52924a5f75.zip
Binary file not shown.
Binary file added
BIN
+25.3 KB
.yarn/cache/@remirror-preset-core-npm-3.0.1-d8ebf3e87f-9ad868e50d.zip
Binary file not shown.
Binary file removed
BIN
-8.62 KB
.yarn/cache/@remirror-preset-formatting-npm-2.0.14-4f31d51862-f7dd8a7e6e.zip
Binary file not shown.
Binary file added
BIN
+9.64 KB
.yarn/cache/@remirror-preset-formatting-npm-3.0.1-542d722451-64dc4eb884.zip
Binary file not shown.
Binary file removed
BIN
-22.2 KB
.yarn/cache/@remirror-preset-react-npm-2.0.14-9d611a6a49-7af1768cf9.zip
Binary file not shown.
Binary file added
BIN
+25.9 KB
.yarn/cache/@remirror-preset-react-npm-3.0.1-e3e2dd4b42-8aa2ba33b6.zip
Binary file not shown.
Binary file removed
BIN
-29.7 KB
.yarn/cache/@remirror-preset-wysiwyg-npm-2.0.19-fb37806384-af5d751c61.zip
Binary file not shown.
Binary file added
BIN
+31.9 KB
.yarn/cache/@remirror-preset-wysiwyg-npm-3.0.1-c4a6096acd-58dfc36082.zip
Binary file not shown.
Binary file removed
BIN
-309 KB
.yarn/cache/@remirror-react-components-npm-2.1.17-13c301c76c-87267b7bad.zip
Binary file not shown.
Binary file added
BIN
+425 KB
.yarn/cache/@remirror-react-components-npm-3.0.1-e62700a62e-65e37a4f1d.zip
Binary file not shown.
Binary file removed
BIN
-73.3 KB
.yarn/cache/@remirror-react-core-npm-2.0.21-8591d96485-343994e1d3.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-114 KB
.yarn/cache/@remirror-react-editors-npm-1.0.41-511016e71f-2a34905c10.zip
Binary file not shown.
Binary file added
BIN
+117 KB
.yarn/cache/@remirror-react-editors-npm-2.0.1-f4c0e4935d-24ecc6761a.zip
Binary file not shown.
Binary file removed
BIN
-118 KB
.yarn/cache/@remirror-react-hooks-npm-2.0.25-47bc561a3b-4350197915.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-27.1 KB
.yarn/cache/@remirror-react-renderer-npm-2.0.13-e498b9de4d-ae0dc05923.zip
Binary file not shown.
Binary file added
BIN
+29.3 KB
.yarn/cache/@remirror-react-renderer-npm-3.0.1-621c2c0339-17b76d8e90.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-17.8 KB
.yarn/cache/@remirror-react-utils-npm-2.0.7-bec3962d09-6b7ce15025.zip
Binary file not shown.
Binary file added
BIN
+19.9 KB
.yarn/cache/@remirror-react-utils-npm-3.0.0-fa23e1e7d6-82fc495ef1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-60.7 KB
.yarn/cache/@types-codemirror-npm-5.60.10-c3b3391841-c5977db039.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14.8 KB
.yarn/cache/create-context-state-npm-2.0.2-dfc9e3c444-8304912a54.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-22.7 KB
.yarn/cache/prosemirror-history-npm-1.3.2-cc128c8ee6-b85fe6378a.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-19.5 KB
.yarn/cache/prosemirror-inputrules-npm-1.2.1-b0e0cd0831-fc414d8376.zip
Binary file not shown.
Binary file added
BIN
+20.6 KB
.yarn/cache/prosemirror-inputrules-npm-1.4.0-14c674c300-b893eff382.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-23.5 KB
.yarn/cache/prosemirror-paste-rules-npm-2.0.7-4ecff9958c-d59ddf25fb.zip
Binary file not shown.
Binary file added
BIN
+26.4 KB
.yarn/cache/prosemirror-paste-rules-npm-3.0.0-937465b252-f1b0b5c6c7.zip
Binary file not shown.
Binary file removed
BIN
-26.6 KB
.yarn/cache/prosemirror-resizable-view-npm-2.0.14-2056930537-8e22b530f9.zip
Binary file not shown.
Binary file added
BIN
+27.9 KB
.yarn/cache/prosemirror-resizable-view-npm-3.0.0-5274e791a6-52cf629683.zip
Binary file not shown.
Binary file removed
BIN
-18.9 KB
.yarn/cache/prosemirror-schema-list-npm-1.3.0-23c1830a7e-03654e37c8.zip
Binary file not shown.
Binary file added
BIN
+19.5 KB
.yarn/cache/prosemirror-schema-list-npm-1.4.1-a3b29b7170-dde0c96cc2.zip
Binary file not shown.
Binary file removed
BIN
-58.6 KB
.yarn/cache/prosemirror-suggest-npm-2.0.6-c5bdfebc81-79da37d9ba.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.9 KB
.yarn/cache/prosemirror-trailing-node-npm-2.0.7-ff857d7714-6bca94df1f.zip
Binary file not shown.
Binary file added
BIN
+12 KB
.yarn/cache/prosemirror-trailing-node-npm-3.0.0-909bd6d36d-ba8081fb01.zip
Binary file not shown.
Binary file added
BIN
+81.4 KB
.yarn/cache/prosemirror-transform-npm-1.10.0-c36ebced12-4cacb4ef83.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,34 @@ | ||
"use client"; | ||
|
||
import { Details } from "@components/admin/blogs/editor/details"; | ||
import BlogEditorLayout from "@components/admin/blogs/editor/layout"; | ||
import { | ||
AddressContext, | ||
ProfileContext, | ||
SiteInfoContext, | ||
} from "@components/contexts"; | ||
import { Profile } from "@courselit/common-models"; | ||
import { useContext } from "react"; | ||
|
||
export default function Page({ params }: { params: { id: string } }) { | ||
const address = useContext(AddressContext); | ||
const profile = useContext(ProfileContext); | ||
const siteinfo = useContext(SiteInfoContext); | ||
const { id } = params; | ||
|
||
return ( | ||
<BlogEditorLayout | ||
id={id} | ||
profile={profile as Profile} | ||
siteInfo={siteinfo} | ||
address={address} | ||
prefix="dashboard2" | ||
> | ||
<Details | ||
id={id as string} | ||
address={address} | ||
profile={profile as Profile} | ||
/> | ||
</BlogEditorLayout> | ||
); | ||
} |
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,30 @@ | ||
"use client"; | ||
|
||
import { Publish } from "@components/admin/blogs/editor/publish"; | ||
import BlogEditorLayout from "@components/admin/blogs/editor/layout"; | ||
import { | ||
AddressContext, | ||
ProfileContext, | ||
SiteInfoContext, | ||
} from "@components/contexts"; | ||
import { Profile } from "@courselit/common-models"; | ||
import { useContext } from "react"; | ||
|
||
export default function Page({ params }: { params: { id: string } }) { | ||
const address = useContext(AddressContext); | ||
const profile = useContext(ProfileContext); | ||
const siteinfo = useContext(SiteInfoContext); | ||
const { id } = params; | ||
|
||
return ( | ||
<BlogEditorLayout | ||
id={id} | ||
profile={profile as Profile} | ||
siteInfo={siteinfo} | ||
address={address} | ||
prefix="dashboard2" | ||
> | ||
<Publish id={id} address={address} loading={false} /> | ||
</BlogEditorLayout> | ||
); | ||
} |
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,23 @@ | ||
"use client"; | ||
|
||
import { ProfileContext } from "@components/contexts"; | ||
import { UIConstants } from "@courselit/common-models"; | ||
import { checkPermission } from "@courselit/utils"; | ||
import { redirect } from "next/navigation"; | ||
import { useContext } from "react"; | ||
const { permissions } = UIConstants; | ||
|
||
export default function Page({ children }) { | ||
const profile = useContext(ProfileContext); | ||
|
||
if ( | ||
!checkPermission(profile.permissions!, [ | ||
permissions.manageAnyCourse, | ||
permissions.manageCourse, | ||
]) | ||
) { | ||
redirect("/dashboard2"); | ||
} | ||
|
||
return <div className="mx-auto lg:max-w-[1200px] w-full">{children}</div>; | ||
} |
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,11 @@ | ||
"use client"; | ||
|
||
import { NewBlog } from "@components/admin/blogs/new-blog"; | ||
import { AddressContext } from "@components/contexts"; | ||
import { useContext } from "react"; | ||
|
||
export default function Page() { | ||
const address = useContext(AddressContext); | ||
|
||
return <NewBlog address={address} networkAction={false} />; | ||
} |
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,11 @@ | ||
"use client"; | ||
|
||
import { AddressContext } from "@components/contexts"; | ||
import { TextEditor } from "@courselit/components-library"; | ||
import { useContext } from "react"; | ||
|
||
export default function Page() { | ||
const address = useContext(AddressContext); | ||
|
||
return <TextEditor onChange={() => {}} url={address.backend} />; | ||
} |
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,36 @@ | ||
"use client"; | ||
|
||
import { Index as Blogs } from "@components/admin/blogs"; | ||
import { | ||
AddressContext, | ||
ProfileContext, | ||
SiteInfoContext, | ||
} from "@components/contexts"; | ||
import { UIConstants } from "@courselit/common-models"; | ||
import { Link } from "@courselit/components-library"; | ||
import { checkPermission } from "@courselit/utils"; | ||
import { redirect } from "next/navigation"; | ||
import { useContext } from "react"; | ||
const { permissions } = UIConstants; | ||
|
||
export default function Page() { | ||
const address = useContext(AddressContext); | ||
const profile = useContext(ProfileContext); | ||
const siteinfo = useContext(SiteInfoContext); | ||
|
||
if ( | ||
!checkPermission(profile.permissions!, [ | ||
permissions.manageAnyCourse, | ||
permissions.manageCourse, | ||
]) | ||
) { | ||
redirect("/dashboard2"); | ||
} | ||
|
||
return ( | ||
<div className="mx-auto lg:max-w-[1200px] w-full"> | ||
<Link href="/dashboard2/blog/test">Test</Link> | ||
<Blogs address={address} loading={false} siteinfo={siteinfo} /> | ||
</div> | ||
); | ||
} |
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,101 @@ | ||
import React, { ReactNode } from "react"; | ||
import { auth } from "@/auth"; | ||
import Layout from "@components/layout"; | ||
import { FetchBuilder } from "@courselit/utils"; | ||
import { headers } from "next/headers"; | ||
import { getBackendAddress } from "@ui-lib/utils"; | ||
import { defaultState } from "@components/default-state"; | ||
import { decode } from "base-64"; | ||
import { SiteInfo } from "@courselit/common-models"; | ||
import { redirect } from "next/navigation"; | ||
import "../../styles/globals.css"; | ||
|
||
interface PageProps { | ||
children: ReactNode; | ||
} | ||
|
||
export default async function Page({ children }: PageProps) { | ||
const session = await auth(); | ||
if (!session) { | ||
redirect("/login"); | ||
} | ||
const headersList = headers(); | ||
const address = getBackendAddress({ | ||
"x-forwarded-proto": headersList.get("x-forwarded-proto"), | ||
host: headersList.get("host"), | ||
}); | ||
|
||
const siteInfoQuery = ` | ||
{ site: getSiteInfo { | ||
name, | ||
settings { | ||
title, | ||
subtitle, | ||
logo { | ||
file, | ||
caption | ||
}, | ||
currencyISOCode, | ||
paymentMethod, | ||
stripeKey, | ||
codeInjectionHead, | ||
codeInjectionBody, | ||
mailingAddress, | ||
hideCourseLitBranding, | ||
razorpayKey, | ||
}, | ||
theme { | ||
name, | ||
active, | ||
styles, | ||
url | ||
}, | ||
typefaces { | ||
section, | ||
typeface, | ||
fontWeights | ||
}, | ||
} | ||
} | ||
`; | ||
const siteInfoFetch = new FetchBuilder() | ||
.setUrl(`${address}/api/graph`) | ||
.setPayload(siteInfoQuery) | ||
.setIsGraphQLEndpoint(true) | ||
.build(); | ||
const siteInfoResponse = await siteInfoFetch.exec(); | ||
let finalSiteInfo: SiteInfo = {}; | ||
if (siteInfoResponse.site.settings) { | ||
const siteinfo = siteInfoResponse.site.settings; | ||
finalSiteInfo = { | ||
title: siteinfo.title || defaultState.siteinfo.title, | ||
subtitle: siteinfo.subtitle || defaultState.siteinfo.subtitle, | ||
logo: siteinfo.logo || defaultState.siteinfo.logo, | ||
currencyISOCode: | ||
siteinfo.currencyISOCode || | ||
defaultState.siteinfo.currencyISOCode, | ||
paymentMethod: | ||
siteinfo.paymentMethod || defaultState.siteinfo.paymentMethod, | ||
stripeKey: siteinfo.stripeKey || defaultState.siteinfo.stripeKey, | ||
codeInjectionHead: | ||
decode(siteinfo.codeInjectionHead) || | ||
defaultState.siteinfo.codeInjectionHead, | ||
codeInjectionBody: | ||
decode(siteinfo.codeInjectionBody) || | ||
defaultState.siteinfo.codeInjectionBody, | ||
mailingAddress: | ||
siteinfo.mailingAddress || defaultState.siteinfo.mailingAddress, | ||
hideCourseLitBranding: | ||
siteinfo.hideCourseLitBranding || | ||
defaultState.siteinfo.hideCourseLitBranding, | ||
razorpayKey: | ||
siteinfo.razorpayKey || defaultState.siteinfo.razorpayKey, | ||
}; | ||
} | ||
|
||
return ( | ||
<Layout session={session} address={address} siteinfo={finalSiteInfo}> | ||
{children} | ||
</Layout> | ||
); | ||
} |
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,104 @@ | ||
"use client"; | ||
|
||
import { AddressContext, ProfileContext } from "@components/contexts"; | ||
import { | ||
Button2, | ||
Link, | ||
Section, | ||
Skeleton, | ||
} from "@courselit/components-library"; | ||
import { FetchBuilder } from "@courselit/utils"; | ||
import { | ||
ACCOUNT_NO_PURCHASE_PLACEHOLDER, | ||
ACCOUNT_PROGRESS_SUFFIX, | ||
MY_CONTENT_HEADER, | ||
VISIT_COURSE_BUTTON, | ||
} from "@ui-config/strings"; | ||
import { useContext, useEffect, useState } from "react"; | ||
|
||
export default function Page() { | ||
const [courses, setCourses] = useState([]); | ||
const [loaded, setLoaded] = useState(false); | ||
|
||
const profile = useContext(ProfileContext); | ||
const address = useContext(AddressContext); | ||
|
||
useEffect(() => { | ||
const loadEnrolledCourses = async () => { | ||
const query = ` | ||
query { | ||
courses: getEnrolledCourses (userId: "${profile.userId}"){ | ||
courseId, | ||
title, | ||
type, | ||
slug, | ||
progress | ||
} | ||
} | ||
`; | ||
try { | ||
const fetch = new FetchBuilder() | ||
.setUrl(`${address.backend}/api/graph`) | ||
.setPayload(query) | ||
.setIsGraphQLEndpoint(true) | ||
.build(); | ||
const response = await fetch.exec(); | ||
if (response.courses) { | ||
setCourses(response.courses); | ||
} | ||
setLoaded(true); | ||
} catch (e: any) {} | ||
}; | ||
|
||
loadEnrolledCourses(); | ||
}, [address.backend, profile.userId]); | ||
|
||
return ( | ||
<div className="mx-auto lg:max-w-[1200px] w-full"> | ||
<div className="flex flex-col gap-4"> | ||
<h1 className="text-4xl font-semibold mb-2"> | ||
{MY_CONTENT_HEADER} | ||
</h1> | ||
{!loaded && ( | ||
<div className="flex justify-center items-center flex-col gap-4"> | ||
<Skeleton className="w-full h-[120px]" /> | ||
<Skeleton className="w-full h-[110px]" /> | ||
</div> | ||
)} | ||
{loaded && | ||
courses.length > 0 && | ||
courses.map((course: Record<string, string>) => ( | ||
<div className="mb-4" key={course.courseId as string}> | ||
<Section> | ||
<div className="flex items-center justify-between mb-4"> | ||
<h2 className="font-medium text-lg"> | ||
{course.title} | ||
</h2> | ||
<p> | ||
{( | ||
(course.progress as unknown) * 100 | ||
).toFixed(2)} | ||
{ACCOUNT_PROGRESS_SUFFIX} | ||
</p> | ||
</div> | ||
<div className="flex justify-end"> | ||
<div> | ||
<Link | ||
href={`/course/${course.slug}/${course.courseId}`} | ||
> | ||
<Button2> | ||
{VISIT_COURSE_BUTTON} | ||
</Button2> | ||
</Link> | ||
</div> | ||
</div> | ||
</Section> | ||
</div> | ||
))} | ||
{loaded && !courses.length && ( | ||
<p className="p-4">{ACCOUNT_NO_PURCHASE_PLACEHOLDER}</p> | ||
)} | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.