Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (101 loc) · 6.47 KB
/
Copy pathindex.html
File metadata and controls
101 lines (101 loc) · 6.47 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Only directives that are safe to inherit. A srcdoc iframe inherits the
embedder's CSP and sandboxing does not sever that, so any script-src
here would kill the generated app's inline scripts and the Tailwind CDN
(and script-src 'self' would additionally break the dev server, whose
React-Refresh preamble is inlined). frame-ancestors is ignored in a
meta tag -- it is set as a real header in vite.config.js.
base-uri allows only about: so the preview bridge can pin a srcdoc
frame's base to about:srcdoc (dead links become no-ops instead of
navigating the frame to this origin); no web origin is permitted. -->
<meta http-equiv="Content-Security-Policy" content="base-uri about:; object-src 'none'" />
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content" />
<meta name="theme-color" content="#f1f3f5" />
<!-- Resolve the theme and chat font size before first paint so there is no
dark/small flash. Inline is required (it must run before the deferred
module bundle); the meta CSP above sets no script-src, so inline scripts
are allowed. Kept in sync with THEME_KEY / THEME_META_COLOR in
src/lib/config.js. -->
<script>
(function () {
try {
var pref = localStorage.getItem('orion-theme');
// Light unless the user explicitly chose dark (or system on a dark OS).
var dark =
pref === 'system'
? window.matchMedia('(prefers-color-scheme: dark)').matches
: pref === 'dark';
document.documentElement.classList.toggle('dark', dark);
var meta = document.querySelector('meta[name="theme-color"]');
if (meta) meta.setAttribute('content', dark ? '#080808' : '#f1f3f5');
var font = localStorage.getItem('orion-chat-font');
if (font === 'small' || font === 'large' || font === 'xlarge') {
document.documentElement.dataset.chatFont = font;
}
} catch (e) {
/* storage blocked -- fall back to the light theme and default sizes */
document.documentElement.classList.remove('dark');
}
})();
</script>
<!-- Umami visitor tracking for the web version only (omitted in the
desktop and Android builds). -->
<script>
(function () {
try {
var isDesktop = Boolean(window.aicodezeroDesktop) || window.location.protocol === 'appblips:';
var isAndroid = Boolean(window.androidBridge || (window.Capacitor && typeof window.Capacitor.getPlatform === 'function' && window.Capacitor.getPlatform() === 'android'));
if (!isDesktop && !isAndroid) {
var el = document.createElement('script');
el.defer = true;
el.src = 'https://umami.techmitten.com/script.js';
el.setAttribute('data-website-id', 'd5b8a23c-5f0b-41ee-a4b1-508e45512d23');
document.head.appendChild(el);
}
} catch (e) {
/* ignore tracking errors in restricted environments */
}
})();
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://aicodezero.com" crossorigin />
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet" media="print" onload="this.media='all'" />
<noscript><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet" /></noscript>
<title>AI Code Zero</title>
<!-- Link previews for the hosted app at web.aicodezero.com. Absolute URLs
because crawlers don't resolve relative ones; harmless in the desktop
and Android builds, which nothing crawls. -->
<meta name="description" content="Turn plain-English ideas into apps, websites and games, right in your browser. Free and open source, no download or account needed." />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="AI Code Zero" />
<meta property="og:url" content="https://web.aicodezero.com/" />
<meta property="og:title" content="AI Code Zero - Free AI App and Website Builder in Your Browser" />
<meta property="og:description" content="Turn plain-English ideas into apps, websites and games, right in your browser. Free and open source, no download or account needed." />
<meta property="og:image" content="https://web.aicodezero.com/ogsocial.png" />
<meta property="og:image:secure_url" content="https://web.aicodezero.com/ogsocial.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="AI Code Zero - Free AI App and Website Builder" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="AI Code Zero - Free AI App and Website Builder in Your Browser" />
<meta name="twitter:description" content="Turn plain-English ideas into apps, websites and games, right in your browser. Free and open source, no download or account needed." />
<meta name="twitter:image" content="https://web.aicodezero.com/ogsocial.png" />
<meta name="twitter:image:alt" content="AI Code Zero - Free AI App and Website Builder" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>