Pavle Golubovic 3 лет назад
Родитель
Сommit
11cfa20656
2 измененных файлов: 6 добавлений и 3 удалений
  1. 1
    1
      frontend/.env
  2. 5
    2
      frontend/src/pages/WorkWithUs.jsx

+ 1
- 1
frontend/.env Просмотреть файл

@@ -5,7 +5,7 @@ REACT_APP_SERVICE_ID = service_petbzsz
REACT_APP_JOB_TEMPLATE_ID = template_bfuv1sb
REACT_APP_CLIENT_TEMPLATE_ID = template_bd6fjli
REACT_APP_USER_ID = 27spvSZ2Lsf2j8RKw
REACT_APP_API_URL = "https://websitediligentapistart.azurewebsites.net"
REACT_APP_API_URL = "https://diligentwebsiteapistart.azurewebsites.net/"
//http://localhost:1337
MAILCHIMP_FORM_URL = http://eepurl.com/iaRrv1
GOOGLE_TRACKING_ID = "G-PTZC3WLTZ1"

+ 5
- 2
frontend/src/pages/WorkWithUs.jsx Просмотреть файл

@@ -114,9 +114,12 @@ const WorkWithUs = () => {

useEffect(() => {
document.title = 'Work With Us';
console.log(data);
}, []);

useEffect(() => {
console.log(data);
},[data]);

if (isLoading) {
return (
<div className="z-50 w-full h-screen bg-white dark:bg-dg-primary-1700 overflow-hidden dark:text-white flex items-center justify-center text-3xl font-semibold">
@@ -137,7 +140,7 @@ const WorkWithUs = () => {
<div className="mt-90p">
<Wrapper padding={' py-[48px]'}>
{data ? (
<PageTitle heading={'Diligent at a Glance'} subheading={'work with us'} />
<PageTitle heading={data.Heading} subheading={'work with us'} />
) : null}
</Wrapper>
<div className="flex flex-col md:flex gap-[32px] w-fit mx-auto">

Загрузка…
Отмена
Сохранить