1
- <!DOCTYPE html> < html lang ="zh-Hans "> < head >
1
+ <!doctype html>
2
+ < html lang ="zh-Hans ">
3
+
4
+ < head >
2
5
< meta charset ="utf-8 ">
3
6
< title > Angular</ title >
4
7
< meta name ="Description " content ="Angular is a platform for building mobile and desktop web applications.
21
24
< link rel ="apple-touch-icon " sizes ="144x144 " href ="assets/images/favicons/favicon-144x144.png ">
22
25
< link rel ="apple-touch-icon-precomposed " sizes ="144x144 " href ="assets/images/favicons/favicon-144x144.png ">
23
26
24
- <!-- NOTE: These need to be kept in sync with `ngsw-config.json`. -->
25
- < link rel ="stylesheet " href ="assets/css/roboto.css " media =" print " onload =" this.media='all' " > < noscript > < link rel =" stylesheet " href =" assets/css/roboto.css " > </ noscript >
26
- < link rel ="stylesheet " href ="assets/css/roboto-mono.css " media =" print " onload =" this.media='all' " > < noscript > < link rel =" stylesheet " href =" assets/css/roboto-mono.css " > </ noscript >
27
- < link rel ="stylesheet " href ="assets/css/material-icons.css " media =" print " onload =" this.media='all' " > < noscript > < link rel =" stylesheet " href =" assets/css/material-icons.css " > </ noscript >
27
+ <!-- NOTE: These need to be kept in sync with `ngsw-config.template. json`. -->
28
+ < link rel ="stylesheet " href ="assets/css/roboto.css ">
29
+ < link rel ="stylesheet " href ="assets/css/roboto-mono.css ">
30
+ < link rel ="stylesheet " href ="assets/css/material-icons.css ">
28
31
<!-- -->
29
32
33
+ < style id ="aio-initial-theme ">
34
+ @import url ("light-theme.css" ) (prefers-color-scheme : light);
35
+ @import url ("dark-theme.css" ) (prefers-color-scheme : dark);
36
+ </ style >
37
+
30
38
< link rel ="manifest " href ="pwa-manifest.json ">
31
39
< meta name ="theme-color " content ="#1976d2 ">
32
40
< meta name ="apple-mobile-web-app-capable " content ="yes ">
37
45
// Note this is a customised version of the GA tracking snippet
38
46
// See the comments below for more info
39
47
( function ( i , s , o , g , r , a , m ) {
48
+ if ( i . trustedTypes ) {
49
+ // Specify path as a TrustedScriptURL when Trusted Types are available
50
+ g = i . trustedTypes . createPolicy ( 'aio#analytics' , {
51
+ createScriptURL : function ( s ) { return s ; }
52
+ } ) . createScriptURL ( g ) ;
53
+ }
40
54
i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
41
55
( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments )
42
56
} , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
55
69
function formatError ( msg , url , line , col , e ) {
56
70
var stack ;
57
71
msg = msg . replace ( / ^ E r r o r : / , '' ) ;
58
- if ( e ) {
72
+ if ( e && e . stack ) {
59
73
stack = e . stack
60
74
// strip the leading "Error: " from the stack trace
61
75
. replace ( / ^ E r r o r : / , '' )
79
93
} ;
80
94
</ script >
81
95
82
- < style > html { font-size : 62.5 % ;} body { font-family : Roboto , Helvetica Neue Light , Helvetica Neue , Helvetica , Arial , Lucida Grande , sans-serif; margin : 0 ; color : # 444 ; font-size : 16 px ; font-size : 1.6 rem ; -webkit-font-smoothing : antialiased; -moz-osx-font-smoothing : grayscale;} body , html { height : 100 % ;} body { background-color : # fff ;} @media print{ * { box-shadow : none !important ;} body { background : none !important ;}} </ style > < link rel ="stylesheet " href ="styles.26c7acdc1e2d44a6f9e6 .css " media =" print " onload =" this.media='all' " > < noscript > < link rel =" stylesheet " href =" styles.26c7acdc1e2d44a6f9e6.css " > </ noscript > </ head >
96
+ < link rel ="stylesheet " href ="styles.5b4f92a7c473c620 .css "> </ head >
83
97
84
98
< body >
85
99
88
102
< noscript >
89
103
< div class ="background-sky hero "> </ div >
90
104
< section id ="intro " style ="text-shadow: 1px 1px #1976d2; ">
91
- < div class ="hero-logo ">
92
- < img src ="assets/images/logos/angular/angular.svg " width ="250 " height ="250 " alt ="Angular ">
93
- </ div >
105
+ < div class ="hero-logo "> </ div >
94
106
< div class ="homepage-container ">
95
107
< div class ="hero-headline "> 现代 Web 开发平台</ div >
96
108
</ div >
97
109
</ section >
98
- < h2 style ="color: red; margin-top: 40px; position: relative; text-align: center; text-shadow: 1px 1px #fafafa; ">
110
+ < h2 style ="color: red; margin-top: 40px; position: relative; text-align: center; text-shadow: 1px 1px #fafafa; border-top: none; ">
99
111
< b > < i > 该网站需要浏览器支持 JavaScript </ i > </ b >
100
112
</ h2 >
101
113
</ noscript >
102
114
103
- <!--
104
- Custom Elements polyfills required for browsers that natively support Custom Elements but not
105
- ES2015 modules. (See `custom-elements-es5-polyfills.js` for more info.)
106
-
107
- NOTE:
108
- The polyfills here will be loaded before the ones in `polyfills.ts` (including
109
- `@webcomponents/custom-elements`). This is fine, because the polyfills here are only needed on
110
- browsers that natively support Custom Elements, on which `@webcomponents/custom-elements` will
111
- be a no-op (so the order of loading does not matter).
112
- -->
113
- < script src ="generated/js/custom-elements-es5-polyfills.js " nomodule > </ script >
114
-
115
- < script src ="runtime-es2015.21b5bccd7c09e26ec8c2.js " type ="module "> </ script > < script src ="runtime-es5.21b5bccd7c09e26ec8c2.js " nomodule defer > </ script > < script src ="polyfills-es5.bdf52e612630cfccaf6d.js " nomodule defer > </ script > < script src ="polyfills-es2015.e88e400822cab8b930d3.js " type ="module "> </ script > < script src ="main-es2015.2bf9ef987c7f9c062694.js " type ="module "> </ script > < script src ="main-es5.2bf9ef987c7f9c062694.js " nomodule defer > </ script >
116
-
115
+ < script src ="runtime.e137d147975253b9.js " type ="module "> </ script > < script src ="polyfills.598fc0fbb601048a.js " type ="module "> </ script > < script src ="main.917030baf5629541.js " type ="module "> </ script > </ body >
117
116
118
- </ body > </ html >
117
+ </ html >
0 commit comments