Skip to content

Commit

Permalink
Reorganize components 🏗️
Browse files Browse the repository at this point in the history
  • Loading branch information
wotschofsky committed Dec 23, 2024
1 parent d2bf2c7 commit 7ad173e
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/_components/search-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
isValidDomain,
} from '@/lib/utils';

import { IpDetailsModal } from '../lookup/[domain]/_components/ip-details-modal';
import { IpDetailsModal } from './ip-details-modal';

const normalizeDomain = (input: string) => {
let tDomain;
Expand Down
2 changes: 1 addition & 1 deletion app/lookup/[domain]/(dns)/_components/record-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TableCell, TableRow } from '@/components/ui/table';
import type { RecordContextEntry } from '@/lib/record-context';
import { cn, DOMAIN_REGEX, IPV4_REGEX, IPV6_REGEX } from '@/lib/utils';

import { DomainLink } from '../../_components/domain-link';
import { DomainLink } from '../../../../_components/domain-link';
import { IpLink } from '../../_components/ip-link';
import { RecordSubvalues } from './record-subvalues';

Expand Down
2 changes: 1 addition & 1 deletion app/lookup/[domain]/(dns)/_components/stacked-record.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import reactStringReplace from 'react-string-replace';

import type { RecordContextEntry } from '@/lib/record-context';

import { DomainLink } from '../../_components/domain-link';
import { DomainLink } from '../../../../_components/domain-link';
import { IpLink } from '../../_components/ip-link';
import { RecordSubvalues } from './record-subvalues';

Expand Down
2 changes: 1 addition & 1 deletion app/lookup/[domain]/_components/ip-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {

import { useAnalytics } from '@/lib/analytics';

import { IpDetailsModal } from './ip-details-modal';
import { IpDetailsModal } from '../../../_components/ip-details-modal';

type IpLinkProps = {
value: string;
Expand Down
2 changes: 1 addition & 1 deletion app/lookup/[domain]/certs/_components/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SortableTable } from '@/components/sortable-table';
import type { CertsData } from '@/lib/certs';
import { isValidDomain } from '@/lib/utils';

import { DomainLink } from '../../_components/domain-link';
import { DomainLink } from '../../../../_components/domain-link';

type CertsTableProps = {
certs: CertsData;
Expand Down
4 changes: 2 additions & 2 deletions app/lookup/[domain]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import { type FC, type ReactNode } from 'react';

import { Card } from '@/components/ui/card';

import { Footer } from '@/app/_components/footer';
import { Header } from '@/app/_components/header';
import { getVisitorIp, isUserBot } from '@/lib/api';
import { recordLookup } from '@/lib/search';
import { isValidDomain, isWildcardDomain } from '@/lib/utils';

import { Footer } from '../../_components/footer';
import { Header } from '../../_components/header';
import { RelatedDomains } from './_components/related-domains';
import { ResultsTabs } from './_components/results-tabs';
import { ShareButton } from './_components/share-button';
Expand Down
2 changes: 1 addition & 1 deletion app/lookup/[domain]/subdomains/_components/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {

import { SortableTable } from '@/components/sortable-table';

import { DomainLink } from '../../_components/domain-link';
import { DomainLink } from '../../../../_components/domain-link';

type SubdomainsTableProps = {
results: {
Expand Down

0 comments on commit 7ad173e

Please sign in to comment.