瀏覽代碼

Responsiveness update

careers
Jovan Petrovic 3 年之前
父節點
當前提交
7a4fef2e48
共有 1 個文件被更改,包括 14 次插入7 次删除
  1. 14
    7
      frontend/src/pages/Careers.jsx

+ 14
- 7
frontend/src/pages/Careers.jsx 查看文件

</p> </p>
<div className="w-full py-48p lg:py-72p"> <div className="w-full py-48p lg:py-72p">
<iframe <iframe
className="m-auto w-[300px] h-[220px] sm:w-[500px] sm:h-[350px] md:w-[600px] md:h-[450px] lg:w-[960px] lg:h-[540px]"
className="m-auto w-4/5 h-[250px] sm:w-[500px] sm:h-[350px] md:w-[600px] md:h-[450px] lg:w-[960px] lg:h-[540px]"
src={cntCareers.diligent_life.heading_section.link} src={cntCareers.diligent_life.heading_section.link}
title="YouTube video player" title="YouTube video player"
frameBorder="0" frameBorder="0"
<p className="paragraph w-full lg:w-3/4"> <p className="paragraph w-full lg:w-3/4">
{cntCareers.diligent_life.CTO.cto_paragraph} {cntCareers.diligent_life.CTO.cto_paragraph}
</p> </p>
<button className="btn-secondary min-w-fit" onClick={() => link('/diligentlife')}>
<button
className="btn-secondary min-w-fit"
onClick={() => link('/diligentlife')}
>
{cntCareers.diligent_life.CTO.cto_button} {cntCareers.diligent_life.CTO.cto_button}
</button> </button>
</div> </div>
id="steps-image" id="steps-image"
src={ImgStep1} src={ImgStep1}
alt="Image not found" alt="Image not found"
className="absolute top-1/4 left-3/5 sm:left-1/2 w-2/5 bg-fixed"
className="hidden sm:block absolute top-1/4 left-1/2 w-2/5 bg-fixed"
/> />


{cntCareers.selection_process.steps.map((item, index) => ( {cntCareers.selection_process.steps.map((item, index) => (
{/* Section */} {/* Section */}
<div <div
id={item.id} id={item.id}
className="relative flex flex-row items-start justify-center gap-16 min-h-[54vh] max-h[100vh]"
className="relative flex flex-col sm:flex-row items-start justify-center sm:gap-16 min-h-fit max-h[100vh] mb-28 md:mb-56"
> >
{/* Line */} {/* Line */}
<hr className="bg-gray-400 w-full absolute -left-1/2 rotate-90" /> <hr className="bg-gray-400 w-full absolute -left-1/2 rotate-90" />

{/* Dot */} {/* Dot */}
<div className="z-10 p-[0.36rem] rounded-full bg-white border-solid border border-dg-primary-900 absolute -left-[0.63%] top-[1%]"></div> <div className="z-10 p-[0.36rem] rounded-full bg-white border-solid border border-dg-primary-900 absolute -left-[0.63%] top-[1%]"></div>
<div className="w-1/2 ml-8">

<div className="sm:w-1/2 ml-8">
<h3 className="h3-heading">{item.heading}</h3> <h3 className="h3-heading">{item.heading}</h3>
<p className="text-sm text-dark-gray dark:text-white mt-4"> <p className="text-sm text-dark-gray dark:text-white mt-4">
{item.paragraph} {item.paragraph}
</p> </p>
{item.cto != null && ( {item.cto != null && (
<button className="btn-secondary mt-6">{item.cto}</button>
<button className="btn-secondary mt-6 min-w-fit">{item.cto}</button>
)} )}
</div> </div>
<div className="w-1/2"></div> <div className="w-1/2"></div>
<Wrapper bg padding={' py-90p'}> <Wrapper bg padding={' py-90p'}>
<section id="values" className="flex flex-row items-center justify-center"> <section id="values" className="flex flex-row items-center justify-center">
<div className="my-8 flex flex-col justify-center items-start w-full max-w-custom m-auto"> <div className="my-8 flex flex-col justify-center items-start w-full max-w-custom m-auto">
<h2 className="heading text-dg-secondary">{cntCareers.benefits_heading.heading}</h2>
<h2 className="heading text-dg-secondary">
{cntCareers.benefits_heading.heading}
</h2>
<div className="grid grid-cols-1 gap-16 w-full mt-8"> <div className="grid grid-cols-1 gap-16 w-full mt-8">
{cntCareers.benefits_card.map((item, index) => ( {cntCareers.benefits_card.map((item, index) => (
<CardValues <CardValues

Loading…
取消
儲存