This commit is contained in:
csehviktor
2025-07-03 07:28:34 +02:00
parent d44ae76243
commit 6c26f2f43f
12 changed files with 757 additions and 0 deletions

12
ui/src/App.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { BrowserRouter, Route, Routes } from "react-router-dom";
import { HomePage } from "@/pages/home";
export default function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<HomePage />} />
</Routes>
</BrowserRouter>
);
}

5
ui/src/index.css Normal file
View File

@@ -0,0 +1,5 @@
@import "tailwindcss";
body {
@apply bg-gray-950 text-gray-300;
}

10
ui/src/main.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "@/App.tsx";
import "@/index.css";
createRoot(document.getElementById("root")!).render(
<StrictMode>
<App />
</StrictMode>,
);

8
ui/src/pages/home.tsx Normal file
View File

@@ -0,0 +1,8 @@
export function HomePage() {
return (
<div>
<h1>Welcome to Status Monitor</h1>
<p>This is the home page.</p>
</div>
);
}

1
ui/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />