|
25 | 25 | <Link rel="icon" href="favicon.ico" type="image/x-icon" />
|
26 | 26 | <HeadOutlet @rendermode=renderMode />
|
27 | 27 | <Link rel="apple-touch-icon" sizes="512x512" href="images/icons/bit-icon-512.png" />
|
28 |
| - @if (AppRenderMode.PwaEnabled) |
29 |
| - { |
30 |
| - <Link rel="manifest" href="manifest.json" /> |
31 |
| - } |
| 28 | + <Link rel="manifest" href="manifest.json" /> |
32 | 29 | </head>
|
33 | 30 |
|
34 | 31 | <body class="@BitCss.Class.Color.Background.Primary @BitCss.Class.Color.Foreground.Primary bit-blazor-web">
|
35 | 32 |
|
36 |
| - <!-- Google tag (gtag.js) --> |
37 |
| - <Script async Src="https://www.googletagmanager.com/gtag/js?id=G-G1ET5L69QF"></Script> |
38 |
| - <Script> |
39 |
| - window.dataLayer = window.dataLayer || []; |
40 |
| - function gtag() { dataLayer.push(arguments); } |
41 |
| - gtag('js', new Date()); |
42 |
| -
|
43 |
| - gtag('config', 'G-G1ET5L69QF'); |
44 |
| - </Script> |
45 |
| - <!-- Google tag --> |
46 |
| - <!-- Microsoft Clarity |
47 |
| - <Script> |
48 |
| - (function (c, l, a, r, i, t, y) { |
49 |
| - c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) }; |
50 |
| - t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; |
51 |
| - y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); |
52 |
| - })(window, document, "clarity", "script", "ipec21ezsa"); |
53 |
| - </Script> |
54 |
| - Microsoft Clarity --> |
55 |
| - |
56 | 33 | <Link rel="stylesheet" href="_content/Bit.BlazorUI/styles/bit.blazorui.css" />
|
57 | 34 | <Link rel="stylesheet" href="_content/Bit.BlazorUI.Extras/styles/bit.blazorui.extras.css" />
|
58 | 35 | <Link rel="stylesheet" href="_content/Bit.BlazorUI.Icons/styles/bit.blazorui.icons.css" />
|
|
67 | 44 | }
|
68 | 45 | <Routes @rendermode=renderMode />
|
69 | 46 |
|
70 |
| - <Script src="_framework/blazor.web.js?v=9.0.0" autostart="false"></Script> |
71 |
| - @if (AppRenderMode.PwaEnabled) |
72 |
| - { |
73 |
| - <Script src="_content/Bit.Bswup/bit-bswup.js"></Script> |
74 |
| - <Script src="_content/Bit.Bswup/bit-bswup.progress.js"></Script> |
75 |
| - <AppBswupProgressBar /> |
76 |
| - } |
77 |
| - else |
78 |
| - { |
79 |
| - <Script> |
80 |
| - Blazor.start({ |
81 |
| - webAssembly: { |
82 |
| - loadBootResource: function (type, name, defaultUri, integrity) { |
83 |
| - if (integrity != null && integrity != '') |
84 |
| - return `${defaultUri}?v=${integrity}`; |
85 |
| - return null; // default blazor asset loading mechanism. |
86 |
| - } |
87 |
| - } |
88 |
| - }); |
89 |
| - </Script> |
90 |
| - } |
| 47 | + <Script src="_framework/blazor.web.js" autostart="false"></Script> |
| 48 | + <Script src="_content/Bit.Bswup/bit-bswup.js"></Script> |
| 49 | + <Script src="_content/Bit.Bswup/bit-bswup.progress.js"></Script> |
| 50 | + <AppBswupProgressBar /> |
91 | 51 | <Script src="_content/Bit.BlazorUI.Demo.Client.Core/prism-1.28.0/prism.js"></Script>
|
92 | 52 | <Script src="_content/Bit.BlazorUI/scripts/bit.blazorui.js"></Script>
|
93 | 53 | <Script src="_content/Bit.BlazorUI.Extras/scripts/bit.blazorui.extras.js"></Script>
|
|
0 commit comments