Css is not loading when hosting

I am trying to host a website on github but do not know why it is not hosting as it should be here is my repo link"https://github.com/TalhaMustafa1/nft-test-project.git and here is my website link" https://talhamustafa1.github.io/nft-test-project/
GitHub
GitHub - TalhaMustafa1/nft-test-project
Contribute to TalhaMustafa1/nft-test-project development by creating an account on GitHub.
DR/VRS - We Own The Night
A distributed brand of the future. Join us as we drive the Metaverse
8 Replies
b1mind
b1mind9mo ago
provably cause you need to set a baseURL or something telling the deployment the root is /projectname/ not /
b1mind
b1mind9mo ago
No description
b1mind
b1mind9mo ago
seems your cdn links are not working either
Moni
Moni9mo ago
from where i can set baseUrl
b1mind
b1mind9mo ago
I don't know NextJS sorry maybe someone else can help on that part or you can check the docs.
Moni
Moni9mo ago
i have cloned it and i have delete all of the .js files when i open it using using liveserver on my system it works but when i deploy it .It is having issues
b1mind
b1mind9mo ago
Because on your local dev root is / on github pages its projectName/
b1mind
b1mind9mo ago
next.config.js Options: basePath
Use basePath to deploy a Next.js application under a sub-path of a domain.