fix: move Cyber Essentials badge to who-is section + about page, drop hero/footer placements
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import React from 'react'
|
||||
import { Link } from 'gatsby'
|
||||
import { FaShieldAlt } from 'react-icons/fa'
|
||||
|
||||
import { Hero, HeroHeading, HeroDesc, HeroBadge } from './style'
|
||||
import { Hero, HeroHeading, HeroDesc } from './style'
|
||||
import { BottomSectionArrow, OutlineButton } from '../shared/styledComponents'
|
||||
import { Container } from '../shared'
|
||||
|
||||
@@ -20,18 +19,9 @@ const HeroSection: React.FC<HeroSectionProps> = ({
|
||||
<HeroHeading>{heading}</HeroHeading>
|
||||
<HeroDesc>{desc}</HeroDesc>
|
||||
{location.pathname === pathPrefix + '/' && (
|
||||
<>
|
||||
<HeroBadge
|
||||
href="https://sasapps.io/cyber-essentials-certified/"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
<FaShieldAlt /> Cyber Essentials Certified
|
||||
</HeroBadge>
|
||||
<Link to="/contact/">
|
||||
<OutlineButton>Try Data Controller</OutlineButton>
|
||||
</Link>
|
||||
</>
|
||||
<Link to="/contact/">
|
||||
<OutlineButton>Try Data Controller</OutlineButton>
|
||||
</Link>
|
||||
)}
|
||||
</Container>
|
||||
<BottomSectionArrow />
|
||||
|
||||
Reference in New Issue
Block a user