diff --git a/components/SEO.tsx b/components/SEO.tsx
new file mode 100644
index 0000000..3e814c3
--- /dev/null
+++ b/components/SEO.tsx
@@ -0,0 +1,24 @@
+import Head from 'next/head'
+
+const SEO = ({ title, description, image }:SEOProps):JSX.Element => {
+ return
+ {title}
+ { description && }
+
+
+ { description && }
+ { image && }
+
+}
+
+export default SEO
+
+
+interface SEOProps {
+ title: string
+ description?: string
+ image?: string
+}
\ No newline at end of file
diff --git a/pages/_app.tsx b/pages/_app.tsx
index e32d1da..d78307f 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -43,11 +43,13 @@ export default function App({ Component, pageProps }: AppProps): JSX.Element {
+
+
+
+
-
diff --git a/pages/bots/[id].tsx b/pages/bots/[id].tsx
index 69780e2..35a0ffc 100644
--- a/pages/bots/[id].tsx
+++ b/pages/bots/[id].tsx
@@ -1,4 +1,5 @@
import { NextPage, NextPageContext } from 'next'
+import Head from 'next/head'
import { SnowflakeUtil } from 'discord.js'
import Day from '../../utils/Day'
import { ParsedUrlQuery } from 'querystring'
@@ -12,11 +13,13 @@ import Segment from '../../components/Segment'
import { Bot, User } from '../../types'
import Fetch from '../../utils/Fetch'
import NotFound from '../404'
+import SEO from '../../components/SEO'
const Bots:NextPage = ({ data, date }) => {
console.log(data)
if(!data.id) return
return
+
@@ -25,7 +28,7 @@ const Bots:NextPage
= ({ data, date }) => {
{data.name} {data.trusted && }
- {data.desc}
+ {data.intro}
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..4f9540b
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1 @@
+User-agent: *
\ No newline at end of file