Skip to content

Commit

Permalink
Update to govuk-frontend 4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad committed Feb 6, 2024
1 parent 37f013f commit 538fa86
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![ci](https://github.com/gunndabad/govuk-frontend-aspnetcore/workflows/ci/badge.svg)
![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/GovUk.Frontend.AspNetCore)

Targets [GDS Frontend v4.7.0](https://github.com/alphagov/govuk-frontend/releases/tag/v4.7.0)
Targets [GDS Frontend v4.8.0](https://github.com/alphagov/govuk-frontend/releases/tag/v4.8.0)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion lib/govuk-frontend
Submodule govuk-frontend updated 426 files
2 changes: 1 addition & 1 deletion src/GovUk.Frontend.AspNetCore/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ namespace GovUk.Frontend.AspNetCore;
internal static class Constants
{
public const string IdAttributeDotReplacement = "_";
public const string GdsLibraryVersion = "4.7.0";
public const string GdsLibraryVersion = "4.8.0";
}
6 changes: 3 additions & 3 deletions src/GovUk.Frontend.AspNetCore/PageTemplateHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public IHtmlContent GenerateScriptImports(string? cspNonce = null)
TagBuilder GenerateImportScript()
{
var tagBuilder = new TagBuilder("script");
tagBuilder.MergeAttribute("src", "/govuk-frontend-4.7.0.min.js");
tagBuilder.MergeAttribute("src", "/govuk-frontend-4.8.0.min.js");
return tagBuilder;
}

Expand All @@ -91,10 +91,10 @@ TagBuilder GenerateInitScript()
/// </remarks>
/// <returns><see cref="IHtmlContent"/> containing the <c>link</c> tags.</returns>
public IHtmlContent GenerateStyleImports() => new HtmlString(@"<!--[if !IE 8]><!-->
<link rel=""stylesheet"" href=""/govuk-frontend-4.7.0.min.css"">
<link rel=""stylesheet"" href=""/govuk-frontend-4.8.0.min.css"">
<!--<![endif]-->
<!--[if IE 8]>
<link rel = ""stylesheet"" href=""/govuk-frontend-ie8-4.7.0.min.css"">
<link rel = ""stylesheet"" href=""/govuk-frontend-ie8-4.8.0.min.css"">
<![endif]-->");

/// <summary>
Expand Down

0 comments on commit 538fa86

Please sign in to comment.