Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved styling and layout on recruitmentapplicationformpage #1614

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snorrekr
Copy link
Contributor

No description provided.

@snorrekr snorrekr self-assigned this Nov 14, 2024
@snorrekr snorrekr linked an issue Nov 14, 2024 that may be closed by this pull request
Copy link
Contributor

@Snorre98 Snorre98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se kommentarer

@@ -157,8 +158,6 @@ export function RecruitmentApplicationFormPage() {
</Link>
</h2>
<p className={styles.text}>{dbT(recruitmentPosition, 'long_description')}</p>
<h2 className={styles.sub_header}>{t(KEY.recruitment_applyfor)}</h2>
<p className={styles.text}>{t(KEY.recruitment_applyforhelp)}</p>
</div>
<div className={styles.other_positions}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hadde vært nice om om div fra og med linje 162 til og med linje 187 rendrer under søknadsformet hvis man er på mobil. Altså, under "Send søkand" knappe.

Copy link
Contributor

@Snorre98 Snorre98 Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glemte å si det når jeg forklarte issuet muntlig. For å conditionaly rendre den nevnte diven kan du bruke useMobile hooken vår. Søk "isDesktop" eller "isMobile" i hele prosjekte, så finner du sikkert plasser hvor det er brukt.
Formålet er at man skal kunne skrive en søknad og trykke "Send søknad" uten å måtte scrolle på mobil.

@@ -207,7 +206,12 @@ export function RecruitmentApplicationFormPage() {
submitText={submitText}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan du erstatte Samf-form på denne siden med React hook form? Står ikke i issuet, men greit å gjøre siden det er så lite som skal gjøres her.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blir veldig likt hvordan Simen har gjort det i denne PR-en: #1568

Men i din PR her skal det gjøres post/put request når søkeren trykker på knappen selvfølgelig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improved styling and layout on RecruitmentApplicationFormPage
3 participants