Skip to content

Commit

Permalink
🔥 remove sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
otytlandsvik committed Aug 11, 2024
1 parent d8baa4f commit 6cc07c8
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions src/components/molecules/footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import React from 'react';
import { Link as ReactRouterLink } from 'react-router-dom';
import hsp from 'assets/bekk-logo.svg';
import FooterLogos from './footerLogos/FooterLogos';
import {
VStack,
Image,
Link,
Text,
Box,
Heading,
Flex,
} from '@chakra-ui/react';
import { Link, Text, Box, Heading, Flex } from '@chakra-ui/react';

interface FooterListProps {
header: string;
Expand Down Expand Up @@ -60,27 +51,6 @@ const FooterItem: React.FC<FooterItemProps> = ({
);
};

const SponsorBanner = () => {
return (
<Link
href="https://www.bekk.no/"
isExternal
_hover={{ textDecoration: 'none' }}
pt={{ base: '1.5rem', md: 0 }}>
<VStack>
<Image
src={hsp}
alt="BEKK logo"
height={{ base: '100px', md: '150px' }}
/>
<Text size="xs" mb={0} mt=".5rem" textColor="slate.500">
Hovedsamarbeidspartner
</Text>
</VStack>
</Link>
);
};

const Footer: React.FC = () => {
// uses margin auto, needs parent page to have minHeight=100vh if content is not over 100vh
return (
Expand Down Expand Up @@ -132,7 +102,6 @@ const Footer: React.FC = () => {
/>
</FooterList>
</Flex>
<SponsorBanner />
<FooterLogos />
</Flex>
);
Expand Down

0 comments on commit 6cc07c8

Please sign in to comment.