Skip to content

Commit e578a26

Browse files
committed
Enable rebrand for our docs and samples
1 parent fc388a0 commit e578a26

File tree

13 files changed

+6
-5
lines changed

13 files changed

+6
-5
lines changed
51 Bytes
Loading
3.25 KB
Loading
2.18 KB
Loading
3.24 KB
Loading
3.23 KB
Loading

docs/images/header-example.png

1.35 KB
Loading
3 Bytes
Loading

samples/Samples.DateInput/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public void ConfigureServices(IServiceCollection services)
2121
{
2222
services.AddGovUkFrontend(options =>
2323
{
24+
options.Rebrand = true;
2425
options.RegisterDateInputModelConverter(typeof(LocalDate), new LocalDateDateInputModelConverter());
2526
options.RegisterDateInputModelConverter(typeof(YearMonth), new YearMonthDateInputModelConverter());
2627
});

samples/Samples.MvcStarter/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
builder.Services.AddGovUkFrontend(options =>
1010
{
11-
options.Rebrand = false;
11+
options.Rebrand = true;
1212

1313
// Un-comment this block if you want to use a CSP nonce instead of hashes
1414
//options.GetCspNonceForRequest = context =>

samples/Samples.Sass/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Add services to the container.
66
builder.Services.AddRazorPages();
77

8-
builder.Services.AddGovUkFrontend();
8+
builder.Services.AddGovUkFrontend(options => options.Rebrand = true);
99

1010
var app = builder.Build();
1111

0 commit comments

Comments
 (0)