Skip to content

Commit

Permalink
improvements: Add Home, remove Jedi
Browse files Browse the repository at this point in the history
  • Loading branch information
akiraonstarknet committed Oct 2, 2024
1 parent 824849d commit ee8b0e9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
18 changes: 18 additions & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,24 @@ export default function Navbar(props: NavbarProps) {
</Button>
</Link> */}

<Link href="/" margin="0">
<Button
bg="transparent"
color="color2"
variant="outline"
border="none"
padding={'0'}
_hover={{
bg: 'color2_50p',
}}
display={{ base: 'none !important', md: 'flex !important' }}
onClick={() => {
mixpanel.track('home_clicked');
}}
>
Home
</Button>
</Link>
<Link href="/community" margin="0 10px 0 0">
<Button
bg="transparent"
Expand Down
9 changes: 9 additions & 0 deletions src/components/TncModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@ const TncModal: React.FC<TncModalProps> = (props) => {
color="white"
target="_blank"
_hover={{ textDecor: 'underline' }}
autoFocus={false}
_focus={{
boxShadow: 'none',
outline: 'none',
}}
_focusVisible={{
boxShadow: 'none',
outline: 'none',
}}
>
T&C Document link <ExternalLinkIcon />
</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/store/jedi.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const PairInfo: any = {

export class Jediswap extends IDapp<string> {
name = 'Jediswap (v1)';
link = 'https://app.jediswap.xyz/#/pool';
link = 'https://app.v1.jediswap.xyz/#/pool';
logo = 'https://app.jediswap.xyz/favicon/favicon-32x32.png';
incentiveDataKey = 'Jediswap_v1';
_computePoolsInfo(data: any) {
Expand Down
11 changes: 5 additions & 6 deletions src/store/protocols.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import EkuboAtoms, { ekubo } from './ekobu.store';
import HaikoAtoms, { haiko } from './haiko.store';
import HashstackAtoms, { hashstack } from './hashstack.store';
import JediAtoms, { jedi } from './jedi.store';
import MySwapAtoms, { mySwap } from './myswap.store';
import NostraDexAtoms, { nostraDex } from './nostradex.store';
import NostraDegenAtoms, { nostraDegen } from './nostradegen.store';
Expand Down Expand Up @@ -29,11 +28,11 @@ export const PROTOCOLS = [
class: ekubo,
atoms: EkuboAtoms,
},
{
name: jedi.name,
class: jedi,
atoms: JediAtoms,
},
// {
// name: jedi.name,
// class: jedi,
// atoms: JediAtoms,
// },
{
name: mySwap.name,
class: mySwap,
Expand Down

0 comments on commit ee8b0e9

Please sign in to comment.