feat: surface Cyber Essentials certification on homepage hero and footer

This commit is contained in:
blog-dev committed 2026-09-11 19:45:06 +00:00
1 parent aa1f015f5a
commit b6fea27963
3 files changed
+36 -4

No files matched your search

+14 -4
View File
@@ -1,7 +1,8 @@
import React from 'react'
import { Link } from 'gatsby'
import { FaShieldAlt } from 'react-icons/fa'
import { Hero, HeroHeading, HeroDesc } from './style'
import { Hero, HeroHeading, HeroDesc, HeroBadge } from './style'
import { BottomSectionArrow, OutlineButton } from '../shared/styledComponents'
import { Container } from '../shared'
@@ -19,9 +20,18 @@ const HeroSection: React.FC<HeroSectionProps> = ({
<HeroHeading>{heading}</HeroHeading>
<HeroDesc>{desc}</HeroDesc>
{location.pathname === pathPrefix + '/' && (
<Link to="/contact/">
<OutlineButton>Try Data Controller</OutlineButton>
</Link>
<>
<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>
</>
)}
</Container>
<BottomSectionArrow />