Initial commit: site monorepo with API, web, and infra.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="Compton platform by Organic Tech" />
|
||||
<link rel="stylesheet" href="/main/css/tokens.css" />
|
||||
<style>
|
||||
html.admin-route,
|
||||
html.admin-route body {
|
||||
background: #f6f6f4;
|
||||
margin: 0;
|
||||
}
|
||||
html.admin-route[data-admin-theme="dark"],
|
||||
html.admin-route[data-admin-theme="dark"] body {
|
||||
background: #1f2229;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
if (/^\/admin(\/|$)/.test(location.pathname)) {
|
||||
document.documentElement.classList.add("admin-route");
|
||||
if (localStorage.getItem("wespAdminTheme") === "dark") {
|
||||
document.documentElement.setAttribute("data-admin-theme", "dark");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<title>Compton</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user