Skip to content

Commit

Permalink
feat: pause migration temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
jhlee-young committed Jul 6, 2023
1 parent 350f83c commit c66345d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/layouts/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
left: 0;
top: 40px;
padding: 16px 0;
// background-color: $realblue;
background-color: $realblue;
z-index: 5000;
transition: padding 0.125s ease-in-out;
overflow: visible;
Expand Down
10 changes: 2 additions & 8 deletions src/layouts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Banner = styled.div`
font-style: normal;
line-height: normal;
letter-spacing: normal;
z-index: 1;
z-index: 10;
:hover {
background-color: rgba(241, 94, 126, 0.8);
Expand Down Expand Up @@ -83,13 +83,7 @@ const Header = () => {

return (
<>
<Link to="/migration">
<Banner>
{isMigrationPage
? "Terraswap Classic - Migration Center"
: "Terraswap Classic - Migration is now available, click here!"}
</Banner>
</Link>
<Banner>Terraswap Classic - Migration will be back soon.</Banner>
<header className={styles.header}>
<Container className={styles.container}>
<section className={styles.wrapper}>
Expand Down
1 change: 0 additions & 1 deletion src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default () => (
<Route path="/swap" element={<Swap />} />
<Route path="/pairs/:address" element={<PairPage />} />
<Route element={<Navigate to="/" replace />} />
<Route path="/migration" element={<Swap />} />
<Route index element={<Navigate to="/swap" replace />} />
<Route path="*" element={<Navigate to="/swap" replace />} />
</Routes>
Expand Down

0 comments on commit c66345d

Please sign in to comment.