Skip to content

Commit

Permalink
recover orderly tip (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqiancaosissi authored Jul 30, 2024
1 parent fde4750 commit 3e1324a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions src/pages/Orderly/OrderlyTradingBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ function OrderlyTradingBoard() {
<>
<div className="mx-auto relative xs:bottom-6 bottom-9">
{/* todo */}
{!isMobile && <PerpOrderlyTip />}
{/* {!isMobile && <PerpOrderlyTip />} */}
{!isMobile && <TradingBoard></TradingBoard>}

{isMobile && <MobileTradingBoard></MobileTradingBoard>}
</div>
{/* todo */}
{isMobile && <PerpOrderlyTipMobile></PerpOrderlyTipMobile>}
{/* {isMobile && <PerpOrderlyTipMobile></PerpOrderlyTipMobile>} */}
</>
);
}
Expand Down
56 changes: 28 additions & 28 deletions src/pages/Orderly/components/PerpHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ export function PerpOrderlyTip() {
}}
>
<FormattedMessage
// id="perpTip"
// defaultMessage={
// 'Welcome to Perpetual Futures trading!{br} Please read {perpTipLink} docs to get start!'
// }
id="perpTipDown"
id="perpTip"
defaultMessage={
'Order book system update will be conducted from 2024/07/30 07:00 AM to 2024/07/30 08:00 AM (UTC), during which time Spot and Perps will be temporarily unavailable.'
'Welcome to Perpetual Futures trading!{br} Please read {perpTipLink} docs to get start!'
}
// values={{
// perpTipLink: (
// <a
// className="font-gothamBold mx-1 underline"
// rel="noopener noreferrer nofollow"
// target="_blank"
// href="https://docs.orderly.org/perpetual-futures/introduction"
// >
// {isMobile && <br />}
// <FormattedMessage
// id="perpTipLink"
// defaultMessage="[Perpetual-futures Introduction]"
// />
// </a>
// ),
// }}
// id="perpTipDown"
// defaultMessage={
// 'Order book system update will be conducted from 2024/07/30 07:00 AM to 2024/07/30 08:00 AM (UTC), during which time Spot and Perps will be temporarily unavailable.'
// }
values={{
perpTipLink: (
<a
className="font-gothamBold mx-1 underline"
rel="noopener noreferrer nofollow"
target="_blank"
href="https://docs.orderly.org/perpetual-futures/introduction"
>
{isMobile && <br />}
<FormattedMessage
id="perpTipLink"
defaultMessage="[Perpetual-futures Introduction]"
/>
</a>
),
}}
/>

<div
Expand Down Expand Up @@ -88,14 +88,14 @@ export function PerpOrderlyTipMobile() {
}}
>
<FormattedMessage
// id="perpTip"
// defaultMessage={
// 'Welcome to Perpetual Futures trading! Please read {perpTipLink} docs to get start!'
// }
id="perpTipDown"
id="perpTip"
defaultMessage={
'Order book system update will be conducted from 2024/07/30 07:00 AM to 2024/07/30 08:00 AM (UTC), during which time Spot and Perps will be temporarily unavailable.'
'Welcome to Perpetual Futures trading! Please read {perpTipLink} docs to get start!'
}
// id="perpTipDown"
// defaultMessage={
// 'Order book system update will be conducted from 2024/07/30 07:00 AM to 2024/07/30 08:00 AM (UTC), during which time Spot and Perps will be temporarily unavailable.'
// }
values={{
perpTipLink: (
<a
Expand Down

0 comments on commit 3e1324a

Please sign in to comment.