Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sverzegnassi committed Dec 31, 2023
1 parent 58e278f commit 545ae4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "color-utils",
"homepage": "https://sverzegnassi.github.io/color-utils/",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ function PageLayout() {
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
color-utils{pathname}
</Typography>
{pathname !== "/color-utils/" && (
{pathname !== "/" && (
<Button color="inherit" component={RouterLink} to="/">
Theme Generator
</Button>
)}
{pathname !== "/color-utils/random-neutral" && (
{pathname !== "/random-neutral" && (
<Button color="inherit" component={RouterLink} to="/random-neutral">
Random Neutral Color
</Button>
Expand Down

0 comments on commit 545ae4c

Please sign in to comment.