feat: scaffold react dashboard

This commit is contained in:
MythEclipse
2026-05-14 20:24:41 +07:00
parent da5e191b0f
commit 71a28085d2
9 changed files with 253 additions and 79 deletions
+8
View File
@@ -0,0 +1,8 @@
export default function App() {
return (
<div className="app">
<h1>Discord Moderation Dashboard</h1>
<p>React/Vite scaffold - dashboard components coming soon</p>
</div>
);
}
+10
View File
@@ -0,0 +1,10 @@
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import "./styles.css";
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<App />
</React.StrictMode>
);
+30
View File
@@ -0,0 +1,30 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #1e1e1e;
color: #e0e0e0;
}
.app {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
h1 {
margin-bottom: 1rem;
color: #ffffff;
}
p {
color: #b0b0b0;
}