Skip to content

Commit

Permalink
Merge pull request #1527 from starknet-io/dev
Browse files Browse the repository at this point in the history
Merge dev into production
  • Loading branch information
rafaelcruzazevedo authored Oct 23, 2023
2 parents 309e287 + 377a5fd commit 0318a52
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

1 comment on commit 0318a52

@vercel
Copy link

@vercel vercel bot commented on 0318a52 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

starknet-summit-website – ./workspaces/starknet-summit

starknet-summit-website-git-production-yuki-labs.vercel.app
starknet-summit-website-yuki-labs.vercel.app
starknet-summit-website.vercel.app
summit23.starknet.io

Please sign in to comment.