Skip to content

Could you please guide me in the way to add cool background to the documentation like you added #1060

Closed Answered by olotfi
Gitstar-OC asked this question in Q&A
Discussion options

You must be logged in to vote

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 example app/docs/layout.ts. The one that has DocsLayout 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:

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@olotfi
Comment options

Answer selected by Gitstar-OC
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants