implemented pdf viewer functionality.

This commit is contained in:
Joshua Ashton
2025-01-02 18:15:01 -07:00
parent 8e37fe2994
commit 5688ae674f
6 changed files with 80 additions and 20 deletions
+4 -2
View File
@@ -3,14 +3,16 @@ import { createRoot } from "react-dom/client";
import { BrowserRouter as Router, Routes, Route } from "react-router";
import App from "./App.jsx";
import Resume from "./Resume.jsx";
import PageNotFound from "./PageNotFound.jsx";
const container = document.getElementById("app");
const root = createRoot(container); // createRoot(container!) if you use TypeScript
root.render(
<Router>
<Routes>
<Route path="/" element={<App />} />
<Route path="/resume" element={<Resume />} />
<Route exact path="/" element={<App />} />
<Route exact path="/resume" element={<Resume />} />
<Route path="*" element={<PageNotFound />} />
</Routes>
</Router>,
);