Skip to content

Commit

Permalink
feat(hello/FE): Hello World route on FE
Browse files Browse the repository at this point in the history
  • Loading branch information
gaqpontes committed Dec 12, 2023
1 parent 672ef24 commit e1e286f
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import CreateTest from "./app/home/pages/CreateTest";
import ListTests from "./app/home/pages/ListTests";
import HelloWorld from "./app/home/pages/HelloWorld";

const router = createBrowserRouter([
{
@@ -15,6 +16,10 @@ const router = createBrowserRouter([
path: "/tests",
Component: ListTests,
},
{
path: "/hello-world",
Component: HelloWorld,
},
]);

export default function App() {
9 changes: 9 additions & 0 deletions frontend/src/app/home/pages/HelloWorld/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const HelloWorld = () => {
return (
<h1>
Olá Mundo!
</h1>
);
};

export default HelloWorld;

0 comments on commit e1e286f

Please sign in to comment.