mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
fab507ef11de6d0a720294eba56c0873d463e089
* fix(seo): og:title parsing & remove synopsis meta since it's dynamic * cleanup(seo): consistent imports & newlines at eof * Removed viewport meta tag from layout since it's duplicate * siteMetadata => useSiteMeta; inline pageTitle; consistent defaultProps
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://animethemes.dev" 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 anime covers and synopsis.
- AnimeThemes' own API
Description
Languages
TypeScript
99.5%
SCSS
0.5%