Skip to content

Commit

Permalink
Code refactor and minor copy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aminick committed Sep 13, 2021
1 parent 435f710 commit e9a1bf9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion components/guides/GuideList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Trans } from 'next-i18next';
import { LinkOut } from '@/components/LinkOut';

function GuideList({ listItems }) {
if (typeof listItems === 'string') return <></>;
Expand All @@ -10,7 +11,19 @@ function GuideList({ listItems }) {
<li key={item.text}>
<Trans
components={{
a: <a target="__blank" />,
a: <a href="" target="__blank" />,
guilink: (
<LinkOut
href="https://www.flexpool.io/get-started/xch/XCH-GUI/"
target="__blank"
/>
),
clilink: (
<LinkOut
href="https://www.flexpool.io/get-started/xch/XCH-CLI/"
target="__blank"
/>
),
}}
>
{item.text}
Expand Down
4 changes: 2 additions & 2 deletions public/locales/en-US/guide-flexfarmer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"heading": "Requirements",
"list": [
{
"text": "Hardware compatible with FlexFarmer: A modern computer running 64-bit Linux or Windows. Raspberry Pi is also supported."
"text": "Hardware compatible with FlexFarmer: A modern computer running 64-bit Linux or Windows. Raspberry Pi is also supported with a 64-bit OS (Raspberry Pi 3b+ or newer) or 64-bit emulation with QEMU (some older Raspberry Pi models, not recommended)"
},
{ "text": "At least 128MB available RAM." },
{ "text": "Initialized Plot NFT (Made via GUI or CLI)." },
{ "text": "Plots bound to that Plot NFT." },
{
"text": "PlotNFT joined to Flexpool (To manage your PlotNFT with the Chia client, see our <a href='https://www.flexpool.io/get-started/xch/XCH-CLI/'>CLI</a> and <a href='https://www.flexpool.io/get-started/xch/XCH-GUI/'>GUI</a> instructions)."
"text": "PlotNFT joined to Flexpool (To manage your PlotNFT with the Chia client, see our <guilink>GUI</guilink> and <clilink>CLI</clilink> instructions)."
}
]
},
Expand Down

0 comments on commit e9a1bf9

Please sign in to comment.