Skip to content

Full Toolkit for Next-Level Domain Analysis

Revert "Add banner for Digest Guru πŸ’Œ"

Felix Wotschofskya3a6d9c26c95
diff --git a/app/lookup/[domain]/(dns)/_components/digest-guru-banner.tsx b/app/lookup/[domain]/(dns)/_components/digest-guru-banner.tsx
deleted file mode 100644
index 3d89170..0000000
--- a/app/lookup/[domain]/(dns)/_components/digest-guru-banner.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { ExternalLinkIcon, TrendingUpIcon } from 'lucide-react';
-
-import { Button } from '@/components/ui/button';
-import { Card } from '@/components/ui/card';
-
-const TARGET_URL =
- 'https://digest.guru/?utm_source=domain-digger&utm_medium=banner&utm_campaign=dns-lookup';
-
-export const DigestGuruBanner = () => (
- <Card className="bg-zinc-100 p-6 dark:bg-zinc-950">
- <div className="flex items-start justify-between gap-4">
- <div className="flex flex-1 items-start gap-4">
- <div className="mt-1 flex h-8 w-8 items-center justify-center rounded-full bg-zinc-950 dark:bg-white">
- <TrendingUpIcon className="h-4 w-4 text-white dark:text-zinc-950" />
- </div>
- <div className="flex-1">
- <h3 className="mb-2 text-lg font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">
- Busy professional? Stay ahead of the curve!
- </h3>
- <p className="text-sm leading-relaxed text-zinc-600 dark:text-zinc-400">
- Get personalized email summaries from your favorite thought leaders
- on YouTube & X.
- </p>
- <p className="mb-4 text-sm leading-relaxed text-zinc-600 dark:text-zinc-400">
- Stay up-to-date while{' '}
- <a className="font-bold" href={TARGET_URL} target="_blank">
- saving hours of scrolling
- </a>{' '}
- β€” perfect for busy professionals who need to stay informed.
- </p>
- <Button asChild size="sm">
- <a href={TARGET_URL} target="_blank" rel="noopener noreferrer">
- Get Your Digest
- <ExternalLinkIcon className="h-3 w-3" />
- </a>
- </Button>
- </div>
- </div>
- </div>
- </Card>
-);
diff --git a/app/lookup/[domain]/(dns)/_components/dns-table.tsx b/app/lookup/[domain]/(dns)/_components/dns-table.tsx
index 188bbe1..85b34a4 100644
--- a/app/lookup/[domain]/(dns)/_components/dns-table.tsx
+++ b/app/lookup/[domain]/(dns)/_components/dns-table.tsx
@@ -18,7 +18,6 @@ import type { RecordContextEntry } from '@/lib/record-context';
import type { ResolverMultiResponse } from '@/lib/resolvers/base';
import { cn } from '@/lib/utils';
-import { DigestGuruBanner } from './digest-guru-banner';
import { RecordRow } from './record-row';
import { StackedRecord } from './stacked-record';
@@ -29,7 +28,7 @@ type DnsTableProps = {
export const DnsTable: FC<DnsTableProps> = ({ records, subvalues }) => (
<>
- {Object.entries(records).map(([recordType, response], rowIndex) => {
+ {Object.entries(records).map(([recordType, response]) => {
if (!response || response.records.length === 0) {
return null;
}
@@ -106,12 +105,6 @@ export const DnsTable: FC<DnsTableProps> = ({ records, subvalues }) => (
</TableBody>
</Table>
</div>
-
- {rowIndex === 1 && (
- <div className="pt-16 not-last:pb-16">
- <DigestGuruBanner />
- </div>
- )}
</Fragment>
);
})}