Front-end for The Trans Dimension, an online community hub which will connect trans communities across the UK by collating news, events and services by and for trans people in one easy-to-reach place. A collaboration between Gendered Intelligence and Geeks for Social Change.
Funded by the Comic Relief Tech for Good “Build” fund. Read more about the project here.
nvm use
npm install
Copy .env.example
over into .env
and edit as appropriate! This must be done before any of the following will work as it generates src/Constants.elm
which is used in a number of places in the code.
npm start
to start a dev server on http://localhost:3030npm run build
generate a production build in dist/
We recommend integrating elm-format@0.8.3
into your code editor, but if you don't...
npm run format
to format .elm
files in src
before committing code.We're using elm-test-rs to run elm tests. It is required to run either npm start
(quickest) or npm build
at least once in the project before tests will work.
npm test
elm-pages
elm.json
for elm packages used for siteelm-tooling.json
for elm packages used for code.env
is used to generate src/Constants.elm
for elm-pagesscript/*
contains CLI code generation scripts to generate boilerplate for new elm-pages
routes.nvmrc
contains project node versionpackage.json
for node scripts and packagespackage-lock.json
for current versions of node packagespublic/*
contains static files to be copied direct to buildapp/*
contains core files required by elm-pages
. These are boilerplate altered for this project.src/*
contains custom files. These are authoured from scratch for this project.
src/Data/PlaceCal
contains code for fetching, caching and decoding data from PlaceCalsrc/Helpers/
contains utility code (e.g. for handling dates)src/Theme/
contains view code like templates and shared stylingtests/*
contains test filesapp/Route/
automatically generate route based on file namenpx elm-pages run AddStaticStatelessRoute MyRouteName
src/Theme/Page/
content/
src/Copy/Text.elm
Deploys to Cloudflare Pages
main
, the production site is deployedSource code is released under the Hippocratic License.
Graphic design by Studio Squid and © Gendered Intelligence 2022.
Illustrations © Harry Woodgate 2022.
We welcome new contributors but strongly recommend you have a chat with us in Geeks for Social Change's Discord server and say hi before you do. We will be happy to onboard you properly before you get stuck in.
If you'd like to support development, please consider sending us a one-off or regular donation on Ko-fi.