Skip to content

Commit 3950cdd

Browse files
authored
Use theme as a static asset (#264)
1 parent 8813362 commit 3950cdd

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

common/razor-components/mvc-views/Views/Shared/_Layout.cshtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
88
<link rel="stylesheet" href="~/css/site.css" />
99

10-
@* Here follow Blazor-related assets. Adding them to the layout enables Blazor components in all pages that use the layout
11-
More on the Telerik assets: https://docs.telerik.com/blazor-ui/getting-started/what-you-need *@
12-
@* Add the Telerik theme *@
13-
<link rel="stylesheet" href="https://unpkg.com/@@progress/kendo-theme-default@@latest/dist/all.css" />
10+
@* Adding the Telerik theme to the _Layout will make it available to all pages that use the layout *@
11+
<link rel="stylesheet" href="~/_content/Telerik.UI.for.Blazor/css/kendo-theme-default/all.css" />
1412
</head>
1513
<body>
1614
<header>

common/razor-components/razor-pages/Pages/Shared/_Layout.cshtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
88
<link rel="stylesheet" href="~/css/site.css" />
99

10-
@* Here follow Blazor-related assets. Adding them to the layout enables Blazor components in all pages that use the layout
11-
More on the Telerik assets: https://docs.telerik.com/blazor-ui/getting-started/what-you-need *@
12-
@* Add the Telerik theme *@
13-
<link rel="stylesheet" href="https://unpkg.com/@@progress/kendo-theme-default@@latest/dist/all.css" />
10+
@* Adding the Telerik theme to the _Layout will make it available to all pages that use the layout *@
11+
<link rel="stylesheet" href="~/_content/Telerik.UI.for.Blazor/css/kendo-theme-default/all.css" />
1412
</head>
1513
<body>
1614
<header>

0 commit comments

Comments
 (0)