Skip to content

Commit e1f1069

Browse files
committed
Remove Whitepaper links from header, nav menus, and constants
Same reason as the footer removal — the whitepaper describes the old MPC-TSS network, not the current TEE-based architecture. Pulled from Header (Developers dropdown), NavMenu (mobile nav), NavMenu2 (also mobile nav), and the WHITEPAPER_LINK constant since it had no remaining references.
1 parent 3bcf05e commit e1f1069

4 files changed

Lines changed: 0 additions & 14 deletions

File tree

src/components/Header/Header.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
GITHUB_LINK,
1717
SPARK_LINK,
1818
VINCENT_LINK,
19-
WHITEPAPER_LINK,
2019
DEVELOPER_CONSTANT_LINK,
2120
COMMUNITY_CONSTANT_LINK,
2221
COMPANY_CONSTANT_LINK,
@@ -45,7 +44,6 @@ const links: LinkItem[] = [
4544
links: [
4645
{ link: DOCS_LINK, label: 'Documentation', external: true },
4746
{ link: GITHUB_LINK, label: 'Github', external: true },
48-
{ link: WHITEPAPER_LINK, label: 'Whitepaper', external: true },
4947
],
5048
},
5149
{

src/components/NavMenu/NavMenu.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
GITHUB_LINK,
99
SPARK_LINK,
1010
VINCENT_LINK,
11-
WHITEPAPER_LINK,
1211
} from '@/utils/constants';
1312
import { HeaderMenu } from '../Header/Header';
1413

@@ -55,14 +54,6 @@ const NavMenu = ({
5554
>
5655
Github
5756
</a>
58-
<a
59-
href={WHITEPAPER_LINK}
60-
target="_blank"
61-
rel="noopener noreferrer"
62-
className={styles.nav__link}
63-
>
64-
Whitepaper
65-
</a>
6657
</div>
6758
<div className={styles.nav__links}>
6859
<h6 className={styles.nav__category}>Community</h6>

src/components/NavMenu/NavMenu2.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
GITHUB_LINK,
77
SPARK_LINK,
88
VINCENT_LINK,
9-
WHITEPAPER_LINK,
109
} from '@/utils/constants';
1110
import { HeaderMenu } from '../Header/Header';
1211
import { Group, Modal } from '@mantine/core';
@@ -33,7 +32,6 @@ const links: LinkItem[] = [
3332
links: [
3433
{ link: DOCS_LINK, label: 'Documentation', external: true },
3534
{ link: GITHUB_LINK, label: 'Github', external: true },
36-
{ link: WHITEPAPER_LINK, label: 'Whitepaper', external: true },
3735
],
3836
},
3937
{

src/utils/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const SPARK_LINK = 'https://spark.litprotocol.com';
99
export const CONTACT_FORM = 'https://forms.gle/n4WKtsyxaduEz8dDA';
1010
export const CALENDAR_LINK = 'https://litgateway.com/calendar';
1111
export const GITHUB_LINK = 'https://github.com/LIT-Protocol';
12-
export const WHITEPAPER_LINK = 'https://github.com/LIT-Protocol/whitepaper';
1312
export const AUDIT_LINK =
1413
'https://drive.google.com/drive/folders/1Rrht88iUkzpofwl1CvP9gEjqY60BKyFn';
1514
export const COMMUNITY_LINK = 'https://developer.litprotocol.com/support/intro';

0 commit comments

Comments
 (0)