Career 19



<section id="relume" class="px-[5%] py-16 md:py-24 lg:py-28">
<div class="container max-w-lg">
<div class="mb-12 text-center md:mb-18 lg:mb-20">
<p class="mb-3 font-semibold md:mb-4">Tagline</p>
<h2 class="mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">Open Positions</h2>
<p class="md:text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros
elementum tristique.
</p>
</div>
<div dir="ltr" data-orientation="horizontal" class="flex flex-col justify-start">
<div
role="tablist"
aria-orientation="horizontal"
class="no-scrollbar mb-12 ml-[-5vw] flex w-screen items-center overflow-auto pl-[5vw] md:ml-0 md:w-full md:justify-center md:overflow-hidden md:pl-0"
tabindex="-1"
data-orientation="horizontal"
style="outline: none"
>
<button
type="button"
role="tab"
aria-selected="true"
aria-controls="radix-:R2:-content-view-all"
data-state="active"
id="radix-:R2:-trigger-view-all"
class="inline-flex items-center justify-center whitespace-nowrap border border-border-primary bg-background-primary py-2 text-text-primary transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 px-4 data-[state=active]:border data-[state=active]:border-border-primary data-[state=inactive]:border-transparent data-[state=active]:bg-transparent data-[state=active]:text-neutral-black"
tabindex="-1"
data-orientation="horizontal"
data-radix-collection-item=""
>
View all</button
><button
type="button"
role="tab"
aria-selected="false"
aria-controls="radix-:R2:-content-department-one"
data-state="inactive"
id="radix-:R2:-trigger-department-one"
class="inline-flex items-center justify-center whitespace-nowrap border border-border-primary bg-background-primary py-2 text-text-primary transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 px-4 data-[state=active]:border data-[state=active]:border-border-primary data-[state=inactive]:border-transparent data-[state=active]:bg-transparent data-[state=active]:text-neutral-black"
tabindex="-1"
data-orientation="horizontal"
data-radix-collection-item=""
>
Department one</button
><button
type="button"
role="tab"
aria-selected="false"
aria-controls="radix-:R2:-content-department-two"
data-state="inactive"
id="radix-:R2:-trigger-department-two"
class="inline-flex items-center justify-center whitespace-nowrap border border-border-primary bg-background-primary py-2 text-text-primary transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 px-4 data-[state=active]:border data-[state=active]:border-border-primary data-[state=inactive]:border-transparent data-[state=active]:bg-transparent data-[state=active]:text-neutral-black"
tabindex="-1"
data-orientation="horizontal"
data-radix-collection-item=""
>
Department two</button
><button
type="button"
role="tab"
aria-selected="false"
aria-controls="radix-:R2:-content-department-three"
data-state="inactive"
id="radix-:R2:-trigger-department-three"
class="inline-flex items-center justify-center whitespace-nowrap border border-border-primary bg-background-primary py-2 text-text-primary transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 px-4 data-[state=active]:border data-[state=active]:border-border-primary data-[state=inactive]:border-transparent data-[state=active]:bg-transparent data-[state=active]:text-neutral-black"
tabindex="-1"
data-orientation="horizontal"
data-radix-collection-item=""
>
Department three
</button>
</div>
<div
data-state="active"
data-orientation="horizontal"
role="tabpanel"
aria-labelledby="radix-:R2:-trigger-view-all"
id="radix-:R2:-content-view-all"
tabindex="0"
class="focus-visible:outline-none data-[state=active]:animate-tabs"
style="animation-duration: 0s"
>
<div class="flex flex-col gap-6 md:gap-8">
<div class="border border-border-primary p-6 md:p-8">
<div class="mb-6 flex flex-wrap items-center justify-between gap-4 md:mb-8">
<div class="flex items-center gap-4">
<a href="#"><h3 class="text-xl font-bold md:text-2xl">Job Title</h3></a>
<p class="bg-background-secondary px-2 py-1 text-sm font-semibold">Department</p>
</div>
<a
href="#"
class="focus-visible:ring-border-primary inline-flex items-center justify-center whitespace-nowrap ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-0 text-text-primary gap-2 p-0"
title="Apply Now"
>Apply Now<svg
stroke="currentColor"
fill="none"
stroke-width="0"
viewBox="0 0 15 15"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z"
fill="currentColor"
></path></svg
></a>
</div>
<p class="mb-5 md:mb-6">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
eros elementum tristique.
</p>
<div class="flex flex-wrap gap-y-3">
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<span class="md:text-md">Location</span>
</div>
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
></path>
<path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path>
</svg>
</div>
<span class="md:text-md">Contract Type</span>
</div>
</div>
</div>
<div class="border border-border-primary p-6 md:p-8">
<div class="mb-6 flex flex-wrap items-center justify-between gap-4 md:mb-8">
<div class="flex items-center gap-4">
<a href="#"><h3 class="text-xl font-bold md:text-2xl">Job Title</h3></a>
<p class="bg-background-secondary px-2 py-1 text-sm font-semibold">Department</p>
</div>
<a
href="#"
class="focus-visible:ring-border-primary inline-flex items-center justify-center whitespace-nowrap ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-0 text-text-primary gap-2 p-0"
title="Apply Now"
>Apply Now<svg
stroke="currentColor"
fill="none"
stroke-width="0"
viewBox="0 0 15 15"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z"
fill="currentColor"
></path></svg
></a>
</div>
<p class="mb-5 md:mb-6">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
eros elementum tristique.
</p>
<div class="flex flex-wrap gap-y-3">
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<span class="md:text-md">Location</span>
</div>
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
></path>
<path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path>
</svg>
</div>
<span class="md:text-md">Contract Type</span>
</div>
</div>
</div>
<div class="border border-border-primary p-6 md:p-8">
<div class="mb-6 flex flex-wrap items-center justify-between gap-4 md:mb-8">
<div class="flex items-center gap-4">
<a href="#"><h3 class="text-xl font-bold md:text-2xl">Job Title</h3></a>
<p class="bg-background-secondary px-2 py-1 text-sm font-semibold">Department</p>
</div>
<a
href="#"
class="focus-visible:ring-border-primary inline-flex items-center justify-center whitespace-nowrap ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-0 text-text-primary gap-2 p-0"
title="Apply Now"
>Apply Now<svg
stroke="currentColor"
fill="none"
stroke-width="0"
viewBox="0 0 15 15"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z"
fill="currentColor"
></path></svg
></a>
</div>
<p class="mb-5 md:mb-6">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
eros elementum tristique.
</p>
<div class="flex flex-wrap gap-y-3">
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<span class="md:text-md">Location</span>
</div>
<div class="mr-6 flex items-center">
<div class="mr-3 flex-none">
<svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
class="flex size-6 flex-col items-center justify-center"
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
></path>
<path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path>
</svg>
</div>
<span class="md:text-md">Contract Type</span>
</div>
</div>
</div>
</div>
</div>
<div
data-state="inactive"
data-orientation="horizontal"
role="tabpanel"
aria-labelledby="radix-:R2:-trigger-department-one"
hidden=""
id="radix-:R2:-content-department-one"
tabindex="0"
class="focus-visible:outline-none data-[state=active]:animate-tabs"
></div>
<div
data-state="inactive"
data-orientation="horizontal"
role="tabpanel"
aria-labelledby="radix-:R2:-trigger-department-two"
hidden=""
id="radix-:R2:-content-department-two"
tabindex="0"
class="focus-visible:outline-none data-[state=active]:animate-tabs"
></div>
<div
data-state="inactive"
data-orientation="horizontal"
role="tabpanel"
aria-labelledby="radix-:R2:-trigger-department-three"
hidden=""
id="radix-:R2:-content-department-three"
tabindex="0"
class="focus-visible:outline-none data-[state=active]:animate-tabs"
></div>
</div>
</div>
</section>
import { Button, Tabs, TabsContent, TabsList, TabsTrigger } from "@relume_io/relume-ui";
import type { ButtonProps } from "@relume_io/relume-ui";
import { LuMapPin } from "react-icons/lu";
import { MdAccessTime } from "react-icons/md";
import { RxChevronRight } from "react-icons/rx";
type PositionProps = {
url: string;
title: string;
department: string;
description: string;
location: string;
contractType: string;
button: ButtonProps;
};
type PositionCardProps = {
position: PositionProps;
};
type Tab = {
value: string;
trigger: string;
content: PositionProps[];
};
type Props = {
tagline: string;
heading: string;
description: string;
tabs: Tab[];
defaultValue: string;
};
export type Career19Props = React.ComponentPropsWithoutRef<"section"> & Partial<Props>;
export const Career19 = (props: Career19Props) => {
const { tagline, heading, description, tabs, defaultValue } = {
...Career19Defaults,
...props,
};
return (
<section id="relume" className="px-[5%] py-16 md:py-24 lg:py-28">
<div className="container max-w-lg">
<div className="mb-12 text-center md:mb-18 lg:mb-20">
<p className="mb-3 font-semibold md:mb-4">{tagline}</p>
<h2 className="mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">{heading}</h2>
<p className="md:text-md">{description}</p>
</div>
<Tabs defaultValue={defaultValue} className="flex flex-col justify-start">
<TabsList className="no-scrollbar mb-12 ml-[-5vw] flex w-screen items-center overflow-auto pl-[5vw] md:ml-0 md:w-full md:justify-center md:overflow-hidden md:pl-0">
{tabs.map((tab, index) => (
<TabsTrigger
key={index}
value={tab.value}
className="px-4 data-[state=active]:border data-[state=active]:border-border-primary data-[state=inactive]:border-transparent data-[state=active]:bg-transparent data-[state=active]:text-neutral-black"
>
{tab.trigger}
</TabsTrigger>
))}
</TabsList>
{tabs.map((tab) => (
<TabsContent
key={tab.value}
value={tab.value}
className="data-[state=active]:animate-tabs"
>
<div className="flex flex-col gap-6 md:gap-8">
{tab.content.map((position, index) => (
<PositionCard key={index} position={position} />
))}
</div>
</TabsContent>
))}
</Tabs>
</div>
</section>
);
};
const PositionCard: React.FC<PositionCardProps> = ({ position }) => {
return (
<div className="border border-border-primary p-6 md:p-8">
<div className="mb-6 flex flex-wrap items-center justify-between gap-4 md:mb-8">
<div className="flex items-center gap-4">
<a href={position.url}>
<h3 className="text-xl font-bold md:text-2xl">{position.title}</h3>
</a>
<p className="bg-background-secondary px-2 py-1 text-sm font-semibold">
{position.department}
</p>
</div>
<Button {...position.button} asChild>
<a href={position.url}>{position.button.title}</a>
</Button>
</div>
<p className="mb-5 md:mb-6">{position.description}</p>
<div className="flex flex-wrap gap-y-3">
<div className="mr-6 flex items-center">
<div className="mr-3 flex-none">
<LuMapPin className="flex size-6 flex-col items-center justify-center" />
</div>
<span className="md:text-md">{position.location}</span>
</div>
<div className="mr-6 flex items-center">
<div className="mr-3 flex-none">
<MdAccessTime className="flex size-6 flex-col items-center justify-center" />
</div>
<span className="md:text-md">{position.contractType}</span>
</div>
</div>
</div>
);
};
const position = {
url: "#",
title: "Job Title",
department: "Department",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
location: "Location",
contractType: "Contract Type",
button: { title: "Apply Now", variant: "link", size: "link", iconRight: <RxChevronRight /> },
};
export const Career19Defaults: Props = {
tagline: "Tagline",
heading: "Open Positions",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
defaultValue: "view-all",
tabs: [
{
value: "view-all",
trigger: "View all",
content: [position, position, position],
},
{
value: "department-one",
trigger: "Department one",
content: [position, position, position],
},
{
value: "department-two",
trigger: "Department two",
content: [position, position, position],
},
{
value: "department-three",
trigger: "Department three",
content: [position, position, position],
},
],
};
Need help?
For installation guidelines and API information, visit the docs.
Examples
No items found.