Skip to content

Commit

Permalink
Merge pull request #1526 from starknet-io/enhancement/add-recruitment…
Browse files Browse the repository at this point in the history
…-link

Add recruitment link
  • Loading branch information
rafaelcruzazevedo authored Oct 23, 2023
2 parents cdfc1b7 + e9c7074 commit 377a5fd
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
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

0 comments on commit 377a5fd

Please sign in to comment.