Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 3.41 KB

frontend.md

File metadata and controls

76 lines (45 loc) · 3.41 KB

Frontend developer documentation

If you are a frontend developer you may find this guide useful.

GOVUK resources

This application should be designed to pass a GDS service assessment but it is not expected to be hosted on .gov.uk. The header and footer, for example,
do not carry the Crown logo.

Additional accessibility resources

UX Prototypes

The UX language is efficient and simple. This is the result of much thought and synthesis from the UX team, and considerable research with the users.

The UX team have provided high fidelity mock-ups of the screens and interactions.

Hosting

View the The demonstration site

Tools

You may want to consider using IntelliJ Ultimate with the Scala plugin.

Virtualbox and Microsoft's virtual machine images allow various flavours of IE to be run on the desktop.

If you use macOS it's worth finding out how to use VoiceOver.

On Windows you can use NVDS and JAWS.

Code

The sass for the site is located here: stylesheets

Logically the application sass depends on GDS Elements which depends on GDS Frontend Toolkit, but the SBT sass plugin was unable to set the sass load-path. The following folder structure is the work-around, and it's important to note that because of this the vendor dependencies are actually checked into the source code.

Folder explanation:

  • colours - the colours folder from the GDS Frontend Toolkit
  • design-patterns - also from the GDS Frontend Toolkit
  • elements - files from GDS Elements SASS repo
  • static - files taken from AlphaGov static repo
  • The files in the stylesheets folder itself are from the GDS Frontend Toolkit

The application.scss file pulls everything needed in.