Thanks for stopping by! This project is a Typescript version of the onepirate theme. It uses create-react-app as a harness for running locally. This is intended as a quick way to play with React, Material-UI, and the onepirate theme to see if it's something you might want to use for your own work. You could also use it as an easy way to get a new project off the ground.
If you're interested in using the onepirate theme but want to work in Typescript, you've come to the right place :) This work has been ported to the MUI project so it should also be available there at some point.
I made a few additional changes (besides porting everything to Typescript and adding CRA):
- Added react router for navigation
- Placed all static resources in /public
- Made some small changes to the way markdown is loaded in Privacy.tsx and Terms.tsx (in my opinion this makes the code a bit more robust/extensible)
If you find this helpful feel free to drop me an email.
Once you clone this repo you can use npm install
and the standard create-react-app scripts to run it locally:
C:\onepirate-typescript> npm install
...
C:\onepirate-typescript> npm run build
...
C:\onepirate-typescript> npm start