Skip to content

Commit 77ca49a

Browse files
Add land acknowledgement page (#159)
* Add land acknowledgement page * Fix land acknowledgement E2E modal setup
1 parent 6962078 commit 77ca49a

4 files changed

Lines changed: 138 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
describe('Land acknowledgement', () => {
2+
it('navigates from the footer to the land acknowledgement page', () => {
3+
cy.visit('/', {
4+
onBeforeLoad(win) {
5+
win.localStorage.setItem('inferencex-star-modal-dismissed', String(Date.now()));
6+
},
7+
});
8+
9+
cy.get('[data-testid="footer-link-land-acknowledgement"]').scrollIntoView().click();
10+
11+
cy.location('pathname').should('eq', '/land-acknowledgement');
12+
cy.get('[data-testid="land-acknowledgement-page"]').within(() => {
13+
cy.get('h1').should('contain.text', 'Indigenous homelands');
14+
cy.get('[data-testid="land-acknowledgement-san-jose"]').should(
15+
'contain.text',
16+
'Muwekma Ohlone Tribe',
17+
);
18+
cy.get('[data-testid="land-acknowledgement-los-angeles"]').should('contain.text', 'Tongva');
19+
cy.get('[data-testid="land-acknowledgement-chicago"]').should(
20+
'contain.text',
21+
'Council of the Three Fires',
22+
);
23+
});
24+
});
25+
});
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
import type { Metadata } from 'next';
2+
3+
import { Card } from '@/components/ui/card';
4+
import { SITE_URL } from '@semianalysisai/inferencex-constants';
5+
6+
const REGIONAL_ACKNOWLEDGEMENTS = [
7+
{
8+
region: 'San Jose',
9+
peoples: 'Muwekma Ohlone Tribe',
10+
acknowledgement:
11+
'Our San Jose-area benchmark infrastructure operates on the unceded ancestral homelands of the Muwekma Ohlone Tribe of the San Francisco Bay Area.',
12+
},
13+
{
14+
region: 'Los Angeles',
15+
peoples: 'Tongva, Tataviam, Serrano, Kizh, and Chumash Peoples',
16+
acknowledgement:
17+
'Our Los Angeles-area benchmark infrastructure operates on land originally and still inhabited and cared for by the Tongva, Tataviam, Serrano, Kizh, and Chumash Peoples.',
18+
},
19+
{
20+
region: 'Chicago',
21+
peoples:
22+
'Council of the Three Fires, Illinois Confederacy, Miami, Ho-Chunk, Menominee, Fox, and Sac Peoples',
23+
acknowledgement:
24+
'Our Chicago-area benchmark infrastructure operates on land stewarded by the Council of the Three Fires (Ojibwe, Odawa, and Potawatomi Nations), the Illinois Confederacy, and many other Native Nations including the Miami, Ho-Chunk, Menominee, Fox, and Sac Peoples.',
25+
},
26+
];
27+
28+
export const metadata: Metadata = {
29+
title: 'Land Acknowledgement',
30+
description:
31+
'A land acknowledgement for the Indigenous peoples and homelands connected to InferenceX US benchmark clusters in San Jose, Los Angeles, and Chicago.',
32+
alternates: { canonical: `${SITE_URL}/land-acknowledgement` },
33+
openGraph: {
34+
title: 'Land Acknowledgement | InferenceX',
35+
description:
36+
'A land acknowledgement for the Indigenous peoples and homelands connected to InferenceX US benchmark clusters in San Jose, Los Angeles, and Chicago.',
37+
url: `${SITE_URL}/land-acknowledgement`,
38+
},
39+
twitter: {
40+
title: 'Land Acknowledgement | InferenceX',
41+
description:
42+
'A land acknowledgement for the Indigenous peoples and homelands connected to InferenceX US benchmark clusters in San Jose, Los Angeles, and Chicago.',
43+
},
44+
};
45+
46+
export default function LandAcknowledgementPage() {
47+
return (
48+
<main data-testid="land-acknowledgement-page" className="relative">
49+
<div className="container mx-auto px-4 lg:px-8 pb-8">
50+
<Card className="gap-10">
51+
<header className="max-w-3xl">
52+
<p className="mb-3 text-xs font-semibold uppercase tracking-[0.32em] text-brand">
53+
Land Acknowledgement
54+
</p>
55+
<h1 className="text-4xl font-semibold tracking-[-0.04em] text-foreground md:text-5xl">
56+
We recognize the Indigenous homelands connected to our US infrastructure.
57+
</h1>
58+
<p className="mt-4 text-sm leading-6 text-muted-foreground md:text-base">
59+
InferenceX benchmark clusters serve traffic from several regions. This page focuses on
60+
our US sites in San Jose, Los Angeles, and Chicago, and acknowledges the Indigenous
61+
peoples who have stewarded these lands across generations and continue to do so today.
62+
</p>
63+
</header>
64+
65+
<section
66+
data-testid="land-acknowledgement-regions"
67+
className="grid gap-4 lg:grid-cols-3"
68+
aria-label="Regional land acknowledgements"
69+
>
70+
{REGIONAL_ACKNOWLEDGEMENTS.map((entry) => (
71+
<article
72+
key={entry.region}
73+
data-testid={`land-acknowledgement-${entry.region
74+
.toLowerCase()
75+
.replaceAll(' ', '-')}`}
76+
className="rounded-2xl border border-border/40 bg-background/20 p-5"
77+
>
78+
<p className="text-xs font-semibold uppercase tracking-[0.28em] text-muted-foreground">
79+
{entry.region}
80+
</p>
81+
<h2 className="mt-3 text-xl font-semibold tracking-[-0.04em] text-foreground">
82+
{entry.peoples}
83+
</h2>
84+
<p className="mt-4 text-sm leading-6 text-muted-foreground">
85+
{entry.acknowledgement}
86+
</p>
87+
</article>
88+
))}
89+
</section>
90+
91+
<p className="max-w-3xl text-sm leading-6 text-muted-foreground">
92+
Acknowledgement is only a starting point. We share this statement with respect for
93+
Native sovereignty, history, and ongoing community presence, and we welcome corrections
94+
if our wording should be improved.
95+
</p>
96+
</Card>
97+
</div>
98+
</main>
99+
);
100+
}

packages/app/src/app/sitemap.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ export default function sitemap(): MetadataRoute.Sitemap {
3434
changeFrequency: 'monthly',
3535
priority: 0.6,
3636
},
37+
{
38+
url: `${BASE_URL}/land-acknowledgement`,
39+
lastModified: now,
40+
changeFrequency: 'yearly',
41+
priority: 0.4,
42+
},
3743
{
3844
url: `${BASE_URL}/blog`,
3945
lastModified: now,

packages/app/src/components/footer/footer.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ export const Footer = ({ starCount }: { starCount?: number | null }) => {
7474
</div>
7575
<div data-testid="footer-links-legal" className="flex flex-col gap-2.5">
7676
<span className="text-sm font-medium text-foreground">Legal</span>
77+
<Link
78+
data-testid="footer-link-land-acknowledgement"
79+
href="/land-acknowledgement"
80+
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
81+
>
82+
Land Acknowledgement
83+
</Link>
7784
<a
7885
data-testid="footer-link-privacy"
7986
href="https://semianalysis.com/privacy-policy/"

0 commit comments

Comments
 (0)