refactor: move frontend code into view
This commit is contained in:
18
view/App.tsx
Normal file
18
view/App.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Button } from "@/components/ui/button";
|
||||
import "./index.css";
|
||||
|
||||
export function App() {
|
||||
return (
|
||||
<main className="min-h-screen bg-background text-foreground">
|
||||
<div className="container mx-auto flex min-h-screen flex-col items-center justify-center gap-6 p-8 text-center">
|
||||
<div className="space-y-2">
|
||||
<h1 className="text-4xl font-bold tracking-tight">Image Studio</h1>
|
||||
<p className="text-muted-foreground">A minimal Bun, React, Tailwind CSS, and shadcn/ui starter.</p>
|
||||
</div>
|
||||
<Button>Get started</Button>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user