Skip to content

Commit

Permalink
another go
Browse files Browse the repository at this point in the history
  • Loading branch information
lpmi-13 committed May 4, 2024
1 parent 4bebe73 commit 9db876e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const App = (): JSX.Element => {
<Layout>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/api/saas" />
<Route path="/about" element={<About />} />
<Route path="/pricing" element={<Pricing />} />
<Route
Expand Down
4 changes: 1 addition & 3 deletions src/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ const Header = ({ onSidebarOpen }: Props): JSX.Element => {
}}
>
<CustomButton href={'/'} text="Home" />
{!featureFlagged && (
<CustomButton href={'/api/sass'} text="API" />
)}
<CustomButton href={'/api/sass'} text="API" />
<CustomButton href={'/about'} text="About" />
<CustomButton href={'/pricing'} text="Pricing" />
{!featureFlagged && (
Expand Down
3 changes: 3 additions & 0 deletions src/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const Sidebar = ({ open, onClose }: Props): JSX.Element => {
<Box paddingY={2}>
<CustomButton href={'/'} text="Home" />
</Box>
<Box paddingY={2}>
<CustomButton href={'/api'} text="API" />
</Box>
<Box paddingY={2}>
<CustomButton href={'/about'} text="About" />
</Box>
Expand Down

0 comments on commit 9db876e

Please sign in to comment.