Skip to content

Commit ef5b603

Browse files
committed
fix: terminal page layout issue caused by trailing slash
1 parent 0025ed7 commit ef5b603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Layout = ({
4646
const isTheVaguePage = location.pathname.startsWith('/the-vague');
4747
const isAboutPage = location.pathname.startsWith('/about');
4848
const isGraphPage = location.pathname === '/graph';
49-
const isTerminalPage = location.pathname === '/terminal';
49+
const isTerminalPage = location.pathname.startsWith('/terminal');
5050

5151
// Check for special project styles that require hiding the default layout
5252
const projectSlug = location.pathname.startsWith('/projects/')

0 commit comments

Comments
 (0)