mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
d74c2d33bcf1e7b19b8bfe320187d26cdb48a45f
* #15 fix: Videos with multiple entries are now supported * fix: Fixed z-index issues and wrong entry tags display
AnimeThemes Web Client
Development
npm installnpm run develop
Deployment
Hosting on root path
npm run build- Upload the contents of
publicto your server.
Hosting on sub-path
- Adjust
pathPrefixingatsby-config.jsto your server environment. npm run build-with-paths- Upload the contents of
publicto your server.
Configuration
You can configure certain settings by creating a .env.development (for development) or .env.production (for deployment)
in the client root directory and include the following:
; The URL to the AnimeThemes API to use.
; If not specified, "https://staging.animethemes.moe" is used as a default.
GATSBY_API_URL = http://localhost
Apache Configuration
.htaccess files can be placed in static and will be copied to the public folder during build.
Used technologies
- Gatsby
- styled-components
- SWR
- Font Awesome
- ...some other small packages, see the
package.json.
APIs
- AniList GraphQL API
- Temporarily for fetching artist covers.
- AnimeThemes' own API
Description
Languages
TypeScript
99.5%
SCSS
0.5%