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
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
View File
@@ -0,0 +1,5 @@
@import "tailwindcss";
body {
@apply bg-gray-950 text-gray-300;
}
+10
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
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
View File
@@ -0,0 +1 @@
/// <reference types="vite/client" />