Skip to content

Commit

Permalink
fix: collection address headers social update
Browse files Browse the repository at this point in the history
  • Loading branch information
MartianGreed committed Dec 5, 2024
1 parent 6a0ce6f commit bab4bf7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import {
ChevronDown,
Discord,
Globe,
Github,
VerifiedIcon,
XIcon,
} from "@ark-market/ui/icons";
Expand All @@ -20,6 +20,7 @@ import CopyButton from "~/components/copy-button";
import ExternalLink from "~/components/external-link";
import CollectionHeaderStats from "./collection-header-stats";
import { CollectionDescription, homepageConfig } from "~/config/homepage";
import { siteConfig } from "~/config/site";

import useCollection from "~/hooks/useCollection";

Expand All @@ -36,7 +37,6 @@ export default function CollectionHeader({

const { data } = useCollection({ address: collectionAddress })


const description = CollectionDescription[collection.address];
const collectionConfig = homepageConfig.mainCarousel.find((collection) => collection.address === collectionAddress)
if (!data || !description) {
Expand Down Expand Up @@ -75,14 +75,14 @@ export default function CollectionHeader({
</div>
<div className="mb-1 flex h-6 items-center gap-4 text-sm text-muted-foreground">
<CopyButton textToCopy={collectionAddress} />
<ExternalLink href="/">
<ExternalLink href={siteConfig.links.twitter}>
<XIcon className="h-4" />
</ExternalLink>
<ExternalLink href="/">
<ExternalLink href={siteConfig.links.discord}>
<Discord className="h-4" />
</ExternalLink>
<ExternalLink href="/">
<Globe className="h-4" />
<ExternalLink href={siteConfig.links.github}>
<Github className="h-4" />
</ExternalLink>
<CollapsibleTrigger asChild>
<button
Expand Down

0 comments on commit bab4bf7

Please sign in to comment.