victoriadrake / hugo-theme-introduction

Minimal, single page, smooth-scrolling theme for Hugo static site generator.
https://hugo-introduction.netlify.com/
Apache License 2.0
672 stars 264 forks source link

JS features not working — project preview and toggle menu #335

Closed czarinagluna closed 2 years ago

czarinagluna commented 2 years ago

The website works perfectly on my local machine but the Github page does not. The toggle menu and projects do not open when clicked, which looks like the case for the Netlify demo too.

I read the closed issues and saw some examples of the page deployed successfully. The baseURL in my config.toml file has https:// so that might not be my problem. And I followed the instructions for installing npm and did npm i -g postcss postcss-cli autoprefixer though with errors at first, but I fixed the permissions and it seemed to work on the terminal. If the problem lies there, I can't tell as I'm not familiar with it.

My repo: https://github.com/czarinagluna/czarinagluna.github.io. I used a JS file that I added manually to the theme, and it displays fine on the website's landing page. I used Chrome and Safari on IOS and mobile and the features do not work either way.

I would appreciate any help. And thank you to Victoria for this really good theme.