Skip to content

Commit

Permalink
feat: add outro for salary section
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Oct 21, 2023
1 parent e6e6ace commit 574fc2c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/(public)/recruiters-info/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ const RecruitersPage = async () => {
<ReactMarkdown>{recruitersPage.salary.content}</ReactMarkdown>

<SalaryHappinessTool salaryData={salaryData} config={config} />

<ReactMarkdown
className='my-4'
rehypePlugins={[rehypeRaw as Pluggable]}
>
{recruitersPage.salary.outro}
</ReactMarkdown>
</div>

<hr />
Expand Down
8 changes: 8 additions & 0 deletions src/components/molecules/RecruiterInfo/recruiterInfo.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,11 @@
.job-preferences a {
text-decoration: underline;
}

.salary-expectations summary {
margin-bottom: 8px;
}

.salary-expectations details p {
margin-left: 30px;
}
1 change: 1 addition & 0 deletions src/queries/recruiters-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export function recruitersPageQuery(locale: string) {
salary {
title
content
outro
}
toolsTechs {
title
Expand Down
1 change: 1 addition & 0 deletions src/types/Shared.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface TitledParagraph {
title: string;
content: string;
outro: string;
}

0 comments on commit 574fc2c

Please sign in to comment.