Job Posting ajout dept, ville, ...

This commit is contained in:
2020-10-05 14:05:16 +02:00
parent 4b2fabd4b4
commit 34d1384fb7
2 changed files with 12 additions and 3 deletions
+7 -3
View File
@@ -5,18 +5,22 @@ const JobPosting = props => {
return (
<JobPostingJsonLd
datePosted="2020-01-06T03:37:40Z"
datePosted={props.job_date}
description={props.job_description}
hiringOrganization={{
name: props.job_brand,
sameAs: props.job_brand_link,
}}
jobLocation={{
addressLocality: props.job_location,
addressLocality: props.job_ville,
addressRegion: props.job_dept,
// postalCode: props.job_location,
streetAddress: props.job_location,
addressCountry: props.job_pays,
}}
title={props.job_title}
validThrough="2020-01-06"
validThrough={props.job_date_fin}
applicantLocationRequirements="FR"
employmentType = "FULL_TIME"
/>
@@ -340,7 +340,12 @@ function OffreDetail(props) {
job_brand_link= {entrepriseLink}
job_title = {offre.title}
job_location = {offre.location.gmap_address.formatted_address}
job_ville = {offre.location.gmap_address.address_components[0].long_name}
job_dept = {offre.location.gmap_address.address_components[1].long_name}
job_pays = {offre.location.gmap_address.address_components[3].long_name}
job_adr = {offre.location.gmap_address.adr_address}
job_date = {offre.published_at}
job_date_fin = {offre.unpublished_at}
></JobPosting>
{offre.video && (
<Fragment>