feat(surprise): Website by Docusaurus#26
feat(surprise): Website by Docusaurus#26sumeshir26 merged 29 commits intoFutura-Py:masterfrom im-coder-lg:website
Conversation
Check the comment too
|
Wait how is it 9008+ additions? Deleting the blog part! |
|
Can you share a screenshot? |
|
And from now on, only Squash and Merge to not spam tens of commits on the main branch |
My Gitpod slowed down, it's weird since this never happened to me. I will switch my browser and send the screenshot. |
|
Okay |
|
|
|
I figured out how to add and customize the documentation. :::danger <!--can also be tip and adding this on the line becomes the title-->
Content(add the spacing above and below)
::: |
Till now, favcion replaced, links changed, documentation removed. Blog removed too.
|
We are clearly making progress here! @sumeshir26 do you have any kind of idea to compile/transform Markdown to JSX? It turns out that you need to use JS/JSX for the landing page. |
|
Also, I literally tricked Vercel to accept another branch of my fork, so we might be in luck for GitHub edits as of now. |
|
https://docusaurus.io/docs/markdown-features/admonitions |
|
To convert try demo.showdown.com |
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
/* code above */
+++ colorMode: {
+++ defaultMode: 'light',
+++ disableSwitch: false,
+++ respectPrefersColorScheme: false,
+++ switchConfig: {
+++ darkIcon: '🌙',
+++ darkIconStyle: {
+++ marginLeft: '2px',
+++ },
/*
Unicode icons such as '\u2600' will work
Unicode with 5 chars require brackets: '\u{1F602}'
but I don't get the point of unicodes when we have GitHub emojis, right?
// this is old. lightIcon: '\u{1F602}',
*/
+++ lightIcon: '\u{1F4A1}',
+++ lightIconStyle: {
+++ marginLeft: '1px',
+++ },
+++ },
},New additions yet to commit, what do you think? Straight from Docusaurus. |
|
I don't see the point of a dark mode icon, it's barely visible for me. Anyway, I'll commit it and test Vercel deployments. |
I will try following the pro way of naming commits.
|
It works neatly with Unicodes! I'm going to ask users to use Compart.com when it comes to editing icon unicodes here. |
That would ask more people to contribute and help us.
|
Ready for merge! For me, it's LGTM, except for the huge additions and deletions(idk why maybe the millions of JS files that were ignored or what?).
|
|
Latest: https://timer-x-fork.vercel.app |
|
/ping @sumeshir26 |
|
sick |
yeah too sick as heck(i hate swearing) |
|
/ping @sumeshir26 why aren't you responding at all? |
|
rerequesting review |
|
@im-coder-lg wait for a few days |
|
But I recommend merging this since that'd decrease additions. No idea than that since that'd be better. |
|
Also, a suggestion, we could also use this for icons. I know Vercel'd curve the icons a bit, but I genuinely think the about button icon must come from here. |
|
|
|
Ok |
For the SVG or merging? Need some more context. |
|
Svg |
Seems unrelevant but the Gitpod image... That is to blame.
Stupid me
|
Starting the next changes soon. |
|
YOu got Vercel? |

We got some good progress going on here!
I am using Docusaurus. Yes, the same is being used at Xplorer. I initially took it for a test and it works really well. You have documentation, a beautiful React-based landing page. You got JAMStack as well as Vercel support which has PR previews. Once I got everything good for the initial part, I'll merge this myself and I will take care of the website.
This is for tracking progress(credits to @not-nef for that part, best to keep you all informed too), as well as some other goodies like bonus points, syntax, etc.
So, here are my next steps to do:
pls ack
Closes #23