forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (92 loc) · 4.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!doctype html>
<!-- We set all theme classes to allow critters to inline the theme styles and prevent flickering -->
<html lang="en" class="docs-dark-mode docs-light-mode">
<head>
<script>
// This logic must execute early, so that we set the necessary
// CSS classes to the document node and avoid unstyled content
// from appearing on the page.
const THEME_PREFERENCE_LOCAL_STORAGE_KEY = 'themePreference';
const DARK_MODE_CLASS_NAME = 'docs-dark-mode';
const LIGHT_MODE_CLASS_NAME = 'docs-light-mode';
const PREFERS_COLOR_SCHEME_DARK = '(prefers-color-scheme: dark)';
const theme = localStorage.getItem(THEME_PREFERENCE_LOCAL_STORAGE_KEY) ?? 'auto';
const prefersDark =
window.matchMedia && window.matchMedia(PREFERS_COLOR_SCHEME_DARK).matches;
const documentClassList = this.document.documentElement.classList;
// clearing classes before setting them.
this.document.documentElement.className = '';
if (theme === 'dark' || (theme === 'auto' && prefersDark)) {
documentClassList.add(DARK_MODE_CLASS_NAME);
} else {
documentClassList.add(LIGHT_MODE_CLASS_NAME);
}
if(location.search.includes('uwu')) {
documentClassList.add('uwu');
}
</script>
<style>
.uwu-logo {
display: none;
}
html.uwu .angular-logo {
display: none;
}
html.uwu .uwu-logo {
display: block !important;
}
</style>
<meta charset="utf-8" />
<title>Angular</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Primary Meta Tags -->
<meta name="title" content="Angular" />
<meta name="description" content="The web development framework for building modern apps." />
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="48x48" href="/assets/icons/favicon-48x48.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16x16.png" />
<link rel="manifest" href="/assets/icons/site.webmanifest" />
<link rel="mask-icon" href="/assets/icons/safari-pinned-tab.svg" color="#e90464" />
<link rel="shortcut icon" href="/assets/icons/favicon.ico" />
<link rel="canonical" href="https://angular.dev">
<meta name="apple-mobile-web-app-title" content="Angular" />
<meta name="application-name" content="Angular" />
<meta name="msapplication-TileColor" content="#e90464" />
<meta name="msapplication-config" content="/assets/icons/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://angular.dev/" />
<meta property="og:title" content="Angular" />
<meta
property="og:description"
content="The web development framework for building modern apps."
/>
<meta property="og:image" content="https://angular.dev/assets/images/ng-image.jpg" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://angular.dev/" />
<meta property="twitter:title" content="Angular" />
<meta
property="twitter:description"
content="The web development framework for building modern apps."
/>
<meta property="twitter:image" content="https://angular.dev/assets/images/ng-image.jpg" />
<!-- Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=DM+Mono:ital@0;1&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
rel="stylesheet"
/>
<link rel="preload" href="/assets/textures/gradient.jpg" as="image" />
</head>
<body class="mat-typography docs-scroll-track-transparent-large">
<adev-root></adev-root>
</body>
</html>