diff --git a/app/lookup/[domain]/page.jsx b/app/lookup/[domain]/page.jsx index c5e77239..26542b13 100644 --- a/app/lookup/[domain]/page.jsx +++ b/app/lookup/[domain]/page.jsx @@ -8,15 +8,14 @@ import { Badge } from '@/components/ui/badge'; import DnsTable from '@/components/DnsTable'; import DomainNotRegistered from '@/components/DomainNotRegistered'; import Loader from '@/components/Loader'; +import DnsRecordsWidget from '@/components/overview/DnsRecordsWidget'; import RecordList from '@/components/overview/RecordList'; import SecurityWidget from '@/components/overview/SecurityWidget'; import whois, { isAvailable } from '@/lib/whois'; -import DnsRecordsWidget from '@/components/overview/DnsRecordsWidget'; export const fetchCache = 'default-no-store'; const LookupDomain = async ({ params: { domain } }) => { - const whoisResult = whoiser.firstResult( await whoiser(domain, { timeout: 3000, diff --git a/components/CreditsInfo.tsx b/components/CreditsInfo.tsx index f7cf1847..1ed601d5 100644 --- a/components/CreditsInfo.tsx +++ b/components/CreditsInfo.tsx @@ -1,6 +1,8 @@ import { Button, - Popover, PopoverContent, PopoverTrigger, + Popover, + PopoverContent, + PopoverTrigger, } from '@nextui-org/react'; import { MedalIcon } from 'lucide-react'; import { redirect } from 'next/navigation'; @@ -8,22 +10,38 @@ import React, { FC } from 'react'; const CreditsInfo: FC = () => { return ( - + }} + > - + originally created by{' '} + - originally created by Felix Wotschofsky + Felix Wotschofsky +
- forked by maaaathis + forked by{' '} + + maaaathis +
); diff --git a/components/ExternalFavicon.tsx b/components/ExternalFavicon.tsx index 7a81a660..73180b42 100644 --- a/components/ExternalFavicon.tsx +++ b/components/ExternalFavicon.tsx @@ -1,4 +1,5 @@ -'use client' +'use client'; + import Image from 'next/image'; import { type FC, useCallback, useState } from 'react'; diff --git a/components/overview/DnsRecordsWidget.tsx b/components/overview/DnsRecordsWidget.tsx index aafe060c..377784fd 100644 --- a/components/overview/DnsRecordsWidget.tsx +++ b/components/overview/DnsRecordsWidget.tsx @@ -1,9 +1,9 @@ +import { XSquareIcon } from 'lucide-react'; import { FC } from 'react'; import DnsLookup from '@/utils/DnsLookup'; -import RecordList from './RecordList'; -import { XSquareIcon } from 'lucide-react'; +import RecordList from './RecordList'; interface DnsRecordsWidgetProps { type: @@ -46,15 +46,15 @@ const DnsRecordsWidget: FC = async ({ {Object.values(records).map((record) => { return (
  • - {type == "MX" ? ( - - {record.data.split(' ')[1]} + {type == 'MX' ? ( + + {record.data.split(' ')[1]} ) : ( - + )}
  • );