forked from FreesmTeam/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
181 lines (175 loc) · 7.72 KB
/
index.html
File metadata and controls
181 lines (175 loc) · 7.72 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!doctype html>
<html id="__html-tag" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Freesm Launcher</title>
<meta name="description" content="A Prism Launcher fork aimed to provide a free way to play Minecraft." />
<meta name="robots" content="NOODP" key="NOODP" />
<meta name="application-name" content="Freesm Launcher">
<meta name="generator" content="Vue.js">
<meta name="category" content="website">
<meta name="format-detection" content="telephone=no">
<meta property="og:title" content="Freesm Launcher">
<meta property="og:description" content="A Prism Launcher fork aimed to provide a free way to play Minecraft.">
<meta property="og:site_name" content="Freesm Launcher">
<meta property="og:image" content="/banner.webp">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Freesm Launcher">
<meta name="twitter:description" content="A Prism Launcher fork aimed to provide a free way to play Minecraft.">
<meta name="twitter:image" content="/banner.webp">
<link rel="icon" href="/favicon.ico" />
<style>
/* Initial UI styles */
@media (width < 640px) {
#__initial-header {
display: none !important;
}
#__initial-bottom-bar {
display: flex !important;
}
}
@media (width < 768px) {
.__initial-header-nav__link {
display: none !important;
}
#__initial-header-row {
gap: 8px !important;
}
#__initial-header-nav {
gap: 8px !important;
}
#__initial-header-nav__last-element {
padding-right: 4px !important;
}
}
</style>
<script>
/* Per-route metadata */
switch (location?.pathname) {
case "/downloads": {
const title = "Downloads - Freesm Launcher";
const description = "Download Freesm Launcher for your platform for free, no ads, no viruses, no SMS, no registration, no calls, no glowies. Or don't do it, it's up to you!";
document.title = title;
document
?.querySelector?.('meta[name="description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[property="og:description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[name="twitter:description"]')
?.setAttribute?.(
"content",
description,
);
break;
}
case "/faq": {
const title = "FAQ - Freesm Launcher";
const description = "A collection of helpful information for frequent problems when using Freesm Launcher.";
document.title = title;
document
?.querySelector?.('meta[name="description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[property="og:description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[name="twitter:description"]')
?.setAttribute?.(
"content",
description,
);
break;
}
case "/themes": {
const title = "Themes - Freesm Launcher";
const description = "Easily create and preview your Freesm Launcher theme in real-time.";
document.title = title;
document
?.querySelector?.('meta[name="description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[property="og:description"]')
?.setAttribute?.(
"content",
description,
);
document
?.querySelector?.('meta[name="twitter:description"]')
?.setAttribute?.(
"content",
description,
);
break;
}
}
</script>
</head>
<body style="margin:0;background:#09090e;color:white">
<div id="app" class="select-none">
<!-- Initial loading UI -->
<!-- These DOM nodes will be overwritten on Vue app mount -->
<div style="width:100%;height:100vh">
<header id="__initial-header" style="position:sticky;top:0;width:100%;height:80px;display:flex;justify-content:center">
<div style="max-width:1280px;width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background:#0c0c14">
<div></div>
<div id="__initial-header-row" style="display:flex;gap:16px;align-items:center">
<div id="__initial-header-nav" style="display:flex;gap:16px">
<p style="font-weight:600">Home</p>
<p style="font-weight:600">Downloads</p>
<p style="font-weight:600">FAQ</p>
<p id="__initial-header-nav__last-element" style="font-weight:600;padding-right:8px">Themes</p>
</div>
<div style="width:2px;height:32px;background:#cba6f7"></div>
<div class="__initial-header-nav__link" style="width:32px;height:32px;background:#11111b;border-radius:100%"></div>
<div class="__initial-header-nav__link" style="width:32px;height:32px;background:#11111b;border-radius:100%"></div>
<div style="width:32px;height:32px;background:#11111b;border-radius:100%"></div>
<div style="width:32px;height:32px;background:#11111b;border-radius:100%;margin-right:16px"></div>
</div>
</div>
</header>
<div id="__initial-bottom-bar" style="position:absolute;bottom:0;width:100%;height:80px;background:#0c0c14;display:none;flex-wrap:nowrap;overflow-x:auto">
<div style="min-width:80px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;flex:1 0 0">
<div style="width:32px;height:32px"></div>
<p style="padding-bottom:4px;text-align:center;font-size:14px;line-height:1;color:#ffffffb3">Home</p>
</div>
<div style="min-width:80px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;flex:1 0 0">
<div style="width:32px;height:32px"></div>
<p style="padding-bottom:4px;text-align:center;font-size:14px;line-height:1;color:#ffffffb3">Downloads</p>
</div>
<div style="min-width:80px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;flex:1 0 0">
<div style="width:32px;height:32px"></div>
<p style="padding-bottom:4px;text-align:center;font-size:14px;line-height:1;color:#ffffffb3">FAQ</p>
</div>
<div style="min-width:80px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;flex:1 0 0">
<div style="width:32px;height:32px"></div>
<p style="padding-bottom:4px;text-align:center;font-size:14px;line-height:1;color:#ffffffb3">Themes</p>
</div>
<div style="min-width:80px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;flex:1 0 0">
<div style="width:32px;height:32px"></div>
<p style="padding-bottom:4px;text-align:center;font-size:14px;line-height:1;color:#ffffffb3">Other</p>
</div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>