File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
LinkDotNet.Blog.IntegrationTests/Web/Pages/Admin
LinkDotNet.Blog.Web/Pages Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using System . Threading . Tasks ;
1+ using System . Threading . Tasks ;
32using Blazored . Toast . Services ;
43using Bunit ;
54using Bunit . TestDoubles ;
Original file line number Diff line number Diff line change 1+ namespace LinkDotNet . Blog . Web . Pages ;
2+
3+ public static class DebugHelper
4+ {
5+ #if DEBUG
6+ public const bool IsDebug = true ;
7+ #else
8+ public const bool IsDebug = false ;
9+ #endif
10+
11+ }
Original file line number Diff line number Diff line change 2121 <meta name =" msapplication-TileColor" content =" #da532c" >
2222 <meta name =" theme-color" content =" #ffffff" >
2323 <link rel =" preload" href =" css/bootstrap/bootstrap.min.css" as =" style" onload =" this.onload=null;this.rel='stylesheet'" ><noscript ><link rel =" stylesheet" href =" css/bootstrap/bootstrap.min.css" ></noscript >
24- <link href =" css/bundle.min.css" rel =" stylesheet" />
24+ @if (DebugHelper .IsDebug )
25+ {
26+ <link href =" css/basic.css" rel =" stylesheet" />
27+ }
28+ else
29+ {
30+ <link href =" css/bundle.min.css" rel =" stylesheet" />
31+ }
2532 <link href =" LinkDotNet.Blog.Web.styles.css" rel =" stylesheet" />
2633 <link rel =" preload" href =" _content/Blazored.Toast/blazored-toast.min.css" as =" style" onload =" this.onload=null;this.rel='stylesheet'" ><noscript ><link rel =" stylesheet" href =" _content/Blazored.Toast/blazored-toast.min.css" ></noscript >
2734 <link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity =" sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin =" anonymous" referrerpolicy =" no-referrer" />
You can’t perform that action at this time.
0 commit comments