Skip to content

Commit

Permalink
Fix Nicehash page
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-flexpool committed Sep 11, 2023
1 parent 38050c7 commit c37c066
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
Binary file added public/nicehash-guide/nh_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/nicehash-guide/nh_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/nicehash-guide/nh_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 7 additions & 11 deletions src/pages/GetStarted/Nicehash/NicehashGuide.page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import { useRouter } from 'next/router';
import { Trans, useTranslation } from 'next-i18next';
import { useTranslation } from 'next-i18next';
import styled from 'styled-components';
import { CopyButton } from 'src/components/CopyButton';
import { Img } from 'src/components/Img';
Expand All @@ -16,10 +16,6 @@ import { Highlight, Mono, Ws } from 'src/components/Typo/Typo';
import { MineableCoinRegion, mineableCoins } from '../mineableCoinList';
import { NextSeo } from 'next-seo';

import nh1 from './assets/nh_1.jpg';
import nh2 from './assets/nh_2.jpg';
import nh3 from './assets/nh_3.jpg';

export const ServerList: React.FC<{
data: MineableCoinRegion[];
}> = ({ data }) => {
Expand Down Expand Up @@ -165,8 +161,8 @@ export const NicehashGuidePage = () => {
))}
</>
)}
<LinkOut href={nh1.src}>
<GuideImg src={nh1.src} alt="nicehash guide" />
<LinkOut href={'/nicehash-guide/nh_1.jpg'}>
<GuideImg src={'/nicehash-guide/nh_1.jpg'} alt="nicehash guide" />
</LinkOut>
<h2>
<Highlight>#2 </Highlight>
Expand All @@ -185,8 +181,8 @@ export const NicehashGuidePage = () => {
<Spacer />
<ServerList data={mineableCoin?.regions as MineableCoinRegion[]} />
<Spacer />
<LinkOut href={nh2.src}>
<GuideImg src={nh2.src} alt="nicehash guide" />
<LinkOut href={'/nicehash-guide/nh_2.jpg'}>
<GuideImg src={'/nicehash-guide/nh_2.jpg'} alt="nicehash guide" />
</LinkOut>
<h2>
<Highlight>#3 </Highlight>
Expand All @@ -202,8 +198,8 @@ export const NicehashGuidePage = () => {
))}
</>
)}
<LinkOut href={nh3.src}>
<GuideImg src={nh3.src} alt="nicehash guide" />
<LinkOut href={'/nicehash-guide/nh_3.jpg'}>
<GuideImg src={'/nicehash-guide/nh_3.jpg'} alt="nicehash guide" />
</LinkOut>
<h2>
<Highlight>#4</Highlight> {t('nicehash.step_four.title')}
Expand Down

0 comments on commit c37c066

Please sign in to comment.