Full Toolkit for Next-Level Domain Analysis
Rework landing page ✨
Felix Wotschofsky064595a0092a
diff --git a/app/lookup/[domain]/layout.tsx b/app/lookup/[domain]/layout.tsxindex 1b16161..b9f3275 100644--- a/app/lookup/[domain]/layout.tsx+++ b/app/lookup/[domain]/layout.tsx@@ -79,11 +79,7 @@ const LookupLayout: FC<LookupLayoutProps> = ({return (<><div className="container mb-8 max-w-xl">- <SearchForm- textAlignment="center"- initialValue={domain}- autofocus={false}- />+ <SearchForm initialValue={domain} autofocus={false} /></div><div className="container">diff --git a/app/page.tsx b/app/page.tsxindex 8f257d2..a63cfe3 100644--- a/app/page.tsx+++ b/app/page.tsx@@ -1,6 +1,10 @@import Link from 'next/link';import Balancer from 'react-wrap-balancer';+import { Card } from '@/components/ui/card';++import LogoDark from '@/assets/logo-dark.svg';+import LogoLight from '@/assets/logo-light.svg';import SearchForm from '@/components/general/SearchForm';import TrustedByLogos from '@/components/marketing/TrustedByLogos';import { EXAMPLE_DOMAINS } from '@/lib/data';@@ -17,20 +21,27 @@ export const metadata = {const Home = () => {return (<div className="container">- <div className="flex min-h-[80vh] flex-col justify-center gap-36 py-24">- <div className="lg:w-3/4 xl:w-1/2">- <h1 className="mb-16 text-2xl font-semibold tracking-tight sm:text-5xl">+ <section className="py-24 sm:py-48">+ <div className="flex items-center justify-center gap-4 sm:gap-6">+ <LogoDark className="inline h-12 dark:hidden sm:h-20" />+ <LogoLight className="hidden h-12 dark:inline sm:h-20" />+ <span className="text-4xl font-bold sm:text-6xl">Domain Digger</span>+ </div>++ <div className="mb-16 mt-32">+ <h1 className="mb-8 scroll-m-20 pb-2 text-center text-2xl font-semibold tracking-tight first:mt-0 sm:text-3xl">Get details about any Domain</h1>- <SearchForm textAlignment="left" autofocus={true} />+ <div className="mx-auto max-w-4xl">+ <SearchForm autofocus={true} />+ </div></div>- <div className="max-w-xl">- <h2 className="mb-5 text-xl font-semibold tracking-tight sm:text-2xl">- Or start with some examples+ <div>+ <h2 className="text-center font-semibold sm:text-lg">+ Start with examples</h2>-- <div className="mt-6 text-sm leading-7 text-muted-foreground">+ <div className="mt-2 text-center text-sm leading-7 text-muted-foreground"><Balancer>{EXAMPLE_DOMAINS.map((domain) => (<>@@ -47,137 +58,108 @@ const Home = () => {</Balancer></div></div>+ </section>- <div>- <h2 className="mb-8 text-xl font-semibold tracking-tight sm:text-2xl">+ <section>+ <div className="flex flex-col items-center gap-8">+ <h2 className="text-center font-semibold sm:text-lg">Trusted by experts at</h2><TrustedByLogos /></div>- </div>+ </section>- <div>- <h2 className="mb-6 text-3xl font-bold">+ <section className="mt-32">+ <h2 className="mb-6 text-center text-3xl font-bold">Domain Digger: The Essential Domain Information Tool</h2>- <div className="relative mb-24 flex flex-col before:absolute before:bottom-0 before:left-5 before:top-0 before:w-0.5 before:bg-muted-foreground">- <div className="relative mb-24 gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 1- </span>- <div className="pl-14">- <h3 className="mb-2 text-xl font-semibold">- A Comprehensive, Web-Based DNS Client- </h3>- <p>- Domain Digger is an advanced, web-based tool designed to provide- detailed insights into domain-related data. It serves as a- versatile DNS client, offering functionalities similar to- command-line tools like dig and nslookup, but with the added- convenience of a user-friendly web interface. This tool is- indispensable for anyone needing in-depth information about- domain names, making it a valuable resource for digital- marketers, SEO experts, and web developers.- </p>- </div>- </div>+ <div className="mb-24 grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3">+ <Card className="p-4">+ <h3 className="mb-2 text-xl font-semibold">+ A Comprehensive, Web-Based DNS Client+ </h3>+ <p>+ Domain Digger is an advanced, web-based tool designed to provide+ detailed insights into domain-related data. It serves as a+ versatile DNS client, offering functionalities similar to+ command-line tools like dig and nslookup, but with the added+ convenience of a user-friendly web interface. This tool is+ indispensable for anyone needing in-depth information about domain+ names, making it a valuable resource for digital marketers, SEO+ experts, and web developers.+ </p>+ </Card>- <div className="relative mb-24 gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 2- </span>- <div className="pl-14">- <h3 className="mb-2 text-xl font-semibold">- Efficient and Accurate DNS Record Analysis- </h3>- <p>- Our tool excels in delivering an extensive overview of DNS- records for any given domain name. It's designed to present- all relevant DNS records of a website in a clear,- easy-to-understand format. Unlike traditional tools that may- cache DNS responses, Domain Digger ensures the most current- information by querying DNS servers for fresh records.- </p>- </div>- </div>+ <Card className="p-4">+ <h3 className="mb-2 text-xl font-semibold">+ Efficient and Accurate DNS Record Analysis+ </h3>+ <p>+ Our tool excels in delivering an extensive overview of DNS records+ for any given domain name. It's designed to present all+ relevant DNS records of a website in a clear, easy-to-understand+ format. Unlike traditional tools that may cache DNS responses,+ Domain Digger ensures the most current information by querying DNS+ servers for fresh records.+ </p>+ </Card>- <div className="relative mb-24 gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 3- </span>- <div className="pl-14">- <h3 className="mb-2 text-xl font-semibold">- Simplified Process, Enhanced Capabilities- </h3>- <p>- Using Domain Digger is straightforward. Simply enter a domain- name, and you're instantly taken to a comprehensive- overview of its DNS records. Behind the scenes, our tool queries- a DNS server without caching results, ensuring you receive the- most up-to-date information.- </p>- </div>- </div>+ <Card className="p-4">+ <h3 className="mb-2 text-xl font-semibold">+ Simplified Process, Enhanced Capabilities+ </h3>+ <p>+ Using Domain Digger is straightforward. Simply enter a domain+ name, and you're instantly taken to a comprehensive overview+ of its DNS records. Behind the scenes, our tool queries a DNS+ server without caching results, ensuring you receive the most+ up-to-date information.+ </p>+ </Card>- <div className="relative mb-24 gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 4- </span>- <div className="pl-14">- <h3 className="mb-2 text-xl font-semibold">- Choice of DNS Servers and Record Types- </h3>- <p>- Domain Digger offers the flexibility to select from a wide range- of DNS servers, including popular public DNS servers,- authoritative servers for the domain in question, and local- servers worldwide. By default, it displays standard records like- A, AAAA, CNAME, TXT, NS, MX, and SOA, but users can also opt to- view additional types.- </p>- </div>- </div>+ <Card className="p-4">+ <h3 className="mb-2 text-xl font-semibold">+ Choice of DNS Servers and Record Types+ </h3>+ <p>+ Domain Digger offers the flexibility to select from a wide range+ of DNS servers, including popular public DNS servers,+ authoritative servers for the domain in question, and local+ servers worldwide. By default, it displays standard records like+ A, AAAA, CNAME, TXT, NS, MX, and SOA, but users can also opt to+ view additional types.+ </p>+ </Card>- <div className="relative mb-24 gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 5- </span>- <div className="pl-14">- <h3 className="mb-2 text-xl font-semibold">- Extensive Support for Active DNS Record Types- </h3>- <p>- Our platform supports a broad spectrum of DNS record types known- to be in active use, including but not limited to: A and AAAA- for IP addresses, CNAME for canonical names, MX for mail- exchanges, NS for name servers, SOA for start of authority, SRV- for service locators, TXT for human-readable text, and many- more.- </p>- </div>- </div>+ <Card className="p-4">+ <h3 className="mb-2 text-xl font-semibold">+ Extensive Support for Active DNS Record Types+ </h3>+ <p>+ Our platform supports a broad spectrum of DNS record types known+ to be in active use, including but not limited to: A and AAAA for+ IP addresses, CNAME for canonical names, MX for mail exchanges, NS+ for name servers, SOA for start of authority, SRV for service+ locators, TXT for human-readable text, and many more.+ </p>+ </Card>- <div className="relative gap-4">- <span className="absolute left-0 flex h-10 w-10 -translate-y-2 transform items-center justify-center rounded-full border-2 border-muted-foreground bg-background text-lg font-bold text-muted-foreground shadow-md shadow-background">- 6- </span>- <div className="pl-14">- <h3 className="text-xl font-semibold">- Practical Applications and Use Cases- </h3>- <p>- Domain Digger is useful in various scenarios, such as verifying- the correct configuration of DNS records for your domain or- monitoring the propagation of DNS record changes across the- domain name system. Its ability to display multiple record types- simultaneously and the option to share results make it superior- to traditional command-line interfaces for DNS lookup tasks.- </p>- </div>- </div>+ <Card className="p-4">+ <h3 className="text-xl font-semibold">+ Practical Applications and Use Cases+ </h3>+ <p>+ Domain Digger is useful in various scenarios, such as verifying+ the correct configuration of DNS records for your domain or+ monitoring the propagation of DNS record changes across the domain+ name system. Its ability to display multiple record types+ simultaneously and the option to share results make it superior to+ traditional command-line interfaces for DNS lookup tasks.+ </p>+ </Card></div>- </div>+ </section></div>);};diff --git a/components/general/SearchForm.tsx b/components/general/SearchForm.tsxindex c36a01f..2b9c899 100644--- a/components/general/SearchForm.tsx+++ b/components/general/SearchForm.tsx@@ -54,7 +54,6 @@ enum FormStates {}type SearchFormProps = {- textAlignment: 'left' | 'center';initialValue?: string;autofocus?: boolean;};@@ -186,7 +185,7 @@ const SearchForm = (props: SearchFormProps) => {);return (- <>+ <div><form className="flex gap-3" onSubmit={handleSubmit}><div className="group relative flex-[3]"><Input@@ -254,23 +253,15 @@ const SearchForm = (props: SearchFormProps) => {</form>{error ? (- <p- className={cn('mt-2 text-sm text-red-600', {- 'text-center': props.textAlignment === 'center',- })}- >+ <p className="mt-2 text-center text-sm text-red-600">An error occurred! Please check your input or try again later.</p>) : (- <p- className={cn('mt-2 text-sm text-muted-foreground', {- 'text-center': props.textAlignment === 'center',- })}- >+ <p className="mt-2 text-center text-sm text-muted-foreground">It can be anything! An apex, subdomain, or even a URL.</p>)}- </>+ </div>);};diff --git a/components/marketing/TrustedByLogos.tsx b/components/marketing/TrustedByLogos.tsxindex 11f452e..8628a3f 100644--- a/components/marketing/TrustedByLogos.tsx+++ b/components/marketing/TrustedByLogos.tsx@@ -1,7 +1,7 @@import Link from 'next/link';const TrustedByLogos = () => (- <div className="flex flex-wrap gap-8 [&_*]:h-7 [&_*]:w-auto">+ <div className="flex flex-wrap justify-center gap-8 [&_*]:h-7 [&_*]:w-auto"><Link href="/lookup/cloudflare.com"><svgxmlns="http://www.w3.org/2000/svg"diff --git a/components/ui/card.tsx b/components/ui/card.tsxnew file mode 100644index 0000000..fca7be4--- /dev/null+++ b/components/ui/card.tsx@@ -0,0 +1,86 @@+import * as React from 'react';++import { cn } from '@/lib/utils';++const Card = React.forwardRef<+ HTMLDivElement,+ React.HTMLAttributes<HTMLDivElement>+>(({ className, ...props }, ref) => (+ <div+ ref={ref}+ className={cn(+ 'rounded-lg border bg-card text-card-foreground shadow-sm',+ className+ )}+ {...props}+ />+));+Card.displayName = 'Card';++const CardHeader = React.forwardRef<+ HTMLDivElement,+ React.HTMLAttributes<HTMLDivElement>+>(({ className, ...props }, ref) => (+ <div+ ref={ref}+ className={cn('flex flex-col space-y-1.5 p-6', className)}+ {...props}+ />+));+CardHeader.displayName = 'CardHeader';++const CardTitle = React.forwardRef<+ HTMLParagraphElement,+ React.HTMLAttributes<HTMLHeadingElement>+>(({ className, ...props }, ref) => (+ <h3+ ref={ref}+ className={cn(+ 'text-2xl font-semibold leading-none tracking-tight',+ className+ )}+ {...props}+ />+));+CardTitle.displayName = 'CardTitle';++const CardDescription = React.forwardRef<+ HTMLParagraphElement,+ React.HTMLAttributes<HTMLParagraphElement>+>(({ className, ...props }, ref) => (+ <p+ ref={ref}+ className={cn('text-sm text-muted-foreground', className)}+ {...props}+ />+));+CardDescription.displayName = 'CardDescription';++const CardContent = React.forwardRef<+ HTMLDivElement,+ React.HTMLAttributes<HTMLDivElement>+>(({ className, ...props }, ref) => (+ <div ref={ref} className={cn('p-6 pt-0', className)} {...props} />+));+CardContent.displayName = 'CardContent';++const CardFooter = React.forwardRef<+ HTMLDivElement,+ React.HTMLAttributes<HTMLDivElement>+>(({ className, ...props }, ref) => (+ <div+ ref={ref}+ className={cn('flex items-center p-6 pt-0', className)}+ {...props}+ />+));+CardFooter.displayName = 'CardFooter';++export {+ Card,+ CardHeader,+ CardFooter,+ CardTitle,+ CardDescription,+ CardContent,+};