Skip to content

Commit

Permalink
Template for Quay, Telco
Browse files Browse the repository at this point in the history
  • Loading branch information
MVarshini committed Jul 15, 2024
1 parent bd981f6 commit 7075082
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { BrowserRouter, Route, Routes } from "react-router-dom";
import Home from "./components/templates/Home";
import MainLayout from "./containers/MainLayout";
import OCP from "./components/templates/OCP";
import Quay from "./components/templates/Quay";
import Telco from "./components/templates/Telco";
import { useDispatch } from "react-redux";
import { useEffect } from "react";

Expand All @@ -22,7 +24,8 @@ function App() {
<Route index element={<Home />} />
<Route path={APP_ROUTES.HOME} element={<Home />} />
<Route path={APP_ROUTES.OCP} element={<OCP />} />
<Route path={APP_ROUTES.QUAY} element={<Home />} />
<Route path={APP_ROUTES.QUAY} element={<Quay />} />
<Route path={APP_ROUTES.TELCO} element={<Telco />} />
</Route>
</Routes>
</BrowserRouter>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/templates/Quay/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Quay = () => {
return <>Quay</>;
};

export default Quay;
5 changes: 5 additions & 0 deletions frontend/src/components/templates/Telco/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Telco = () => {
return <>Telco</>;
};

export default Telco;
1 change: 1 addition & 0 deletions frontend/src/utils/routeConstants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const HOME = "Home";
export const OCP = "OCP";
export const QUAY = "QUAY";
export const TELCO = "TELCO";

0 comments on commit 7075082

Please sign in to comment.