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

TOLK-2366 : Oppdatere NAV design på Kurs experience site #330

Merged
merged 5 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@
font-size: 1.5rem;
line-height: 1.75rem;
}
.typo-normal {
font-size: 1rem;
line-height: 1.75rem;
}
}

@media (max-width: 500px) {
Expand Down Expand Up @@ -403,14 +407,19 @@
.decorator-wrapper .brodsmulesti li > * {
margin: 0.25rem 0.25rem 0.25rem 0;
}

.decorator-wrapper .brodsmulesti li .chevron--hoyre {
.chevron {
color: #78706a;
display: inline-block;
margin: 0 0.5em;
display: inline-block;
width: 10px; /* Adjust width as needed */
height: 10px; /* Adjust height as needed */
border-top: 2px solid #78706a; /* Adjust color and thickness as needed */
border-right: 2px solid #78706a; /* Adjust color and thickness as needed */
transform: rotate(45deg); /* Rotate the chevron */
}

.decorator-wrapper .chevron--hoyre {
.chevron--hoyre {
display: inline-block;
flex-shrink: 0;
height: 2px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
<li class="typo-normal">
<a href="https://www.nav.no" class="lenke brodsmulesti__home"
><img src={houseicon} alt="" class="brodsmulesti__icon" /> <span>nav.no</span
><i class="nav-frontend-chevron chevronboks chevron--hoyre"></i
><i class="chevron"></i
></a>
</li>
<li class="typo-normal">
<a href="https://www.nav.no/no/bedrift" class="lenke"
><span>Arbeidsgiver</span><i class="nav-frontend-chevron chevronboks chevron--hoyre"></i
><span>Arbeidsgiver</span><i class="chevron"></i
></a>
</li>
<li class="typo-normal" aria-current="false">
<a href="https://arbeidsgiver.nav.no/kursoversikt/" class="lenke brodsmulesti__transform"
><span>Kurskalender</span><i class="nav-frontend-chevron chevronboks chevron--hoyre"></i
><span>Kurskalender</span><i class="chevron"></i
></a>
</li>
<li class="typo-normal" aria-current="false">
<a href={url} class="lenke brodsmulesti__transform"
><span>Om kurset</span><i class="nav-frontend-chevron chevronboks chevron--hoyre"></i
><span>Om kurset</span><i class="chevron"></i
></a>
</li>
<li class="typo-normal" aria-current="page">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { NavigationMixin } from 'lightning/navigation';
import createRegistration from '@salesforce/apex/CourseRegistrationController.createRegistration';
import getCourseFields from '@salesforce/apex/CourseRegistrationController.getCourseFields';
import icons from '@salesforce/resourceUrl/icons';
import houseIconNew from '@salesforce/resourceUrl/houseicon2';

export default class CourseRegistrationForm extends NavigationMixin(LightningElement) {
@track courseId;
Expand Down Expand Up @@ -46,7 +47,7 @@ export default class CourseRegistrationForm extends NavigationMixin(LightningEle
successicon = icons + '/successicon.svg';
erroricon = icons + '/erroricon.svg';
chevrondown = icons + '/chevrondown.svg';
houseicon = icons + '/houseicon.svg';
houseicon = houseIconNew;
Copy link
Contributor

Choose a reason for hiding this comment

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

Samsvarer ikke med houseicon2.svg?

Copy link
Member Author

Choose a reason for hiding this comment

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


connectedCallback() {
this.parameters = this.getQueryParameters();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<StaticResource xmlns="http://soap.sforce.com/2006/04/metadata">
<cacheControl>Public</cacheControl>
<contentType>image/svg+xml</contentType>
</StaticResource>
3 changes: 3 additions & 0 deletions force-app/main/default/staticresources/houseicon2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading