diff --git a/src/components/sections/Hero.tsx b/src/components/sections/Hero.tsx index 45bd237..38d22d7 100644 --- a/src/components/sections/Hero.tsx +++ b/src/components/sections/Hero.tsx @@ -1,32 +1,60 @@ import inventoryScreenshot from '@/assets/screenshots/inventory.png'; import ButtonLink from '@/components/common/links/ButtonLink'; import { siteConfig } from '@/constants/config'; +import { getPosts } from '@/lib/hashnode'; import Image from 'next/image'; +import Link from 'next/link'; +import { LuChevronRight } from 'react-icons/lu'; + +export default async function Hero() { + const postsData = await getPosts({ first: 1 }); + const latestBlogPost = (await getPosts({ first: 1 }))?.edges[0].node; -export default function Hero() { return (
-
- For developers and security engineers -
-

- Continuous{' '} - cloud security + {latestBlogPost ? ( +
+ + + What’s new + + + {latestBlogPost?.title} + + +
+ ) : null} +

+ Get a secure and compliant cloud

-

+

{siteConfig.description}

-
    -
  • Agentless scanning
  • -
  • Developer-friendly API and CLI
  • -
  • Preconfigured benchmarks and queries
  • -
- + Start for free + + Book a demo +
@@ -37,7 +65,7 @@ export default function Hero() { sizes="(min-width: 640px) 960px, 720px" placeholder="blur" alt="Fix Security's Inventory view showing cloud resources. Left sidebar displays resource categories. Main panel shows a filtered list of resources across AWS, Azure, and GCP, with dropdown filters for clouds, accounts, regions, and kinds." - className="w-[64rem] flex-none rounded-xl shadow-2xl ring-1 ring-gray-900/10 lg:rounded-2xl" + className="w-[76rem] flex-none rounded-xl shadow-2xl ring-1 ring-gray-900/10 lg:rounded-2xl" /> diff --git a/src/constants/config.ts b/src/constants/config.ts index 77ced1a..dd027de 100644 --- a/src/constants/config.ts +++ b/src/constants/config.ts @@ -1,11 +1,12 @@ export const siteConfig = { title: 'Fix Security', shortTitle: 'Fix', - tagline: 'Continuous cloud security', + tagline: 'Get a secure and compliant cloud', description: - 'Your cloud is dynamic and changes by the hour. Built on open source, Fix Security regularly scans and checks your cloud so you stay secure and compliant.', + 'Simple cloud security to help you "fix" the hidden risks in your cloud. Inventory, misconfigurations, compliance checks, and remediation—all in one place.', url: 'https://fix.security', copyright: `© ${new Date().getFullYear()} Some Engineering Inc. All rights reserved.`, registerUrl: 'https://app.fix.security/auth/register', loginUrl: 'https://app.fix.security/auth/login', + demoUrl: 'https://calendly.com/larskamp/30-min', };