refactor: move studio to frontends workspace

- Move studio from root to frontends/studio/
- Add owner-tools frontend for live blog admin UI
- Add shared ui component library
- Set up npm workspaces for frontends
- Add enhanced code block extension for editor

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Josh 2026-01-12 01:59:56 +02:00
parent c662e41b97
commit bef5dd4437
108 changed files with 8650 additions and 441 deletions

View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Owner Tools Dev</title>
<style>
:root {
--accent: #10b981;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, sans-serif;
background: #fafafa;
min-height: 100vh;
}
.mock-blog {
max-width: 680px;
margin: 0 auto;
padding: 60px 20px;
}
.mock-blog h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #18181b;
}
.mock-blog p {
font-size: 1.125rem;
line-height: 1.75;
color: #3f3f46;
margin-bottom: 1.5rem;
}
.mock-blog pre {
background: #1e1e1e;
color: #d4d4d4;
padding: 1rem;
border-radius: 8px;
overflow-x: auto;
}
</style>
</head>
<body>
<div class="mock-blog">
<h1>Sample Blog Post</h1>
<p>
This is a mock blog page for developing the owner tools panel.
The settings panel should appear when you click the cog icon in the bottom right.
</p>
<p>
Changes to accent color should update the <code>--accent</code> CSS variable
and you should see it reflected immediately.
</p>
<pre><code>function hello() {
console.log("Hello, world!");
}</code></pre>
<p style="color: var(--accent); font-weight: 600;">
This text uses the accent color.
</p>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>