Full Toolkit for Next-Level Domain Analysis
Add/improve SEO copy ✍️
Felix Wotschofsky0cfd08f2f57b
diff --git a/app/layout.tsx b/app/layout.tsxindex f39c5eb..2995e42 100644--- a/app/layout.tsx+++ b/app/layout.tsx@@ -6,6 +6,12 @@ import Header from '@/components/Header';import './globals.css';import Providers from './providers';+export const metadata = {+ title: 'Domain Digger: DNS, WHOIS lookup & more',+ description:+ 'Domain Digger is the easy but incredibly powerful tool for looking up and quickly inspecting DNS records, WHOIS data, SSL/TLS certificate history and other domain related data. No installation required!',+};+type RootLayoutProps = {children: ReactNode;};diff --git a/app/lookup/[domain]/layout.tsx b/app/lookup/[domain]/layout.tsxindex b6b7c3b..4b0b5f5 100644--- a/app/lookup/[domain]/layout.tsx+++ b/app/lookup/[domain]/layout.tsx@@ -1,4 +1,5 @@import { ExternalLinkIcon } from 'lucide-react';+import type { Metadata } from 'next';import type { FC, ReactNode } from 'react';import RelatedDomains from '@/components/RelatedDomains';@@ -12,14 +13,18 @@ type LookupLayoutProps = {};};+export const generateMetadata = ({+ params: { domain },+}: LookupLayoutProps): Metadata => ({+ title: `Results for ${domain} - Domain Digger`,+});+const LookupLayout: FC<LookupLayoutProps> = ({children,params: { domain },}) => {return (<>- <title>{`Results for ${domain} - Domain Digger`}</title>-<div className="container mb-8 max-w-xl"><SearchForm initialValue={domain} autofocus={false} /></div>diff --git a/app/page.tsx b/app/page.tsxindex e25cf7f..100f9d4 100644--- a/app/page.tsx+++ b/app/page.tsx@@ -3,10 +3,6 @@ import { Card } from '@/components/ui/card';import BookmarkletLink from '@/components/BookmarkletLink';import SearchForm from '@/components/SearchForm';-export const metadata = {- title: 'Domain Digger',-};-const Home = () => {return (<>@@ -30,6 +26,30 @@ const Home = () => {<BookmarkletLink /></Card>++ <div className="mx-auto my-16 max-w-lg p-6">+ <h2 className="mb-5 text-center text-xl font-semibold tracking-tight sm:text-2xl">+ About Domain Digger+ </h2>++ <p className="mb-5 mt-2 text-center text-sm text-muted-foreground">+ Domain Digger is the easy but incredibly powerful tool for looking up+ and quickly inspecting DNS records, WHOIS data, SSL/TLS certificate+ history and other domain related data. No installation required!+ </p>+ <p className="mb-5 mt-2 text-center text-sm text-muted-foreground">+ Domain Digger is entirely free and{' '}+ <a+ className="underline"+ href="https://github.com/feliskio/domain-digger"+ target="_blank"+ rel="noopener"+ >+ open source+ </a>+ . Any contributions are welcome!+ </p>+ </div></>);};