Skip to content

Commit

Permalink
NITO logo footer (#1002)
Browse files Browse the repository at this point in the history
added nito logo and made news title bigger on mobile
  • Loading branch information
MadsNyl authored Apr 10, 2024
1 parent 3a553d0 commit 2e06dfc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
### 🎨 - Designendringer

## Neste versjon
- 🎨 **Tema**. Endret til shadcn komponenter for å endre tema.
- 🦟 **Markdown**. Fikset markdown bug.
- 🎨 **Bildeopplastning**. Endret komponent for å laste opp bilder.
- 🎨 **Admin filopplastning**. Fjernet mulighet for admin å laste opp bilder.
- 🎨 **Footer**. La til NITO logo i footer under "samarbeid"

## Versjon 2023.02.04
- 🎨 **Tema**. Endret til shadcn komponenter for å endre tema.
Expand Down
Binary file added src/assets/img/nito.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/components/navigation/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import SNAPCHAT from 'assets/icons/snapchat.svg';
import TWITTER from 'assets/icons/twitter.svg';
import VERCEL from 'assets/icons/vercel.svg';
import MAINSPONSOR from 'assets/img/mainSponsor.png';
import NITO from 'assets/img/nito.png';

const Footer = () => {
const { event } = useAnalytics();
Expand Down Expand Up @@ -83,6 +84,9 @@ const Footer = () => {
<a href='https://vercel.com/?utm_source=kvark&utm_campaign=oss' rel='noopener noreferrer' target='_blank'>
<img alt='Vercel' className='mx-auto' loading='lazy' src={VERCEL} width={150} />
</a>
<a href='https://www.nito.no/' rel='noopener noreferrer' target='_blank'>
<img alt='NITO' className='w-20 md:w-28 mx-auto mt-4' loading='lazy' src={NITO} width={150} />
</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/pages/NewsDetails/components/NewsRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const NewsRenderer = ({ data, preview = false }: NewsRendererProps) => {
<div>
<div className='px-4 mx-auto max-w-4xl w-full pt-24 pb-10'>
<div className='space-y-2'>
<h1 className='sm:text-xl break-words lg:text-4xl font-semibold'>{data.title}</h1>
<h1 className='text-2xl break-words lg:text-4xl font-semibold'>{data.title}</h1>
<h1 className='break-words lg:text-lg'>{data.header}</h1>
</div>
<Separator className='my-6 bg-secondary-foreground dark:bg-border' />
Expand Down

0 comments on commit 2e06dfc

Please sign in to comment.