A single-page web app containing info on Warcraft III DotA. Currently only has data for heroes. This is the front end part of the website. Layout is not fully responsive, adding support for mobile viewport in the future.
You can view a demo deployed on Netlify here: https://wc3-dota-info.netlify.app/
Run npm install
once first.
- Start up a resource server to fetch resources from. Its endpoint must match the set
SNOWPACK_PUBLIC_RESOURCE_SERVER
environment variable on the host. If you're running on a local environment, you don't need to change anything because it is set tohttp://localhost:4000
by default at the.env
file. - Run
npm start
to run the app in development mode. Open http://localhost:8080 to view it in the browser.
Run npm run build
for building the app for production to the build/
folder. Don't forget to set the appropriate SNOWPACK_PUBLIC_RESOURCE_SERVER
value (the resource API endpoint) before building.
- Make layout responsive on various viewport sizes and orientations.
- Add items.
- Handle other abilities of heroes not in
UnitAbilities.slk
.
- flowtsohg (GhostWolf) - I used his mdx-m3-viewer library for the model viewer.
- d07RiV - I took some reference from his wc3data's model viewer code on how to set the camera to portrait view.
- Suke - I used as background his art here which was also used as the loading screen in versions 6.76 to 6.83d.