Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jotjern committed Jan 1, 2025
1 parent 4dc8531 commit fa2293d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/core/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import { HSP } from 'common/constants/hsp';
const Footer = () => (
<footer className={style.footer}>
<div className={style.footerContent}>
{
HSP ?
{HSP ? (
<div className={style.mainSponsor}>
<a href={HSP.website} className={style.sponsor}>
<img src={HSP.logo} alt={HSP.description} />
</a>
<span className={style.hsp}>Hovedsamarbeidspartner</span>
</div>
: <div />
}
) : (
<div />
)}
<p>
Har du funnet en feil på nettsiden?
<br />
Expand Down
5 changes: 2 additions & 3 deletions src/core/components/Header/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ const Login: React.FC<IProps> = (props) => {
) : (
<LoginView onClick={toggleDropdown} isOpen={isOpen} />
)}
{
HSP &&
{HSP && (
<Link href={HSP.website}>
<a className={style.hsp}>
<img className={style.hspLogo} src={HSP.logo} alt={HSP.description} />
</a>
</Link>
}
)}
</div>
);
};
Expand Down

0 comments on commit fa2293d

Please sign in to comment.