Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recruitment link #1526

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _data/seo/jobs.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
title: Ecosystem jobs
subtitle: Find a job with the best teams building on Starknet.
description: Recruiting for your project? Let the Starknet ecosystem know about
it by submitting an open position
[here](https://forms.reform.app/starkware/job-market-submission/grur62).
5 changes: 5 additions & 0 deletions workspaces/cms-config/src/collections/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ export const SEOCollectionConfig = {
widget: "string",
crowdin: true,
},
{
label: "Recruitment text",
name: "description",
widget: "markdown"
}
],
},
{
Expand Down
1 change: 1 addition & 0 deletions workspaces/cms-data/src/seo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface SEOTexts {
jobs: {
title: string;
subtitle: string;
description: string;
};
search: {
search: string;
Expand Down
30 changes: 21 additions & 9 deletions workspaces/website/src/pages/jobs/JobsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ import {
import { useRefinementList } from "react-instantsearch-hooks";
import { PageLayout } from "@ui/Layout/PageLayout";
import { Heading } from "@ui/Typography/Heading";
import { Text } from "@ui/Typography/Text";
import { titleCase } from "src/utils/utils";
import { RefinementListProps } from "react-instantsearch-hooks-web/dist/es/ui/RefinementList";
import MobileFiltersButton from "../(components)/MobileFilter/MobileFiltersButton";
import useMobileFiltersDrawer from "../(components)/MobileFilter/useMobileFiltersDrawer";
import MobileFiltersDrawer from "../(components)/MobileFilter/MobileFiltersDrawer";
import { SEOTexts } from "@starknet-io/cms-data/src/seo";
import JobsCard from "./JobsCard";
import { MarkdownBlock } from "src/blocks/MarkdownBlock";

export interface AutoProps {
readonly params: {
Expand Down Expand Up @@ -156,15 +158,25 @@ const JobsPageLayout = ({ params, seo }: Pick<Props, "params" | "seo">) => {
<PageLayout
sectionHeaderTitle={seo.title}
sectionHeaderDescription={seo.subtitle}
sectionHeaderBottomContent={
<MobileFiltersButton
filtersCount={filtersCounts}
onClick={onOpen}
style={{
marginBlock: "16px",
}}
/>
}
sectionHeaderBottomContent={(
<>
<Text
color={'muted'}
style={{marginTop: '-36px'}}
variant={'body'}
>
<MarkdownBlock body={seo.description} />
</Text>

<MobileFiltersButton
filtersCount={filtersCounts}
onClick={onOpen}
style={{
marginBlock: "16px",
}}
/>
</>
)}
breadcrumbs={
<Breadcrumb separator="/">
<BreadcrumbItem>
Expand Down