Skip to content

Commit

Permalink
fix: Remove POH
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls committed Nov 29, 2023
1 parent a464ff0 commit 483401b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy website

on:
push:
branches: ["dev"]
branches: ["dev", "temp/deploy-website"]
paths:
- website/**

Expand Down
4 changes: 1 addition & 3 deletions website/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import "./App.css";
import { HashRouter, Route, Routes } from "react-router-dom";
import Home from "./pages/Home.tsx";
import Poh from "./pages/Poh.tsx";
import SDKDemo from "./pages/SDKDemo.tsx";
import Navbar from "./components/Navbar.tsx";
import Footer from "./components/Footer.tsx";
Expand All @@ -14,9 +13,8 @@ function App() {
<Navbar />
</header>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/sdk-demo" element={<SDKDemo />} />
<Route path="/poh" element={<Poh />} />
<Route path="*" element={<Home />} />
</Routes>
<footer>
<Footer />
Expand Down
5 changes: 0 additions & 5 deletions website/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ function Navbar() {
<NavLink className="navbar-brand" to="/" end>
Home
</NavLink></li>
<li className="nav-item">
<NavLink className="nav-link" to="/poh" end>
Linea POH
</NavLink>
</li>
</ul>
</div>
</nav>
Expand Down

0 comments on commit 483401b

Please sign in to comment.