main
The theme gives every button a pressed effect -- button:active sets position: relative; top: 1px. Splide renders its arrows as <button>, so they matched it and flipped from absolute to relative positioning for as long as the mouse was held down, jumping 181px out of their centred position mid-click. mousedown and mouseup therefore landed on different elements (the arrow, then the caption overlay behind it), so the browser fired click on their common ancestor and the arrow's own handler never ran. Nothing was logged because nothing errored. Restoring absolute positioning for .splide__arrow:active fixes it. Autoplay and the pagination dots were unaffected throughout, which is why this looked like the arrows specifically were unbound -- they were bound, the click just never reached them. Verified with real mouse clicks (not synthetic .click(), which bypasses hit-testing and masked the bug) on both sites. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Astro Starter Kit: Minimal
npm create astro@latest -- --template minimal
🧑🚀 Seasoned astronaut? Delete this file. Have fun!
🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.json
Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.
There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the public/ directory.
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
👀 Want to learn more?
Feel free to check our documentation or jump into our Discord server.
Languages
CSS
54.6%
JavaScript
24%
Astro
20%
TypeScript
1.4%