RiadhAdrani / slick-portfolio-svelte

Vercel-like style portfolio template for developers.
https://riadhadrani.github.io/slick-portfolio-svelte/
203 stars 105 forks source link

Website Deployed Without Styles: CSS and JS Files Not Loaded Despite '.nojekyll' File #45

Closed seifeddinerezgui closed 2 months ago

seifeddinerezgui commented 2 months ago

Description

After deploying my website using the Svelte portfolio template, I encountered an issue where the site is deployed without styles. It seems that the CSS and JS files referenced in the index.html file inside the build directory are not being loaded properly, even after I created the .nojekyll file within the build directory.

my website link:

https://seifeddinerezgui.github.io/MyPortfolio/ Notice that the deployed site is missing styles, and the browser console shows that the CSS and JS files are not being loaded.

my Repo link:

https://github.com/seifeddinerezgui/MyPortfolio.git

What I Tried

Screenshots :

image

RiadhAdrani commented 2 months ago

Hello @seifeddinerezgui , Just checked out your repo, you didn't activate the github workflow as I mentioned in the readme ? I noticed there is no .nojekyll file in the gh-pages files. Follow these steps and let me know if it didn't work.

seifeddinerezgui commented 2 months ago

it worked , thank you so much bro , i feel proud you are tunisian 👍 , big uppp 💯 https://seifeddinerezgui.github.io/MyPortfolio

RiadhAdrani commented 2 months ago

You are welcome ❤️