-
Notifications
You must be signed in to change notification settings - Fork 997
Expand file tree
/
Copy pathpage.tsx
More file actions
357 lines (344 loc) Β· 12.8 KB
/
Copy pathpage.tsx
File metadata and controls
357 lines (344 loc) Β· 12.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
import { createPageMetadata } from "@/lib/page-metadata";
import Image from "next/image";
import { Action, Button } from "@prisma/eclipse";
import { CardSection } from "@/components/homepage/card-section/card-section";
import { StatsList } from "@/components/careers/stats-list";
import { Flexible } from "@/components/careers/Flexible";
import { Challenges } from "@/components/careers/Challenges";
import { WorldMap } from "@/components/careers/WorldMap";
import { OpenRoles } from "@/components/careers/open-roles";
import MasonryPict from "@/components/careers/masonry-client";
const masonryImages = [
{
imageUrl: "/photos/careers/masonry_1.webp",
imageAlt:
"A Prisma team member presenting at a conference in front of a Prisma banner",
},
{
imageUrl: "/photos/careers/masonry_2.webp",
imageAlt:
"Prisma team members walking outdoors together during a company offsite",
},
{
imageUrl: "/photos/careers/masonry_3.webp",
imageAlt:
"A large group of Prisma team members gathered on a beach during a company retreat",
},
{
imageUrl: "/photos/careers/masonry_4.webp",
imageAlt: "Two Prisma team members high-fiving on a sunny beach",
},
{
imageUrl: "/photos/careers/masonry_5.webp",
imageAlt:
"The Prisma team celebrating together on a beach, holding a Prisma flag",
},
{
imageUrl: "/photos/careers/masonry_10.webp",
imageAlt: "Prisma team group photo in front of a coastal waterfront",
},
{
imageUrl: "/photos/careers/masonry_6.webp",
imageAlt: "Large Prisma team group photo with a mountain backdrop",
},
{
imageUrl: "/photos/careers/masonry_7.webp",
imageAlt:
"Prisma team members smiling and engaged during an indoor workshop",
},
{
imageUrl: "/photos/careers/masonry_8.webp",
imageAlt:
"Prisma team members posing in front of illuminated PRISMA lettering",
},
{
imageUrl: "/photos/careers/masonry_9.webp",
imageAlt: "A Prisma team member presenting on stage at a conference",
},
{
imageUrl: "/photos/careers/masonry_14.webp",
imageAlt: "Prisma team members high-fiving during a group beach activity",
},
{
imageUrl: "/photos/careers/masonry_11.webp",
imageAlt:
"Three Prisma team members receiving a Values Award at a company event",
},
{
imageUrl: "/photos/careers/masonry_12.webp",
imageAlt: "Three Prisma team members chatting at an outdoor company event",
},
{
imageUrl: "/photos/careers/masonry_13.webp",
imageAlt: "Two Prisma team members smiling together at a company offsite",
},
];
const benefits = [
{
icon: "fa-regular fa-arrow-trend-up",
text: "<b>Stock options package</b> with a maximum exercise period of 10 years after grant",
},
{
icon: "fa-regular fa-hand-holding-dollar",
text: "<b>Generous recurring tech budget</b> and subsidy for an ergonomic chair",
},
{
icon: "fa-regular fa-sunglasses",
text: "<b>24 vacation days</b> per year in addition to sick leave and public holidays",
},
{
icon: "fa-regular fa-baby-carriage",
text: "<b>20 weeks paid parental leave</b> and 10 days paid time off per year in the event of the sickness of your child",
},
{
icon: "fa-regular fa-head-side-medical",
text: "<b>4 mental health days</b> per year",
},
{
icon: "fa-regular fa-star",
text: "<b>6-week paid sabbatical leave</b> after three years",
},
{
icon: "fa-regular fa-lamp-desk",
text: "Access to <b>co-working spaces</b> in your area",
},
{
icon: "fa-regular fa-headset",
text: "Dedicated <b>People</b> and <b>Operations</b> team",
},
{
icon: "fa-regular fa-island-tropical",
text: "Two company <b>offsites</b> each year",
},
{
icon: "fa-regular fa-heart-pulse",
text: "<b>[US] 401K matching</b> as well as medical, dental, and vision cover",
},
];
const twoCol = [
{
content: (
<>
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display mt-0 mb-4">
Solve challenging <br /> technical problems
</h2>
<p className="text-foreground-neutral-weak! text-base">
Prisma is building the data access layer for modern applications. If
you're drawn to the technology powering large companies but desire the
challenges and freedom of a startup, then consider joining us.
</p>
</>
),
imageUrl: null,
imageAlt: null,
mobileImageUrl: null,
mobileImageAlt: null,
other: <Challenges />,
logos: null,
useDefaultLogos: true,
visualPosition: "right" as const,
visualType: "other" as const,
},
{
content: (
<>
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display mt-0 mb-4">
Flexible work environment
</h2>
<p className="text-foreground-neutral-weak! text-base">
We offer flexible working hours and generous paid time off to
accommodate different lifestyles and responsibilities. As long as it
suits your team, you have the freedom to build your work schedule
around your life.
</p>
</>
),
imageUrl: null,
imageAlt: null,
mobileImageUrl: null,
mobileImageAlt: null,
other: <Flexible />,
logos: null,
useDefaultLogos: false,
visualPosition: "left" as const,
visualType: "other" as const,
},
{
content: (
<>
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display mt-0 mb-4">
Flexible remote organization
</h2>
<p className="text-foreground-neutral-weak! text-base">
Our team is globally distributed and everyone can work from any
location within the UTC -5 to UTC +3 timezones. We want you to choose
wherever you are happiest and most productive.
</p>
</>
),
imageUrl: null,
imageAlt: null,
mobileImageUrl: null,
mobileImageAlt: null,
other: <WorldMap />,
logos: null,
useDefaultLogos: false,
visualPosition: "right" as const,
visualType: "other" as const,
},
];
const statsList = [
{ head: "45", sub: "Team Members" },
{ head: "16", sub: "Countries" },
{ head: "100", sub: "Remote" },
];
export const metadata = createPageMetadata({
title: "Careers | Prisma",
description:
"See open positions at Prisma. Join us to empower developers to build data-intensive applications.",
path: "/careers",
ogImage: "/og/og-careers.png",
});
export default function Careers() {
return (
<main className="flex-1 w-full z-1 bg-background-default">
<div className="hero -mt-24 relative flex items-end justify-center px-4 pt-24">
<div className="w-screen absolute inset-0 opacity-20">
<Image
src="/illustrations/careers/hero_lines.svg"
alt=""
fill
priority={true}
className="object-cover object-bottom hidden dark:block"
/>
<Image
src="/illustrations/careers/hero_lines_light.svg"
alt=""
fill
priority={true}
className="object-cover object-bottom block dark:hidden"
/>
</div>
<div className="content relative z-2 my-12 flex flex-col gap-8 mt-30 pb-12">
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
Join Prisma
</h1>
<p className="text-center text-foreground-neutral max-w-2xl mx-auto">
Help us empower developers to build data-driven applications.
</p>
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
<Button
asChild
variant="orm"
size="3xl"
className="font-sans-display! font-[650]"
>
<a href="#open-positions">
View open positions
<i className="fa-solid fa-arrow-down" />
</a>
</Button>
</div>
</div>
</div>
<div className="py-12 relative px-4 ">
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(180deg,var(--color-foreground-orm)_0%,var(--color-background-default)_100%)] opacity-20" />
<div className="z-1 relative">
<StatsList statsList={statsList} />
</div>
<div className="my-12 relative z-1">
<MasonryPict images={masonryImages} gutter="16px" />
</div>
</div>
<div className="py-12 px-4 relative">
<div className="max-w-[1200px] w-full mx-auto">
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(0deg,var(--color-foreground-orm)_0%,var(--color-background-default)_100%)] opacity-20" />
<h2 className="relative z-1 text-center m-0 mb-4 text-4xl md:text-[36px] font-black text-foreground-neutral font-sans-display stretch-display">
Why Prisma?
</h2>
<div className="mt-12 relative z-1">
<CardSection cardSection={twoCol} />
</div>
</div>
</div>
<div className="py-12 px-4 relative">
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(180deg,var(--color-foreground-orm)_0%,var(--color-background-default)_100%)] opacity-20" />
<div className="max-w-[1200px] w-full mx-auto flex flex-col gap-8 relative z-1">
<section className="py-16 px-4">
<div className="max-w-[1200px] mx-auto flex-col flex gap-8">
<h2 className="relative z-1 text-center text-4xl md:text-[36px] font-black text-foreground-neutral font-sans-display stretch-display">
Our Values
</h2>
<p className="text-base text-foreground-neutral-weak text-center max-w-[844px] mx-auto mb-4">
At Prisma, we believe that our company values are essential to
our success. They guide us in our daily work, helping us to
thrive and creating an environment where team members can grow
and collaborate effectively.
</p>
{/* Values Grid */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-[800px] mx-auto">
{/* Transparency */}
<div className="flex items-center gap-6">
<Action color="orm" size="5xl">
<i className="fa-regular fa-eye text-3xl" />
</Action>
<h3 className="text-2xl font-bold font-sans-display">
Transparency
</h3>
</div>
{/* Curiosity */}
<div className="flex items-center gap-6">
<Action color="orm" size="5xl">
<i className="fa-regular fa-face-raised-eyebrow text-3xl" />
</Action>
<h3 className="text-2xl font-bold font-sans-display">
Curiosity
</h3>
</div>
{/* Solidarity */}
<div className="flex items-center gap-6">
<Action color="orm" size="5xl">
<i className="fa-regular fa-handshake text-3xl" />
</Action>
<h3 className="text-2xl font-bold">Solidarity</h3>
</div>
{/* Accountability */}
<div className="flex items-center gap-6">
<Action color="orm" size="5xl">
<i className="fa-regular fa-hand-pointer text-3xl" />
</Action>
<h3 className="text-2xl font-bold">Accountability</h3>
</div>
</div>
</div>
</section>
</div>
</div>
<div className="py-12 px-4 relative">
<div className="relative z-1 max-w-[940px] w-full mx-auto flex flex-col gap-8 my-12">
<h2 className="text-center m-0 mb-4 text-4xl md:text-[36px] font-black text-foreground-neutral font-sans-display stretch-display">
Benefits
</h2>
<div className="grid md:grid-cols-2 gap-10">
{benefits.map((benefit, index) => (
<div key={index} className="flex items-start gap-4">
<i
className={`fa-regular ${benefit.icon} text-3xl text-foreground-orm`}
/>
<p
className="text-lg"
dangerouslySetInnerHTML={{ __html: benefit.text }}
/>
</div>
))}
</div>
</div>
</div>
<div className="py-12 px-4 relative scroll-m-24" id="open-positions">
<div className="max-w-[1200px] w-full mx-auto flex flex-col md:flex-row gap-8 my-12">
<OpenRoles />
</div>
</div>
</main>
);
}