Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: forum link to menu #380

Merged
merged 2 commits into from
Nov 19, 2024
Merged
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
5 changes: 0 additions & 5 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ export const Footer = ({ variant = 'login' }: Props) => (
Whitepaper
</a>
</div>
<div className="flex items-start">
<a href="https://gov.rootstockcollective.xyz" className="hover:underline" target="_blank">
Discourse
</a>
</div>
</>
)}
<div className="flex items-start justify-end">
Expand Down
15 changes: 9 additions & 6 deletions src/components/LeftSidebar/UsefulLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,27 @@ import { currentLinks } from '@/components/LeftSidebar/links'

export const UsefulLinks = () => (
<div className="mt-[4rem]">
<Paragraph className="mb-[24px] text-[16px]">Useful links</Paragraph>
<Paragraph className="mb-[24px] text-[16px] font-bold">Useful links</Paragraph>
<div className="flex flex-col pl-[16px]">
<Link href={currentLinks.rif} variant="menu" className="mb-[16px] text-[16px]" target="_blank">
<Link href={currentLinks.rif} variant="menu" className="mb-[14px] text-[14px]" target="_blank">
RIF
</Link>
<Link href={currentLinks.rbtc} variant="menu" className="mb-[16px] text-[16px]" target="_blank">
<Link href={currentLinks.forum} variant="menu" className="mb-[14px] text-[14px]" target="_blank">
Forum
</Link>
<Link href={currentLinks.rbtc} variant="menu" className="mb-[14px] text-[14px]" target="_blank">
Get RBTC
</Link>
<Link href={currentLinks.tokenBridge} variant="menu" className="mb-[16px] text-[16px]" target="_blank">
<Link href={currentLinks.tokenBridge} variant="menu" className="mb-[14px] text-[14px]" target="_blank">
Bridge tokens
</Link>
<Link href={currentLinks.registerRns} variant="menu" className="mb-[16px] text-[16px]" target="_blank">
<Link href={currentLinks.registerRns} variant="menu" className="mb-[14px] text-[14px]" target="_blank">
Get RNS Domain
</Link>
<Link
href={currentLinks.tokenResources}
variant="menu"
className="mb-[16px] text-[16px]"
className="mb-[14px] text-[14px]"
target="_blank"
>
Token Resources
Expand Down
3 changes: 3 additions & 0 deletions src/components/LeftSidebar/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const regtest = {
rif: '',
rbtc: '',
tokenResources: '',
forum: '',
}

const testnet = {
Expand All @@ -14,6 +15,7 @@ const testnet = {
rif: 'https://www.coingecko.com/en/coins/rsk-infrastructure-framework/',
rbtc: 'https://rootstock.io/rbtc/#get-rbtc/',
tokenResources: 'https://wiki.rootstockcollective.xyz/Token-Resources-e3f89008a96e4dcab3037ff7861d9d8a',
forum: 'https://gov.rootstockcollective.xyz',
}

const mainnet = {
Expand All @@ -22,6 +24,7 @@ const mainnet = {
rif: 'https://www.coingecko.com/en/coins/rsk-infrastructure-framework/',
rbtc: 'https://rootstock.io/rbtc/#get-rbtc/',
tokenResources: 'https://wiki.rootstockcollective.xyz/Token-Resources-e3f89008a96e4dcab3037ff7861d9d8a',
forum: 'https://gov.rootstockcollective.xyz',
}

const environments = {
Expand Down
Loading