-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update page styling to use the DfE styling/layout, and update the bui…
…ld to have webpack build/package up the HTML/JS/(S)CSS etc.
- Loading branch information
1 parent
9e4c163
commit a9f2dfd
Showing
20 changed files
with
926 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Getting started - local development | ||
|
||
- **Software dependencies** | ||
- .NET | ||
- Node | ||
- **Install node dependencies** | ||
- ```shell | ||
cd src/ServiceAssessmentService/ServiceAssessmentService.WebApp | ||
npm install | ||
``` | ||
- **Build the HTML/CSS/JS files** | ||
- ```shell | ||
cd src/ServiceAssessmentService/ServiceAssessmentService.WebApp | ||
npm run buildDev:watch | ||
``` | ||
- **Setup secrets** | ||
- ... | ||
- **Compile the C# code** | ||
- ```shell | ||
cd src/ServiceAssessmentService/ServiceAssessmentService.WebApp | ||
dotnet build | ||
``` | ||
- **Run the application** | ||
- ```shell | ||
cd src/ServiceAssessmentService/ServiceAssessmentService.WebApp | ||
dotnet watch | ||
``` |
16 changes: 16 additions & 0 deletions
16
src/ServiceAssessmentService/ServiceAssessmentService.WebApp/.browserslistrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[javascripts] | ||
supports es6-module | ||
|
||
[stylesheets] | ||
> 0.1% in GB and not dead | ||
last 6 Chrome versions | ||
last 6 Firefox versions | ||
last 6 Edge versions | ||
last 2 Samsung versions | ||
Firefox ESR | ||
Safari >= 11 | ||
iOS >= 11 | ||
ie 11 | ||
|
||
[node] | ||
node 18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/ServiceAssessmentService/ServiceAssessmentService.WebApp/Views/Shared/_Layout.cshtml.css
This file was deleted.
Oops, something went wrong.
13 changes: 10 additions & 3 deletions
13
src/ServiceAssessmentService/ServiceAssessmentService.WebApp/Views/_ViewStart.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
@{ | ||
Layout = "_Layout"; | ||
} | ||
@* | ||
This file, at the application root folder (next to Program.cs), is shared between all views (including within areas). | ||
This provides a common default layout for the entire application. | ||
See also: | ||
- https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/areas?view=aspnetcore-7.0#shared-layout-for-razor-pages-areas | ||
*@ | ||
|
||
@{ | ||
Layout = "_DfE_1200px_Layout"; | ||
} |
Empty file modified
0
...iceAssessmentService/ServiceAssessmentService.WebApp/assets/fonts/bold-affa96571d-v2.woff
100755 → 100644
Empty file.
Empty file modified
0
...ceAssessmentService/ServiceAssessmentService.WebApp/assets/fonts/bold-b542beb274-v2.woff2
100755 → 100644
Empty file.
Empty file modified
0
...eAssessmentService/ServiceAssessmentService.WebApp/assets/fonts/light-94a07e06a1-v2.woff2
100755 → 100644
Empty file.
Empty file modified
0
...ceAssessmentService/ServiceAssessmentService.WebApp/assets/fonts/light-f591b13f7d-v2.woff
100755 → 100644
Empty file.
Empty file modified
0
...erviceAssessmentService.WebApp/assets/images/govuk-apple-touch-icon-152x152.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
...erviceAssessmentService.WebApp/assets/images/govuk-apple-touch-icon-167x167.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
...erviceAssessmentService.WebApp/assets/images/govuk-apple-touch-icon-180x180.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
...ervice/ServiceAssessmentService.WebApp/assets/images/govuk-apple-touch-icon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.