From 6f51ba60abda151fc8f4ac8a4b47f9a52fa7ef94 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Tue, 22 Apr 2025 10:17:03 +0200 Subject: [PATCH] Update metadata to include robots --- web/src/app/page.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/src/app/page.tsx b/web/src/app/page.tsx index 659a98c8..2682ff6c 100644 --- a/web/src/app/page.tsx +++ b/web/src/app/page.tsx @@ -1,6 +1,6 @@ import { HeroSection } from "@/components/hero" import { RecentlyAddedIcons } from "@/components/recently-added-icons" -import { BASE_URL, getDescription, REPO_NAME, websiteTitle } from "@/constants" +import { BASE_URL, REPO_NAME, getDescription, websiteTitle } from "@/constants" import { getRecentlyAddedIcons, getTotalIcons } from "@/lib/api" import type { Metadata } from "next" @@ -11,6 +11,10 @@ export async function generateMetadata(): Promise { title: websiteTitle, description: getDescription(totalIcons), keywords: ["dashboard icons", "service icons", "application icons", "tool icons", "web dashboard", "app directory"], + robots: { + index: true, + follow: true, + }, openGraph: { title: websiteTitle, description: getDescription(totalIcons),