Skip to content

Commit

Permalink
settings: vercel/ neltify
Browse files Browse the repository at this point in the history
  • Loading branch information
0seo8 committed Sep 19, 2022
1 parent 311b089 commit 964a9ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
6 changes: 3 additions & 3 deletions src/components/layout/NavBottom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const NavBottom = () => {
</li>
<li>
<Link
to="/onul"
to="/oneul"
className={cls(
'flex items-center flex-col ',
currentPath === '/onul' ? 'text-primary' : '',
currentPath === '/oneul' ? 'text-primary' : '',
)}
>
{currentPath === '/onul' ? <OnulIconOn /> : <OnulIcon />}
{currentPath === '/oneul' ? <OnulIconOn /> : <OnulIcon />}
<span className="text-xs text-black-400">ONUL</span>
</Link>
</li>
Expand Down
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
}

0 comments on commit 964a9ff

Please sign in to comment.