Could you please guide me in the way to add cool background to the documentation like you added #1060
-
I am also testing with radial gradients behind it. Thanks. You can just tell me the path to the code file which does this, I will do the remaining things |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I know the library, I was asking for how did you add those things behind the mdx and path to code of your implementation in fumadocs. I want to add a gradient round circle of my choice behind it. |
Beta Was this translation helpful? Give feedback.
-
Yes, thanks for the helping me. I got the component the same day when I checked in the developer tools. |
Beta Was this translation helpful? Give feedback.
Hey @Gitstar-OC, I was looking at doing something similar and liked how it was done in Fumadocs.
You should probably add the gradient + svg in your docs root
layout.ts
. So for exampleapp/docs/layout.ts
. The one that hasDocsLayout
component from Fumadocs. You will have to play around with the positioning to get it right for your case.The one implemented in Fumadocs is the
span
here:fumadocs/apps/docs/app/docs/layout.tsx
Line 44 in 67f860a