NextJS application for the dibbs landing page. This project builds into a static site.
This site (currently just one page) is implemented with the NextJS framework. Pages were built using @uswds/uswds
and @trussworks/react-uswds
. The USWDS settings have been adjusted with the DIBBs design system palette.
You will need node v20+
installed. To install app dependencies run command:
npm install
Start the application in watch mode and hot reload with command:
npm run dev
Application will be available in http://localhost:3000
.
This project uses lefthook
to trigger linting fixes on commit. As part of the local development setup install lefthook in your local and run below command at the root:
lefthook install
To obtain the static assets run command:
npm run build
Assets will be available in the out
folder at the root of the project. To see how the static assets look like install http-server and run command:
http-server out
Application will be available in http://localhost:8080
.