-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (85 loc) · 3.09 KB
/
index.html
File metadata and controls
90 lines (85 loc) · 3.09 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
<!doctype html>
<html lang="<%= lang %>" translate="no">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<meta
name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title><%= title %></title>
<meta name="description" content="<%= description %>" />
<!-- SEO Meta Tags -->
<meta name="robots" content="index, follow" />
<meta name="author" content="DEVS" />
<meta name="language" content="<%= language %>" />
<meta name="theme-color" content="#000000" />
<link rel="canonical" href="https://devs.new" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="DEVS" />
<meta property="og:title" content="<%= title %>" />
<meta property="og:description" content="<%= description %>" />
<meta property="og:url" content="https://devs.new" />
<meta
property="og:image"
content="https://devs.new/screenshots/devs-desktop-home.webp"
/>
<meta property="og:image:width" content="1644" />
<meta property="og:image:height" content="1558" />
<meta property="og:locale" content="<%= lang %>" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%= title %>" />
<meta name="twitter:description" content="<%= description %>" />
<meta
name="twitter:image"
content="https://devs.new/screenshots/devs-desktop-home.webp"
/>
<!-- Prevent FOUC: Apply theme before render -->
<script>
;(function () {
try {
var stored = localStorage.getItem('devs-user-settings')
var theme = stored ? JSON.parse(stored).state?.theme : 'system'
var isDark =
theme === 'dark' ||
(theme !== 'light' &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
document.documentElement.classList.add(isDark ? 'dark' : 'light')
} catch (e) {
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.classList.add('dark')
}
}
})()
</script>
<!-- Structured Data for Rich Results -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "DEVS",
"description": "<%= description %>",
"url": "https://devs.new",
"applicationCategory": "ProductivityApplication",
"operatingSystem": "Web Browser",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Organization",
"name": "DEVS"
}
}
</script>
</head>
<body class="text-foreground rtl:*">
<div id="root"></div>
<script type="module" src="/src/app/App.tsx"></script>
</body>
</html>