This is a React app to help me protoype and lay out cover art for Cartoon Beats Reality releases, and wrangle DJ mix playlist metadata for posting radio shows online.
Also includes support for parsing Traktor NML (XML) files and converting to easily editable yaml file, which can then be input to a component that lays out a cover art grid image and tracklist.
- Add the background image to
src/images
. - Make a new React component for the cover. e.g duplicate one of the js files in
src/components/covers
. - Add the cover to the router, so you can preview:
- Add link in
Home
component inApp.js
. - Choose a unique url slug and register in
App()
router inApp.js
.
- Add link in
- Edit the component to customise the cover design, colours, and layout.
npm start
will open the app in a new browser window - http://localhost:3000/- This renders the
Home
component, a preview of each cover. - Click a cover to view it.
- Use browser zoom to zoom in and out. It is rendered really large so we get a high-resolution export.
- Ensure the web app is running and the cover design looks how you want.
- Use
render
script, specifying the cover router slug, for example:
npm run render -- photicreflex
- The rendered image is saved to
renders
folder.
--
This is deployed on Netflify, though I now use it locally.
Deployed on Netlify: https://cbr-coverart.netlify.app/
Though I just run it locally.
This project was bootstrapped with Create React App.
npm start
npm test
npm run build