kolejne czesci
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2023-12-22 21:20:43 +01:00
parent 4c6c4cf2da
commit 88adb39b19
4 changed files with 13 additions and 14 deletions

View File

@ -40,7 +40,6 @@ function renderCircles(level, handleCircleClick) {
const SelectedSkill = ({ skill, level, onLevelChange, removeSkillFromList, formData }) => { const SelectedSkill = ({ skill, level, onLevelChange, removeSkillFromList, formData }) => {
const levelss = 'Nice to have';
const handleCircleClick = (levelIndex) => { const handleCircleClick = (levelIndex) => {
const level = levels[levelIndex]; const level = levels[levelIndex];
onLevelChange(skill, level); onLevelChange(skill, level);

View File

@ -31,11 +31,11 @@ const StepFourJoblisting = ({ handleChange, formData, nextStep, prevStep }) => {
</div> </div>
<input <input
type="text" type="text"
name="lastname" name="last_name"
value={formData["lastname"] || ""} value={formData["last_name"] || ""}
required required
id="lastname" id="last_name"
onChange={handleChange("lastname")} onChange={handleChange("last_name")}
placeholder="Twoje nazwisko..." placeholder="Twoje nazwisko..."
className={`border-b-2 px-4 my-2 ${styles.paragraph}`} className={`border-b-2 px-4 my-2 ${styles.paragraph}`}
/> />
@ -47,11 +47,11 @@ const StepFourJoblisting = ({ handleChange, formData, nextStep, prevStep }) => {
</div> </div>
<input <input
type="email" type="email"
name="email" name="contact_email"
value={formData["email"] || ""} value={formData["contact_email"] || ""}
required required
id="email" id="contact_email"
onChange={handleChange("email")} onChange={handleChange("contact_email")}
placeholder="Adres mailowy..." placeholder="Adres mailowy..."
className={`border-b-2 px-4 my-2 ${styles.paragraph}`} className={`border-b-2 px-4 my-2 ${styles.paragraph}`}
/> />

View File

@ -59,7 +59,7 @@ const StepThreeJoblisting = ({ formData, prevStep }) => {
{ {
!formData.requireSalary && (<p className='place-self-end text-xl text-slate-800'></p> ) !formData.requireSalary && (<p className='place-self-end text-xl text-slate-800'></p> )
} }
<p className='col-span-4 text-xl text-left'>{cleanAndProcessData(formData.jobtitle)}</p> <p className='col-span-4 text-xl text-left'>{cleanAndProcessData(formData.name)}</p>
</div> </div>
<div <div
className={`job-listing2 col-start-2 col-end-4 grid grid-cols-4 drop-shadow cursor-pointer mb-2 sm:mr-4 mr-0 text-xl font-bold border rounded-[10px] p-2 hover:border-l-8 hover:border-zinc-500 duration-300 bg-gray-200`} className={`job-listing2 col-start-2 col-end-4 grid grid-cols-4 drop-shadow cursor-pointer mb-2 sm:mr-4 mr-0 text-xl font-bold border rounded-[10px] p-2 hover:border-l-8 hover:border-zinc-500 duration-300 bg-gray-200`}

View File

@ -85,11 +85,11 @@ const StepTwoJoblisting = ({ nextStep, prevStep, handleChange, formData, setForm
<div className='grid grid-cols-3 items-center'> <div className='grid grid-cols-3 items-center'>
<div className={`${styles.paragraph} px-4 py-2`}>Nazwa ogłoszenia<span className={`${styles.paragraph} text-red-700`}>*</span></div> <div className={`${styles.paragraph} px-4 py-2`}>Nazwa ogłoszenia<span className={`${styles.paragraph} text-red-700`}>*</span></div>
<input type="text" <input type="text"
name="jobtitle" name="name"
value={formData['jobtitle'] || ''} value={formData['name'] || ''}
required required
id="jobtitle" id="name"
onChange={handleChange('jobtitle')} onChange={handleChange('name')}
placeholder='Wpisz nazwę stanowiska...' placeholder='Wpisz nazwę stanowiska...'
className={`border-b-2 px-4 my-2 ${styles.paragraph} col-span-2 ${errors.jobtitle ? errorStyleInput : ''}`}/> className={`border-b-2 px-4 my-2 ${styles.paragraph} col-span-2 ${errors.jobtitle ? errorStyleInput : ''}`}/>