Skip to content

Commit 4020122

Browse files
authored
Fix broken home-site links and add internal careers page (#31)
Repoint Community to developer.litprotocol.com (old /support/intro is 404), Governance to the Discord (discourse forum is decommissioned). Replace the disabled jobs.litprotocol.com link with an internal /careers page noting no open positions, and open it in the same tab from Footer, Header, and both nav menus.
1 parent e52cbd3 commit 4020122

6 files changed

Lines changed: 24 additions & 17 deletions

File tree

src/app/careers/page.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import Layout from '@/components/Layout/Layout';
2+
import Link from 'next/link';
3+
4+
export default function Careers() {
5+
return (
6+
<Layout>
7+
<article className="legal prose">
8+
<h1>Careers</h1>
9+
<p>
10+
There are no open positions at this time. Check back later for new
11+
opportunities.
12+
</p>
13+
<Link href="/">Return home &#8594;</Link>
14+
</article>
15+
</Layout>
16+
);
17+
}

src/components/Footer/Footer.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,7 @@ const Footer = () => {
151151
</div>
152152
<div className="flex flex-col gap-3">
153153
<h6 className={styles.footer__category}>Company</h6>
154-
<a
155-
href={CAREERS_LINK}
156-
target="_blank"
157-
rel="noopener noreferrer"
158-
className={styles.footer__link}
159-
>
154+
<a href={CAREERS_LINK} className={styles.footer__link}>
160155
Careers
161156
</a>
162157
<a

src/components/Header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const links: LinkItem[] = [
5656
label: 'Company',
5757
links: [
5858
{ link: SPARK_LINK, label: 'Blog', external: true },
59-
{ link: CAREERS_LINK, label: 'Careers', external: true },
59+
{ link: CAREERS_LINK, label: 'Careers', external: false },
6060
{ link: CONTACT_FORM, label: 'Contact', external: true },
6161
],
6262
},

src/components/NavMenu/NavMenu.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ const NavMenu = ({
7676
>
7777
Blog
7878
</a>
79-
<a
80-
href={CAREERS_LINK}
81-
target="_blank"
82-
rel="noopener noreferrer"
83-
className={styles.nav__link}
84-
>
79+
<a href={CAREERS_LINK} className={styles.nav__link}>
8580
Careers
8681
</a>
8782
<a

src/components/NavMenu/NavMenu2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const links: LinkItem[] = [
4444
label: 'Company',
4545
links: [
4646
{ link: SPARK_LINK, label: 'Blog', external: true },
47-
{ link: CAREERS_LINK, label: 'Careers', external: true },
47+
{ link: CAREERS_LINK, label: 'Careers', external: false },
4848
{ link: CONTACT_FORM, label: 'Contact', external: true },
4949
],
5050
},

src/utils/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ export const CALENDAR_LINK = 'https://litgateway.com/calendar';
1111
export const GITHUB_LINK = 'https://github.com/LIT-Protocol';
1212
export const AUDIT_LINK =
1313
'https://drive.google.com/drive/folders/1Rrht88iUkzpofwl1CvP9gEjqY60BKyFn';
14-
export const COMMUNITY_LINK = 'https://developer.litprotocol.com/support/intro';
14+
export const COMMUNITY_LINK = 'https://developer.litprotocol.com/';
1515
export const VINCENT_LINK = 'https://www.heyvincent.ai/';
1616
export const DEVELOPER_CONSTANT_LINK = 'https://developer.litprotocol.com';
1717
export const COMMUNITY_CONSTANT_LINK = 'https://discord.gg/yEJSBaznBX';
1818
export const COMPANY_CONSTANT_LINK = 'https://litprotocol.com';
19-
export const GOVERNANCE_LINK = 'https://litprotocol.discourse.group';
19+
export const GOVERNANCE_LINK = 'https://getlit.dev/chat';
2020

2121
// Product
2222
export const LIT_WALLET_LINK =
@@ -34,7 +34,7 @@ export const LINKEDIN_LINK = 'https://www.linkedin.com/company/lit-protocol';
3434
export const GALXE_LINK = 'https://app.galxe.com/quest/LitProtocol';
3535

3636
// Company
37-
export const CAREERS_LINK = 'https://jobs.litprotocol.com';
37+
export const CAREERS_LINK = '/careers';
3838
export const BRAND_LINK = 'https://github.com/LIT-Protocol/Brand-Kit';
3939

4040
// Legal

0 commit comments

Comments
 (0)