Skip to content

Commit 9d57662

Browse files
aleksandra.zagorskaaleksandra.zagorska
aleksandra.zagorska
authored and
aleksandra.zagorska
committed
Add forbes diamond badge
1 parent 343df1b commit 9d57662

File tree

4 files changed

+98
-60
lines changed

4 files changed

+98
-60
lines changed

src/assets/forbes_badge.svg

+28
Loading

src/components/subcomponents/LyviaAndClutchIcons.tsx

-58
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
import React from 'react'
2+
import ClutchIcon from '../../assets/TopDevelopers_badge.svg'
3+
import LyviaLogo from '../../assets/a_part_of_lyvia_white_1.svg'
4+
import ForbesDiamondBadge from '../../assets/forbes_badge.svg'
5+
import styled from 'styled-components'
6+
import variables from '../../styles/variables'
7+
import { FlexWrapper } from '../shared'
8+
import { CustomSection } from '../shared/index.styled'
9+
10+
11+
const Image100 = styled.figure`
12+
width: 120px;
13+
height: auto;
14+
overflow: hidden;
15+
16+
svg {
17+
width: 100%;
18+
height: auto;
19+
}
20+
21+
@media ${variables.device.laptop} {
22+
width: 80px;
23+
height: auto;
24+
25+
}
26+
@media ${variables.device.tablet} {
27+
width: 60px;
28+
height: auto;
29+
30+
}
31+
`
32+
const IconLink = styled.a`
33+
font-size: 0;
34+
height: 100%;
35+
`
36+
37+
const LyviaIconAndBadges = () => {
38+
return (
39+
<CustomSection paddingProps='35px 0 0 12px ' paddingLaptop='35px 0 0 12px' paddingTabletXL='35px 0 0 12px'
40+
paddingTablet='30px 0 0 12px' paddingMobileProps='30px 0 0 12px'>
41+
<FlexWrapper desktopGap='30px' desktopDirection='column'>
42+
<IconLink href='https://www.lyviagroup.com'
43+
target='_blank'
44+
rel='noopener noreferrer nofollow'>
45+
We are a part of Lyvia Group
46+
<Image100><LyviaLogo /> </Image100>
47+
</IconLink>
48+
<FlexWrapper desktopGap='30px'>
49+
<IconLink
50+
href='https://clutch.co/profile/bright-inventions#highlights'
51+
target='_blank'
52+
rel='noopener noreferrer nofollow'
53+
>
54+
Clutch <Image100> <ClutchIcon /> </Image100>
55+
</IconLink>
56+
<IconLink
57+
href='/blog/bright-inventions-recognized-in-forbes-diamonds-2024/'
58+
rel='noopener noreferrer nofollow'
59+
>
60+
Forbes Diamond <Image100> <ForbesDiamondBadge /> </Image100>
61+
</IconLink>
62+
</FlexWrapper>
63+
</FlexWrapper>
64+
</CustomSection>
65+
)
66+
}
67+
68+
export default LyviaIconAndBadges

src/layout/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import variables from '../styles/variables'
1313
import * as styles from './Footer.module.scss'
1414
import { Link } from 'gatsby'
1515
import { ModalCookies } from '../analytics/modal-cookies'
16-
import LyviaAndClutchIcons from '../components/subcomponents/LyviaAndClutchIcons'
16+
import LyviaIconAndBadges from '../components/subcomponents/LyviaIconAndBadges'
1717

1818

1919
const FooterWrapper = styled.footer`
@@ -67,7 +67,7 @@ export const Footer = () => {
6767
</Link>
6868
</div>
6969
<SocialIcons className='padded-right' />
70-
<LyviaAndClutchIcons />
70+
<LyviaIconAndBadges />
7171
</div>
7272

7373
{/* <div className='column has-text-centered'>

0 commit comments

Comments
 (0)