Full Toolkit for Next-Level Domain Analysis
Add testimonials 💌
Felix Wotschofsky4647db815160
diff --git a/app/(landing)/_components/testimonial.tsx b/app/(landing)/_components/testimonial.tsxnew file mode 100644index 0000000..c4c4e91--- /dev/null+++ b/app/(landing)/_components/testimonial.tsx@@ -0,0 +1,33 @@+import Image from 'next/image';+import type { FC, ReactNode } from 'react';++import { Card } from '@/components/ui/card';++type TestimonialProps = {+ children: ReactNode;+ from: {+ url: string;+ name: string;+ role: string;+ imgSrc: string;+ };+};++export const Testimonial: FC<TestimonialProps> = ({ children, from }) => (+ <Card className="p-8">+ <a className="flex items-center gap-3" href={from.url} target="_blank">+ <Image+ className="aspect-square h-12 rounded-full"+ src={from.imgSrc}+ width={12 * 4}+ height={12 * 4}+ alt={`Photo of ${from.name}`}+ />+ <div className="flex flex-col justify-center gap-0.5">+ <p className="text-sm font-semibold">{from.name}</p>+ <p className="text-sm text-zinc-500 dark:text-zinc-400">{from.role}</p>+ </div>+ </a>+ <p className="mt-6">{children}</p>+ </Card>+);diff --git a/app/(landing)/_components/trust-section.tsx b/app/(landing)/_components/trust-section.tsxindex d82b263..43e78b5 100644--- a/app/(landing)/_components/trust-section.tsx+++ b/app/(landing)/_components/trust-section.tsx@@ -1,5 +1,6 @@import type { FC, HTMLAttributes } from 'react';+import { Testimonial } from './testimonial';import { TrustedByLogos } from './trusted-by-logos';type TrustSectionProps = HTMLAttributes<HTMLElement> & {@@ -12,5 +13,53 @@ export const TrustSection: FC<TrustSectionProps> = (props) => (<h2 className="text-center font-semibold">Trusted by experts at</h2><TrustedByLogos subpage={props.subpage} /></div>++ <div className="mt-12 grid grid-cols-3 gap-8">+ <Testimonial+ from={{+ url: 'https://www.linkedin.com/in/anouar-springer',+ name: 'Anouar Springer',+ role: 'Growth @ Superchat',+ imgSrc: '/assets/testimonials/anouar-springer.jpg',+ }}+ >+ <strong>+ Domain Digger has been a great help in improving our email+ deliverability.+ </strong>{' '}+ It's made checking our domain settings straightforward, providing+ detailed information that was easy to understand and use. I'd+ recommend it to anyone looking to optimize their domain performance.+ </Testimonial>++ <Testimonial+ from={{+ url: 'https://www.linkedin.com/in/boguslawski',+ name: 'Samuel Boguslawski',+ role: 'Lecturer @ CODE University',+ imgSrc: '/assets/testimonials/samuel-boguslawski.jpg',+ }}+ >+ As a software engineering lecturer, I use Domain Digger in my classes to{' '}+ <strong>help students understand how the internet works.</strong> The+ different interactive elements and maps help visualize various concepts+ and provide a fun way for students to learn about DNS interactively.+ </Testimonial>++ <Testimonial+ from={{+ url: 'https://x.com/genuinu',+ name: 'benj',+ role: 'Domain Reseller',+ imgSrc: '/assets/testimonials/genuinu.png',+ }}+ >+ If you're not using Domain Digger then it's something else and+ that's just silly.+ <br />+ <br />+ It even looks up emojis!+ </Testimonial>+ </div></section>);diff --git a/app/(landing)/certs/page.tsx b/app/(landing)/certs/page.tsxindex 4e2cd11..163f095 100644--- a/app/(landing)/certs/page.tsx+++ b/app/(landing)/certs/page.tsx@@ -19,7 +19,7 @@ export const metadata = {const CertsLandingPage: FC = () => (<div className="container space-y-16"><div className="flex min-h-[calc(100vh-4.5rem-2rem)] flex-col justify-between gap-16 pb-12">- <div className="flex min-h-[40vh] flex-col justify-center py-24">+ <div className="flex min-h-[40vh] flex-col justify-center py-20"><section><h1 className="mb-16 scroll-m-20 text-center text-2xl font-semibold tracking-tight sm:text-3xl">Find certificate history for any domaindiff --git a/app/(landing)/map/page.tsx b/app/(landing)/map/page.tsxindex f226af1..c94b4ce 100644--- a/app/(landing)/map/page.tsx+++ b/app/(landing)/map/page.tsx@@ -20,7 +20,7 @@ export const metadata = {const MapLandingPage: FC = () => (<div className="container space-y-16"><div className="flex min-h-[calc(100vh-4.5rem-2rem)] flex-col justify-between gap-16 pb-12">- <div className="flex min-h-[40vh] flex-col justify-center py-24">+ <div className="flex min-h-[40vh] flex-col justify-center py-20"><section><h1 className="mb-16 scroll-m-20 text-center text-2xl font-semibold tracking-tight sm:text-3xl">Run DNS lookups across multiple regionsdiff --git a/app/(landing)/page.tsx b/app/(landing)/page.tsxindex c2d9f4b..ead03ef 100644--- a/app/(landing)/page.tsx+++ b/app/(landing)/page.tsx@@ -20,7 +20,7 @@ export const metadata = {const MainLandingPage: FC = () => (<div className="container space-y-16"><div className="flex min-h-[calc(100vh-4.5rem-2rem)] flex-col justify-between gap-16 pb-12">- <div className="flex min-h-[40vh] flex-col justify-center py-24">+ <div className="flex min-h-[40vh] flex-col justify-center py-20"><section><h1 className="mb-16 scroll-m-20 text-center text-2xl font-semibold tracking-tight sm:text-3xl">Get details about any Domaindiff --git a/app/(landing)/subdomains/page.tsx b/app/(landing)/subdomains/page.tsxindex 77cdfd8..6dcc241 100644--- a/app/(landing)/subdomains/page.tsx+++ b/app/(landing)/subdomains/page.tsx@@ -19,7 +19,7 @@ export const metadata = {const SubdomainsLandingPage: FC = () => (<div className="container space-y-16"><div className="flex min-h-[calc(100vh-4.5rem-2rem)] flex-col justify-between gap-16 pb-12">- <div className="flex min-h-[40vh] flex-col justify-center py-24">+ <div className="flex min-h-[40vh] flex-col justify-center py-20"><section><h1 className="mb-16 scroll-m-20 text-center text-2xl font-semibold tracking-tight sm:text-3xl">Find hidden subdomains for any domaindiff --git a/app/(landing)/whois/page.tsx b/app/(landing)/whois/page.tsxindex e7289b0..6a106d6 100644--- a/app/(landing)/whois/page.tsx+++ b/app/(landing)/whois/page.tsx@@ -19,7 +19,7 @@ export const metadata = {const WhoisLandingPage: FC = () => (<div className="container space-y-16"><div className="flex min-h-[calc(100vh-4.5rem-2rem)] flex-col justify-between gap-16 pb-12">- <div className="flex min-h-[40vh] flex-col justify-center py-24">+ <div className="flex min-h-[40vh] flex-col justify-center py-20"><section><h1 className="mb-16 scroll-m-20 text-center text-2xl font-semibold tracking-tight sm:text-3xl">Find WHOIS information for any domaindiff --git a/public/assets/testimonials/anouar-springer.jpg b/public/assets/testimonials/anouar-springer.jpgnew file mode 100644index 0000000..bff27cfBinary files /dev/null and b/public/assets/testimonials/anouar-springer.jpg differdiff --git a/public/assets/testimonials/genuinu.png b/public/assets/testimonials/genuinu.pngnew file mode 100644index 0000000..3ffe337Binary files /dev/null and b/public/assets/testimonials/genuinu.png differdiff --git a/public/assets/testimonials/samuel-boguslawski.jpg b/public/assets/testimonials/samuel-boguslawski.jpgnew file mode 100644index 0000000..b1447c0Binary files /dev/null and b/public/assets/testimonials/samuel-boguslawski.jpg differ