This commit is contained in:
MOCH. PASHA ARDYAN PUTRA
2025-07-06 16:23:29 +00:00
parent 3ce004813a
commit 2a725d8f27
6 changed files with 742 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
import "./App.css";
import { BrowserRouter, Routes, Route, Navigate } from "react-router-dom";
import ShowImage from "./ShowImage";
import Dashboard from "./Dashboard";
import Login from "./Login";
@@ -42,6 +43,7 @@ function App() {
element={<ProtectedRoute element={<Dashboard />} />}
/>
<Route path="/" element={<HomeRedirect />} />
<Route path="/:nik" element={<ShowImage />} />
</Routes>
</div>
);