Skip to content

Commit

Permalink
Merge branch 'main' into small-changes-homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
strykerin authored Feb 10, 2025
2 parents c188020 + d469481 commit 104c105
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/components/DocsHub/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ function TechDocItem({
const baseUrl = useSiteBaseUrl();

const handleOpenLink = (e, link: { e: any; link: string }) => {
if (!link) return;

// Check if link is an absolute URL (starts with http or https)
const isAbsoluteUrl = /^https?:\/\//i.test(link);

Expand Down
20 changes: 10 additions & 10 deletions src/config/DocsHubList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ const tx = await pushChain.tx.send(
{ category: 'MY_CUSTOM_CATEGORY', data: 'Hello world!' }
);`,
},
{
title: 'Push Reward Points',
srcref: 'rewards',
alt: 'Logo representing reward points of Push Protocol',
link: '/docs/rewards',
target: '_self',
description:
'Reward Points Program for contributors. Complete activities and earn points.',
},
{
title: 'Examples',
srcref: 'star',
Expand All @@ -105,6 +96,15 @@ const tx = await pushChain.tx.send(
description:
'Examples to showcase the power of Push Protocol’s communication stack.',
},
{
title: 'Push Reward Points',
srcref: 'rewards',
alt: 'Logo representing reward points of Push Protocol',
// link: '/docs/rewards',
// target: '_self',
description:
'Reward Points Program for contributors. Complete activities and earn points.',
},
];

export const SdkItemsList: ISdkListItem[] = [
Expand Down Expand Up @@ -142,7 +142,7 @@ export const SdkItemsList: ISdkListItem[] = [
title: 'UI Kit',
Svg: require('@site/static/assets/docs/arrowupright.svg').default,
PinkSvg: require('@site/static/assets/docs/ArrowUpRight-pink.svg').default,
link: 'https://github.com/push-protocol/push-chain-sdk/tree/main/packages/ui-kit',
link: 'https://github.com/push-protocol/push-chain-sdk',
},
];

Expand Down

0 comments on commit 104c105

Please sign in to comment.