Skip to content

Commit

Permalink
bazar.ar.io links
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed Sep 6, 2024
1 parent 27fc8eb commit 5c44433
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion next_app/src/components/drawer/components/marketplace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function TemplateMarketplace() {
<div>
Every Template is a {" "}
<Link href="https://cookbook.arweave.net/concepts/atomic-tokens.html" target="_blank" className="text-primary hover:underline underline-offset-2">Atomic Asset</Link>
{" "} on the <Link href="https://ao-bazar.arweave.net/" target="_blank" className="text-primary hover:underline underline-offset-2">ao-bazar</Link> marketplace which anyone can buy and trade.
{" "} on the <Link href="https://bazar.ar.io/" target="_blank" className="text-primary hover:underline underline-offset-2">ao-bazar</Link> marketplace which anyone can buy and trade.
</div>
<br />
<div>
Expand Down
2 changes: 1 addition & 1 deletion next_app/src/components/views/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function ProfileComponent() {
<DialogHeader>
<DialogTitle>Create a Bazar Profile</DialogTitle>
<DialogDescription>
Create a profile to publish templates to the marketplace. Name and username can be changed from <Link href="https://ao-bazar.arweave.net" target="_blank" className="text-primary hover:underline underline-offset-4"> ao-bazar</Link>
Create a profile to publish templates to the marketplace. Name and username can be changed from <Link href="https://bazar.ar.io" target="_blank" className="text-primary hover:underline underline-offset-4"> ao-bazar</Link>
</DialogDescription>
</DialogHeader>
<div className="grid gap-4 grid-cols-4">
Expand Down
6 changes: 3 additions & 3 deletions next_app/src/components/views/components/marketplace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,14 @@ function Template({ pid, search }: { pid: string, search: string }) {

</div>
<div data-hovered={hovered} className="flex text-sm gap-5 items-center transition-all duration-200">
<Link href={`https://ao-bazar.arweave.net/#/profile/${profile ? profile.id : "#"}`} target="_blank" className="font-semibold text-primary hover:underline underline-offset-4 flex items-center gap-1"
<Link href={`https://bazar.ar.io/#/profile/${profile ? profile.id : "#"}`} target="_blank" className="font-semibold text-primary hover:underline underline-offset-4 flex items-center gap-1"
onClick={(e) => { e.stopPropagation() }}
>
{profile?.avatar ? <Image src={`https://arweave.net/${profile.avatar}`} width={22} height={22} alt="profile-picture" className="rounded-full" /> : <CircleUserRound size={18} />}
{profile.displayName || profile.username}</Link>
<div className="grow"></div>
{/* <div className="flex gap-2 items-center font-semibold">$0.1 <WarpedAR /></div> */}
<Link href={`https://ao-bazar.arweave.net/#/asset/${pid}`} target="_blank" className="text-primary hover:underline underline-offset-4 flex items-center gap-1.5"
<Link href={`https://bazar.ar.io/#/asset/${pid}`} target="_blank" className="text-primary hover:underline underline-offset-4 flex items-center gap-1.5"
onClick={(e) => { e.stopPropagation() }}
>View on bazar <BazarIcon /></Link>
{/* <Label data-hovered={hovered} className="ml-auto text-sm text-muted/30 transition-all duration-200 opacity-0 data-[hovered=true]:opacity-100 cursor-pointer">click to preview</Label> */}
Expand All @@ -254,7 +254,7 @@ function Template({ pid, search }: { pid: string, search: string }) {
<iframe src={`/renderer?tx=${pid}`} className="border w-full grow rounded"></iframe>
<DialogFooter className="flex items-center !justify-between">
{/* view on bazar */}
<Link href={`https://ao-bazar.arweave.net/#/asset/${pid}`} target="_blank" className="text-primary hover:underline underline-offset-4 flex items-center gap-1.5"
<Link href={`https://bazar.ar.io/#/asset/${pid}`} target="_blank" className="text-primary hover:underline underline-offset-4 flex items-center gap-1.5"
onClick={(e) => { e.stopPropagation() }}
><BazarIcon /> View on bazar</Link>
<Button disabled={!globalState.activeProject} type="submit" onClick={importIntoProj}>Import Into current project</Button>
Expand Down

0 comments on commit 5c44433

Please sign in to comment.