-
Notifications
You must be signed in to change notification settings - Fork 1
File Structure
All source files (other than wordpress templates) exist in the /src directory. There will be very few reasons you will need to edit anything outside of this directory.
Page templates themselves are php files located in the root of the project are are usually prefixed with 'page_'.
The /src/globals folder is where you will find all global assets, this includes global styles, mixins, images, fonts and javascript
Almost everything in the clarity theme is a component, components are self-contained blocks of code and can be found in /src/components/c-[component-name]. Each component will have at least 2 files, a component.json and a view.php.
For more information about components, see Components
These instructions apply to the main Intranet website system. Please visit https://github.com/ministryofjustice/intranet-base-docker to view the base system for this website.