diff --git a/src/main/resources/lib/ssb/parts/footer.ts b/src/main/resources/lib/ssb/parts/footer.ts index 2680f2018..013e1cb04 100644 --- a/src/main/resources/lib/ssb/parts/footer.ts +++ b/src/main/resources/lib/ssb/parts/footer.ts @@ -27,7 +27,6 @@ export function getFooterContent(language: Language): FooterContent | undefined locale: language.code, }), facebookUrl: footerContent.data.facebookUrl, - twitterUrl: footerContent.data.twitterUrl, linkedinUrl: footerContent.data.linkedinUrl, instagramUrl: footerContent.data.instagramUrl, rssUrl: footerContent.data.rssUrl, diff --git a/src/main/resources/lib/types/footer.ts b/src/main/resources/lib/types/footer.ts index 277b85908..eadc2e070 100644 --- a/src/main/resources/lib/types/footer.ts +++ b/src/main/resources/lib/types/footer.ts @@ -6,7 +6,6 @@ export interface FooterContent { copyrightUrl: string copyrightText: string facebookUrl: string - twitterUrl: string linkedinUrl: string instagramUrl: string rssUrl: string diff --git a/src/main/resources/react4xp/_entries/Footer.tsx b/src/main/resources/react4xp/_entries/Footer.tsx index 8bd47fdb4..00b683d51 100644 --- a/src/main/resources/react4xp/_entries/Footer.tsx +++ b/src/main/resources/react4xp/_entries/Footer.tsx @@ -1,6 +1,6 @@ import React from 'react' import { Accordion, Button, Link } from '@statisticsnorway/ssb-component-library' -import { ArrowRight, ArrowUp, Facebook, Twitter, Rss, Linkedin, Instagram } from 'react-feather' +import { ArrowRight, ArrowUp, Facebook, Rss, Linkedin, Instagram } from 'react-feather' import { FooterContent } from '../../lib/types/footer' const Footer = (props: FooterContent) => { @@ -11,7 +11,6 @@ const Footer = (props: FooterContent) => { hiddenFooterText, language, facebookUrl, - twitterUrl, linkedinUrl, instagramUrl, rssUrl, @@ -78,9 +77,6 @@ const Footer = (props: FooterContent) => { {facebookUrl && ( } standAlone /> )} - {twitterUrl && ( - } standAlone /> - )} {linkedinUrl && ( } standAlone /> )} diff --git a/src/main/resources/site/content-types/footer/footer.xml b/src/main/resources/site/content-types/footer/footer.xml index 8af60e03e..1e3de658e 100644 --- a/src/main/resources/site/content-types/footer/footer.xml +++ b/src/main/resources/site/content-types/footer/footer.xml @@ -69,11 +69,6 @@ https://www.facebook.com/statistisksentralbyra/ - - - - https://twitter.com/ssbnytt -