瀏覽代碼

new data

work-with-us
Pavle Golubovic 3 年之前
父節點
當前提交
11cfa20656
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. 1
    1
      frontend/.env
  2. 5
    2
      frontend/src/pages/WorkWithUs.jsx

+ 1
- 1
frontend/.env 查看文件

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

+ 5
- 2
frontend/src/pages/WorkWithUs.jsx 查看文件



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


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

if (isLoading) { if (isLoading) {
return ( 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"> <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">
<div className="mt-90p"> <div className="mt-90p">
<Wrapper padding={' py-[48px]'}> <Wrapper padding={' py-[48px]'}>
{data ? ( {data ? (
<PageTitle heading={'Diligent at a Glance'} subheading={'work with us'} />
<PageTitle heading={data.Heading} subheading={'work with us'} />
) : null} ) : null}
</Wrapper> </Wrapper>
<div className="flex flex-col md:flex gap-[32px] w-fit mx-auto"> <div className="flex flex-col md:flex gap-[32px] w-fit mx-auto">

Loading…
取消
儲存