mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
14d06fc1907a2fefd65858796194b732f0bc3dd2
* Rewrote API source plugin to prepare for incremental builds. * Changed the font to Nunito. * Improved display of artist names. * Fixed cover images not taking up the available space leading to too much whitespace. * Fixed several margins.
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%