Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/generateLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface IGenerateLink {
}

export const generateLink = ({ amount, data, from_address, aa, asset = "base", is_single }: IGenerateLink): string => {
let link = `obyte${suffix}:${aa}?amount=${Math.round(amount)}&asset=${encodeURIComponent(asset)}`;
let link = `testobyte${suffix}:${aa}?amount=${Math.round(amount)}&asset=${encodeURIComponent(asset)}`;
const encodedData = encodeData(data);

if (data && encodedData !== null) link += "&base64data=" + encodeURIComponent(encodedData);
Expand Down
4 changes: 2 additions & 2 deletions src/pages/MainPage/MainPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import moment from "moment";

import { BuyNewPlotCard, MapEngineCard, SelectedUnitMapCard } from "./components";
import { BuyNewPlotCard, SelectedUnitMapCard } from "./components";
import { PrelaunchCard } from "./components/PrelaunchCard";

import { useSyncSelectedUnitQueryParams } from "@/hooks/useSyncSelectedUnitQueryParams";
Expand All @@ -14,7 +14,7 @@ export default () => {
return (
<div className="grid grid-cols-5 gap-6 px-4 md:px-0">
<div className="col-span-5 md:col-span-3">
<MapEngineCard />
{/* <MapEngineCard /> */}
</div>
<div className="col-span-5 md:col-span-2">
<div className="grid grid-cols-1 gap-8">
Expand Down
4 changes: 2 additions & 2 deletions src/pages/MainPage/components/BuyNewPlotCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const BuyNewPlotCard = () => {
<CardFooter className="block text-xs text-muted-foreground">
Before buying, you need to link your Obyte address to your{" "}
<ObyteLink
href={appConfig.DISCORD_BOT_URL}
href={'test' + appConfig.DISCORD_BOT_URL}
actionType="chat"
className="text-link"
>
Expand All @@ -40,7 +40,7 @@ export const BuyNewPlotCard = () => {
and/or{" "}
<ObyteLink
actionType="chat"
href={appConfig.TELEGRAM_BOT_URL} className="text-link">
href={'test' + appConfig.TELEGRAM_BOT_URL} className="text-link">
{" "}
telegram
</ObyteLink>{" "}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MainPage/components/MapEngineCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const MapEngineCard = memo(() => {
</CardHeader>
<CardContent>
{!shownSkeleton ? (
<PhaserMapEngine ref={phaserRef} engineOptions={engineOptions} />
false && <PhaserMapEngine ref={phaserRef} engineOptions={engineOptions} />
) : (
<div className="engine-container-placeholder">
<Skeleton className="w-full h-[80vh] rounded-xl" />
Expand Down
4 changes: 2 additions & 2 deletions src/pages/MainPage/components/PrelaunchCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ export const PrelaunchCard = () => {
Before buying, you need to link your Obyte address to your{" "}
<ObyteLink
actionType="chat"
href={appConfig.DISCORD_BOT_URL} className="text-link">
href={'test' + appConfig.DISCORD_BOT_URL} className="text-link">
discord
</ObyteLink>{" "}
and/or{" "}
<ObyteLink
actionType="chat"
href={appConfig.TELEGRAM_BOT_URL} className="text-link">
href={'test' + appConfig.TELEGRAM_BOT_URL} className="text-link">
{" "}
telegram
</ObyteLink>{" "}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/UserPage/components/AttestationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AttestationList: FC<IAttestationProps> = ({ data, isOwner = false,
<ObyteLink
actionType="chat"
className="text-link"
href={appConfig.DISCORD_BOT_URL}>
href={'test' + appConfig.DISCORD_BOT_URL}>
set up
</ObyteLink>
</Wrapper>
Expand Down