fix: seo friendly
This commit is contained in:
@@ -19,7 +19,6 @@ import axios from 'axios'
|
||||
import { AppProduction } from '../../../lib/api'
|
||||
|
||||
const Recruitment = jobs => {
|
||||
console.log(jobs)
|
||||
const Parallax = ({ quality }) => {
|
||||
return `../../resource/parallax/33012321.jpg`
|
||||
}
|
||||
@@ -32,10 +31,10 @@ const Recruitment = jobs => {
|
||||
<div className='parallax-container'>
|
||||
<div className={'flex flex-column'}>
|
||||
<div className={'mb-5'}>
|
||||
<h2 className={'center-align bk-med text-white header_back service-text dana font-weight-bold'}>
|
||||
<h1 className={'center-align bk-med text-white header_back service-text dana font-weight-bold'}>
|
||||
|
||||
فرصت های شغلی بیمارستان مهر پرند
|
||||
</h2>
|
||||
فرصتهای شغلی {jobs.jobs.name.title} بیمارستان مهر پرند
|
||||
</h1>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
@@ -127,7 +126,10 @@ export async function getServerSideProps(ctx) {
|
||||
const jobs = await res
|
||||
|
||||
// Pass data to the page via props
|
||||
return { props: { jobs } }
|
||||
return { props: { jobs, seo: {
|
||||
title: `استخدام ${jobs.name.title}`,
|
||||
description: `فرصتهای شغلی گروه ${jobs.name.title} در بیمارستان مهر پرند؛ مشاهده عنوانهای شغلی و ثبت درخواست استخدام.`
|
||||
} } }
|
||||
}
|
||||
|
||||
export default Recruitment
|
||||
|
||||
Reference in New Issue
Block a user