Skip to content

Commit

Permalink
some work
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdigdir committed Nov 26, 2024
1 parent 28b12b0 commit efd4766
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 144 deletions.
48 changes: 0 additions & 48 deletions packages/frontend/src/components/Footer/Footer.tsx

This file was deleted.

79 changes: 0 additions & 79 deletions packages/frontend/src/components/Footer/footer.module.css

This file was deleted.

1 change: 0 additions & 1 deletion packages/frontend/src/components/Footer/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './Footer.tsx';
export * from './useFooter.tsx';
6 changes: 4 additions & 2 deletions packages/frontend/src/components/Footer/useFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { FooterProps } from '@altinn/altinn-components';
import { useTranslation } from 'react-i18next';

export const useFooter = (): FooterProps => {
const { t } = useTranslation();
const footerLinks = [
{
href: 'https://info.altinn.no/om-altinn/',
Expand All @@ -20,12 +22,12 @@ export const useFooter = (): FooterProps => {
},
];
return {
address: 'Altinn AS, Postboks 6783 St. Olavs plass, 0130 Oslo',
address: 'Altinn AS, Postboks 6783 St. Olavs plass, 0130 Oslo Org.nr. 991 825 827',
menu: {
items: footerLinks.map((link) => ({
id: link.resourceId,
href: link.href,
text: link.resourceId,
title: t(link.resourceId),
})),
},
};
Expand Down
14 changes: 0 additions & 14 deletions packages/storybook/src/stories/Footer/footer.stories.ts

This file was deleted.

0 comments on commit efd4766

Please sign in to comment.