diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index 886219fe..2979fcff 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -1,15 +1,13 @@
-import { themes as prismThemes } from "prism-react-renderer";
-import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
+import type { Config } from "@docusaurus/types";
import MonacoEditorWebpackPlugin from "monaco-editor-webpack-plugin";
-
-const title = "GROQD";
-const tagline = "Typesafe GROQ Query Builder";
+import { themes as prismThemes } from "prism-react-renderer";
+import { metadata } from "./src/metadata";
const config: Config = {
- title,
- tagline,
- url: "https://commerce.nearform.com/",
+ title: metadata.longTitle,
+ tagline: metadata.description,
+ url: "https://nearform.com/",
favicon: "img/nearform-icon.svg",
baseUrl: process.env.VERCEL_ENV === "preview" ? "/" : "/open-source/groqd",
onBrokenLinks: "throw",
@@ -83,11 +81,11 @@ const config: Config = {
metadata: [
{
name: "title",
- content: title,
+ content: metadata.longTitle,
},
{
name: "description",
- content: tagline,
+ content: metadata.description,
},
{
name: "viewport",
@@ -103,11 +101,11 @@ const config: Config = {
},
{
property: "og:title",
- content: title,
+ content: metadata.longTitle,
},
{
property: "og:description",
- content: tagline,
+ content: metadata.description,
},
{
property: "og:image",
@@ -120,11 +118,11 @@ const config: Config = {
},
{
property: "twitter:title",
- content: title,
+ content: metadata.longTitle,
},
{
property: "twitter:description",
- content: tagline,
+ content: metadata.description,
},
{
property: "twitter:image",
diff --git a/website/src/components/landing/landing-features.tsx b/website/src/components/landing/landing-features.tsx
index a0be6075..96ce9af2 100644
--- a/website/src/components/landing/landing-features.tsx
+++ b/website/src/components/landing/landing-features.tsx
@@ -26,13 +26,13 @@ export const LandingFeatures = ({
className="col-span-3 md:col-span-1 flex flex-col items-center text-center"
>
- {title}
- {title}
+
{body}
-
+
))}
diff --git a/website/src/components/landing/landing-hero.tsx b/website/src/components/landing/landing-hero.tsx
index 11ea6dd7..d0bd2ac0 100644
--- a/website/src/components/landing/landing-hero.tsx
+++ b/website/src/components/landing/landing-hero.tsx
@@ -5,11 +5,13 @@ export const LandingHero = ({
body,
copyText,
heading,
+ subheading,
navItems,
}: {
body: string;
copyText: string;
heading: string;
+ subheading: string;
navItems: { link: string; title: string }[];
}) => {
const [buttonText, setButtonText] = useState("Copy");
@@ -29,6 +31,9 @@ export const LandingHero = ({
{heading}
+
+ {subheading}
+
{body}