Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions src/components/SeoHead.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import React from 'react';
import Head from '@docusaurus/Head';

interface SeoHeadProps {
title?: string;
description?: string;
url?: string;
image?: string;
}

export default function SeoHead({
title = 'Windmill | Build, deploy and monitor internal software at scale',
description = 'For developers who need real code capabilities without platform engineering overhead. Turn scripts into auto-generated UIs, APIs and cron jobs. Compose them as workflows or data pipelines.',
url = 'https://www.windmill.dev/',
image = 'https://www.windmill.dev/img/og_preview.png'
}: SeoHeadProps) {
return (
<Head>
<title>{title}</title>

{/* Standard meta tags */}
<meta name="title" content={title} />
<meta name="description" content={description} />

{/* Open Graph / Facebook */}
<meta property="og:type" content="website" />
<meta property="og:url" content={url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />

{/* Twitter */}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content={url} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={image} />

<link rel="icon" href="/img/logo.svg" />
</Head>
);
}
12 changes: 2 additions & 10 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import IntegrationsList from '../landing/IntegrationsList';
import LandingSection from '../landing/LandingSection';
import CallToAction from '../landing/CallToAction';
import EntrepriseFeatures from '../landing/EntrepriseFeatures';
import Head from '@docusaurus/Head';
import SeoHead from '../components/SeoHead';
import HeroExample from '../landing/HeroExample';
import LandingHeader from '../landing/LandingHeader';
import LayoutProvider from '@theme/Layout/Provider';
Expand Down Expand Up @@ -50,15 +50,7 @@ export default function Home() {
return (
<LayoutProvider>
<main>
<Head>
<title>Windmill | Build, deploy and monitor internal software at scale</title>
<meta name="title" content="Build, deploy and monitor internal software at scale" />
<meta
name="description"
content="For developers who need real code capabilities without platform engineering overhead."
/>
<link rel="icon" href="/img/logo.svg" />
</Head>
<SeoHead />
<HomepageHeader />
</main>
</LayoutProvider>
Expand Down
Binary file added static/img/og_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading