Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasaifee42 committed Jun 3, 2024
1 parent 0ec12e4 commit e99054a
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@ import { useState } from 'react';
import { NavLink, useLocation } from 'react-router-dom';
import { Input, Modal } from 'antd';
import sortBy from 'lodash.sortby';
import styled from 'styled-components';
import CountryTaxonomy from '../Data/countryTaxonomy.json';
import IMAGES from '../img/images';

interface Props {
country: string;
}

const AButton = styled.a`
@media (max-width: 1360px) {
display: none !important;
}
`;

export const Header = (props: Props) => {
const {
country,
Expand Down Expand Up @@ -104,9 +97,6 @@ export const Header = (props: Props) => {
</button>
) : null
}
<AButton href='https://data.undp.org/' target='_blank' className='undp-button button-secondary' style={{ backgroundColor: 'var(--gray-300)', color: 'var(--gray-700)', textDecoration: 'none' }} rel='noreferrer'>
Data Futures Exchange
</AButton>
<div style={{
height: '24px', justifyContent: 'flex-end', textAlign: 'right',
}}
Expand Down Expand Up @@ -175,21 +165,6 @@ export const Header = (props: Props) => {
SDG Interlinkages
</NavLink>
</div>
<div>
<a
href='https://data.undp.org/'
className='undp-button button-tertiary button-arrow header-link'
target='_blank'
style={{
color: 'var(--black)',
backgroundColor: 'transparent',
justifyContent: 'flex-start',
}}
rel='noreferrer'
>
Visit Data Futures Exchange
</a>
</div>
</div>
) : null
}
Expand Down

0 comments on commit e99054a

Please sign in to comment.