Skip to content

Fix x-carousel demo script path for GitHub Pages#44

Merged
avanelsas merged 1 commit intomainfrom
fix/carousel-demo-script-path
Apr 30, 2026
Merged

Fix x-carousel demo script path for GitHub Pages#44
avanelsas merged 1 commit intomainfrom
fix/carousel-demo-script-path

Conversation

@avanelsas
Copy link
Copy Markdown
Owner

Summary

The x-carousel demo used src="/js/main.js" (absolute path) while all other demos use src="../js/main.js" (relative). On GitHub Pages the site is served under /baredom/, so the absolute path resolves to avanelsas.github.io/js/main.js which doesn't exist.

One-line fix: /js/main.js../js/main.js.

🤖 Generated with Claude Code

Changed /js/main.js to ../js/main.js to match all other demos.
The absolute path breaks on GitHub Pages where the site is served
under /baredom/, not /.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avanelsas avanelsas merged commit 6753af7 into main Apr 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant