From dd07db20068df5949c605420aac454aa0e061aa2 Mon Sep 17 00:00:00 2001 From: Theodorus Clarence Date: Sat, 5 Feb 2022 20:04:00 +0700 Subject: [PATCH] feat: optional twitter handle --- notiolink.config.js | 2 -- src/components/Seo.tsx | 3 +-- src/lib/config.ts | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/notiolink.config.js b/notiolink.config.js index d294d22..4ab5ed8 100644 --- a/notiolink.config.js +++ b/notiolink.config.js @@ -5,8 +5,6 @@ module.exports = { /** Description for SEO */ seoDescription: 'Self-hostable branded link shortener built with Next.js & Notion API', - /** Twitter account for SEO */ - twitter: '@th_clarence', /** Without additional '/' on the end, e.g. https://theodorusclarence.com */ deployUrl: 'https://notiolink.thcl.dev', diff --git a/src/components/Seo.tsx b/src/components/Seo.tsx index ec607c2..8495edd 100644 --- a/src/components/Seo.tsx +++ b/src/components/Seo.tsx @@ -1,7 +1,7 @@ import Head from 'next/head'; import { useRouter } from 'next/router'; -import { appName, deployUrl, seoDescription, twitter } from '@/lib/config'; +import { appName, deployUrl, seoDescription } from '@/lib/config'; const defaultMeta = { title: appName, @@ -43,7 +43,6 @@ export default function Seo(props: SeoProps) { {/* Twitter */} - diff --git a/src/lib/config.ts b/src/lib/config.ts index a818a1b..365c518 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -4,4 +4,3 @@ import { getSiteConfig } from '@/lib/get-config-value'; export const appName = getSiteConfig('appName'); export const seoDescription = getSiteConfig('seoDescription'); export const deployUrl = getSiteConfig('deployUrl'); -export const twitter = getSiteConfig('twitter');