Full Toolkit for Next-Level Domain Analysis
Design overhaul ✨ (#39)
Felix Wotschofsky174fd007f0af
diff --git a/app/(landing)/_components/sponsors-section.tsx b/app/(landing)/_components/sponsors-section.tsxindex 71293f8..7c11b06 100644--- a/app/(landing)/_components/sponsors-section.tsx+++ b/app/(landing)/_components/sponsors-section.tsx@@ -59,7 +59,7 @@ export const SponsorsSection: FC<SponsorsSectionProps> = async ({</div><span className="text-center text-sm"><a- className="text-muted-foreground underline decoration-dotted underline-offset-4"+ className="text-zinc-500 underline decoration-dotted underline-offset-4 dark:text-zinc-400"href="https://github.com/sponsors/wotschofsky"target="_blank">@@ -67,7 +67,7 @@ export const SponsorsSection: FC<SponsorsSectionProps> = async ({</a>{' '}or{' '}<a- className="text-muted-foreground underline decoration-dotted underline-offset-4"+ className="text-zinc-500 underline decoration-dotted underline-offset-4 dark:text-zinc-400"href="https://wotschofsky.com#contact"target="_blank">diff --git a/app/(landing)/_components/trusted-by-logos.tsx b/app/(landing)/_components/trusted-by-logos.tsxindex d05262e..50018ae 100644--- a/app/(landing)/_components/trusted-by-logos.tsx+++ b/app/(landing)/_components/trusted-by-logos.tsx@@ -24,15 +24,15 @@ export const TrustedByLogos: FC<TrustedByLogoProps> = ({ subpage }) => (xmlSpace="preserve"><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M1873.4 510c-8.9 0-16-7.1-16-16 0-8.7 7.1-16 16-16 8.7 0 16 7.1 16 16 0 8.7-7.3 16-16 16m0-28.9c-7.1 0-12.9 5.8-12.9 12.9s5.8 12.9 12.9 12.9 12.9-5.8 12.9-12.9-5.8-12.9-12.9-12.9m8.1 21.3h-3.7l-3.2-6h-4.2v6h-3.4v-17.6h8.4c3.7 0 6 2.4 6 5.8 0 2.6-1.6 4.5-3.7 5.3l3.8 6.5zm-6.3-9.2c1.3 0 2.6-.8 2.6-2.6 0-2.1-1.1-2.6-2.6-2.6h-5.3v5.3h5.3zM202.7 476.4h41v111.7h71.2v35.8H202.7V476.4zm154.6 74.1v-.5c0-42.3 34.2-76.8 79.7-76.8s79.1 33.9 79.1 76.2v.5c0 42.3-34.2 76.8-79.7 76.8s-79.1-33.9-79.1-76.2m117.2 0v-.5c0-21.3-15.2-39.7-37.9-39.7-22.3 0-37.3 18.1-37.3 39.4v.5c0 21.3 15.2 39.7 37.6 39.7 22.6 0 37.6-18.1 37.6-39.4m91.8 8.7v-82.8h41.5v82c0 21.3 10.8 31.3 27.1 31.3S662 580 662 559.5v-83.1h41.5v81.8c0 47.6-27.1 68.4-69.1 68.4-41.8-.1-68.1-21.2-68.1-67.4m199.8-82.8h56.8c52.6 0 83.3 30.2 83.3 72.8v.5c0 42.6-31 74.1-84.1 74.1h-56V476.4zm57.5 111.2c24.4 0 40.7-13.4 40.7-37.3v-.5c0-23.7-16.3-37.3-40.7-37.3H807v74.9h16.6v.2zm142-111.2h118v35.8h-77.3v25.2h69.9v33.9h-69.9v52.6h-40.7V476.4zm174.8 0h40.7v111.7h71.5v35.8h-112.3V476.4zm219-1.1h39.4l62.8 148.5h-43.9l-10.8-26.3h-56.8l-10.5 26.3h-42.9l62.7-148.5zm36 90.4l-16.3-41.8-16.6 41.8h32.9zm118.9-89.3h69.7c22.6 0 38.1 5.8 48.1 16 8.7 8.4 13.1 19.7 13.1 34.4v.5c0 22.6-12.1 37.6-30.2 45.2l35.2 51.5h-47.3l-29.7-44.7h-17.9V624h-41V476.4zm67.8 70.7c13.9 0 21.8-6.8 21.8-17.4v-.5c0-11.6-8.4-17.4-22.1-17.4H1555V547l27.1.1zm122-70.7h118.6v34.7h-78.1v22.3h70.7v32.3h-70.7v23.4h79.1v34.7h-119.6V476.4zM113.3 567.8c-5.8 12.9-17.9 22.1-33.7 22.1-22.3 0-37.6-18.7-37.6-39.7v-.5c0-21.3 15-39.4 37.3-39.4 16.8 0 29.7 10.3 35 24.4h43.1c-6.8-35.2-37.9-61.3-77.8-61.3-45.4.1-79.6 34.5-79.6 76.8v.5C0 593.1 33.7 627 79.1 627c38.9 0 69.4-25.2 77.3-58.9l-43.1-.3z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M1568.9 383.8c5.5-18.9 3.4-36.3-5.8-49.2-8.4-11.8-22.6-18.7-39.7-19.5l-323.6-4.2c-2.1 0-3.9-1.1-5-2.6-1.1-1.6-1.3-3.7-.8-5.8 1.1-3.2 4.2-5.5 7.6-5.8l326.5-4.2c38.6-1.8 80.7-33.1 95.4-71.5l18.7-48.6c.8-2.1 1.1-4.2.5-6.3C1621.8 71 1536.9 0 1435.4 0c-93.6 0-173 60.5-201.4 144.3-18.4-13.7-41.8-21-67-18.7-45 4.5-81 40.5-85.4 85.4-1.1 11.6-.3 22.9 2.4 33.4-73.3 2.1-132 62-132 135.9 0 6.6.5 13.1 1.3 19.7.5 3.2 3.2 5.5 6.3 5.5h597.3c3.4 0 6.6-2.4 7.6-5.8l4.4-15.9z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M1672 175.9c-2.9 0-6 0-8.9.3-2.1 0-3.9 1.6-4.7 3.7l-12.6 43.9c-5.5 18.9-3.4 36.3 5.8 49.2 8.4 11.8 22.6 18.7 39.7 19.5l68.9 4.2c2.1 0 3.9 1.1 5 2.6 1.1 1.6 1.3 3.9.8 5.8-1.1 3.2-4.2 5.5-7.6 5.8l-71.8 4.2c-38.9 1.8-80.7 33.1-95.4 71.5l-5.3 13.4c-1.1 2.6.8 5.3 3.7 5.3H1836c2.9 0 5.5-1.8 6.3-4.7 4.2-15.2 6.6-31.3 6.6-47.8 0-97.5-79.4-176.9-176.9-176.9"></path></svg>@@ -48,11 +48,11 @@ export const TrustedByLogos: FC<TrustedByLogoProps> = ({ subpage }) => (viewBox="0 0 195 32"><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M121.21 17.946c0-3.403-1.826-5.015-6.913-6.125-2.83-.61-3.51-1.254-3.51-2.15 0-1.11 1.003-1.611 2.865-1.611 2.257 0 4.478.68 6.591 1.647V5.23c-1.468-.752-3.761-1.326-6.447-1.326-5.051 0-7.666 2.186-7.666 5.803 0 2.866 1.325 5.159 6.555 6.162 3.116.644 3.761 1.146 3.761 2.185 0 1.003-.645 1.648-2.865 1.648-2.544 0-5.588-.86-7.559-2.042v4.692c1.577.788 3.654 1.648 7.523 1.648 5.516 0 7.665-2.436 7.665-6.054zM176.339 4.191v19.522h4.155V8.812l1.755 3.976 5.875 10.925h5.23V4.191h-4.156V16.8l-1.576-3.654-4.728-8.955h-6.555zM149.903 4.191h-4.549v19.487h4.549V4.19zM140.124 17.946c0-3.403-1.827-5.015-6.914-6.125-2.829-.61-3.51-1.254-3.51-2.15 0-1.11 1.003-1.611 2.866-1.611 2.256 0 4.477.68 6.591 1.647V5.23c-1.469-.752-3.761-1.326-6.448-1.326-5.051 0-7.666 2.186-7.666 5.803 0 2.866 1.326 5.159 6.555 6.162 3.117.644 3.762 1.146 3.762 2.185 0 1.003-.645 1.648-2.866 1.648-2.543 0-5.588-.86-7.558-2.042v4.692c1.576.788 3.654 1.648 7.522 1.648 5.517 0 7.666-2.436 7.666-6.054zM70.882 4.191v19.522h9.35l1.468-4.226h-6.233V4.19h-4.585zM52.47 4.191v4.227h5.015v15.295h4.585V8.418h5.41V4.19H52.47zM45.843 4.191h-5.982l-6.806 19.487h5.194l.967-3.296c1.147.322 2.365.537 3.654.537 1.254 0 2.472-.179 3.654-.537l.967 3.296h5.194L45.843 4.19zm-3.009 12.716a9.63 9.63 0 01-2.507-.358l2.507-8.525 2.508 8.525a9.632 9.632 0 01-2.508.358zM96.315 4.191h-5.982l-6.806 19.487h5.194l.967-3.296c1.146.322 2.364.537 3.654.537 1.254 0 2.471-.179 3.654-.537l.967 3.296h5.194L96.315 4.19zm-2.973 12.716c-.86 0-1.72-.143-2.508-.358l2.508-8.525 2.507 8.525c-.824.215-1.648.358-2.507.358zM166.273 4.191h-5.982l-6.806 19.487h5.194l.967-3.296c1.147.322 2.364.537 3.654.537 1.254 0 2.472-.179 3.654-.537l.967 3.296h5.194L166.273 4.19zm-3.009 12.716c-.86 0-1.719-.143-2.507-.358l2.507-8.525 2.508 8.525a9.417 9.417 0 01-2.508.358z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M140.124 17.946c0-3.403-1.791-5.015-6.914-6.125-2.829-.61-3.51-1.254-3.51-2.15 0-1.11 1.003-1.611 2.866-1.611 2.256 0 4.477.68 6.591 1.647V5.23c-2.006-.932-4.227-1.361-6.448-1.326-5.051 0-7.666 2.186-7.666 5.803 0 2.866 1.326 5.159 6.555 6.162 3.117.644 3.762 1.146 3.762 2.185 0 1.039-.645 1.648-2.866 1.648a15.913 15.913 0 01-7.558-2.042v4.692c1.576.788 3.654 1.648 7.522 1.648 5.481 0 7.63-2.436 7.666-6.054zM6.834 11.069c-.107-.144-.322-.215-.501-.215a.57.57 0 00-.358.286L.065 22.961a.484.484 0 00.214.68.51.51 0 00.215.072h8.239c.179 0 .394-.107.466-.286 1.755-3.582.68-9.134-2.365-12.358zM23.706 22.961C23.563 22.746 12.637.824 12.351.287 12.279.107 12.136 0 11.957 0h-.036a.56.56 0 00-.466.287C8.482 4.979 8.16 10.675 10.56 15.475l3.976 7.916c.072.18.25.287.466.287h8.238a.49.49 0 00.502-.502c0-.071 0-.143-.036-.215z"></path></svg>@@ -68,7 +68,7 @@ export const TrustedByLogos: FC<TrustedByLogoProps> = ({ subpage }) => (><pathfillRule="evenodd"- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M64.8 0A7.2 7.2 0 0172 7.2v65.6a7.2 7.2 0 01-7.2 7.2H7.2A7.2 7.2 0 010 72.8V7.2A7.2 7.2 0 017.2 0zm0 4H7.2A3.204 3.204 0 004 7.2v65.6C4 74.564 5.436 76 7.2 76h57.6c1.765 0 3.2-1.436 3.2-3.2V7.2C68 5.435 66.565 4 64.8 4zM19 52l9 8-9 8V52zm8-40v22.711C30.994 33.411 36.577 32 42 32c4.945 0 7.905 1.944 9.517 3.575 3.298 3.335 3.478 7.545 3.483 8.34V68h-8V44.11c-.039-1.867-.938-4.11-5-4.11-7.77 0-16.443 3.733-17.283 4.103l-.066.029L19 46.692V12h8zm164.995 13c6.558 0 13.375 4.165 13.375 14.15s-6.817 14.15-13.375 14.15c-6.597-.002-13.412-4.165-13.412-14.15 0-9.982 6.815-14.15 13.412-14.15zm59.995.517v16.288c0 3.758 1.215 5.453 4.165 5.453 2.948 0 4.125-1.696 4.125-5.453V25.517h7.22V41.84c0 7.222-3.462 11.347-11.423 11.347-7.96 0-11.457-4.124-11.457-11.347V25.517h7.37zm-31.05 0v9.875l7.518-9.875h8.547l-9.175 10.76 9.985 16.508h-8.327l-6.448-10.907-2.1 2.432v8.475h-7.37V25.518h7.37zm-80.69 0v6.118h-12.085v4.422h8.623v5.748h-8.623v5.047h12.713v5.933h-20.08V25.518h19.452zm19.368 0c7 0 11.275 2.323 11.275 8.88 0 4.273-1.805 6.745-5.38 7.958l5.785 10.428h-7.81l-5.27-9.468h-2.028v9.468h-7.222V25.517h10.65zm-64.748 0V35.65h9.065V25.517h7.37v27.265h-7.37V41.766H94.87v11.017H87.5V25.518h7.37zm97.123 5.566c-3.87 0-6.043 3.057-6.043 8.067 0 5.013 2.175 8.255 6.043 8.255 3.832-.002 6.005-3.242 6.005-8.255 0-5.01-2.175-8.067-6.005-8.067zm-32.633.402h-3.168v6.227h3.168c3.022 0 4.347-.847 4.347-3.132s-1.327-3.095-4.347-3.095zM55 12c-.54 4.544-2.382 8.9-6 13h-8c3.144-4.125 5.118-8.466 6-13z"></path></svg>@@ -84,43 +84,43 @@ export const TrustedByLogos: FC<TrustedByLogoProps> = ({ subpage }) => (viewBox="0 0 1080 181"><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"fillRule="evenodd"d="M288.606.684l-92.091 180.027h-86.499l38.54-74.611h-1.729C115.032 147.374 67.593 174.545 0 180.711v-73.578s43.24-2.554 68.661-29.28H0V.686h77.168v63.469l1.732-.007L110.433.686h58.36v63.066l1.732-.003L203.241.684h85.365z"clipRule="evenodd"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M790.78 160.84h24.852V18.187H790.78V160.84z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"fillRule="evenodd"d="M653.772 159.383c5.402 2.246 10.894 3.368 16.478 3.368 9.225 0 17.478-2.245 24.761-6.736 7.283-4.491 12.927-10.682 16.933-18.571 4.006-7.951 6.008-16.963 6.008-27.038s-2.063-19.087-6.19-27.038c-4.127-7.95-9.862-14.11-17.206-18.48-7.343-4.43-15.688-6.615-25.035-6.555a43.561 43.561 0 00-17.114 3.46c-5.463 2.306-10.014 5.583-13.656 9.832-.281.323-.554.65-.819.98V18.278h-24.944V160.84h24.762l-.05-13.318a35.96 35.96 0 002.053 2.302c3.945 4.067 8.618 7.253 14.019 9.559zm25.49-23.032c-4.066 2.488-8.709 3.733-13.928 3.733-5.159 0-9.893-1.275-14.202-3.824-4.309-2.61-7.738-6.16-10.287-10.651-2.488-4.491-3.732-9.589-3.732-15.294-.061-5.705 1.153-10.803 3.641-15.294 2.549-4.552 5.978-8.072 10.287-10.56 4.309-2.55 9.073-3.793 14.293-3.733 5.219-.06 9.862 1.153 13.928 3.642 4.127 2.427 7.283 5.917 9.468 10.469 2.245 4.49 3.368 9.65 3.368 15.476 0 5.826-1.123 10.985-3.368 15.476-2.185 4.491-5.341 8.011-9.468 10.56z"clipRule="evenodd"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M324.611 26.835h28.403l25.408 92.79 27.029-92.79h23.669l29.314 90.928 24.397-90.928h26.036L470.45 160.84h-24.489l-29.807-88.83-27.363 88.83h-24.762L324.611 26.835z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"fillRule="evenodd"d="M550.811 163.207c-9.893.06-18.814-2.125-26.765-6.555-7.889-4.491-14.11-10.712-18.662-18.662-4.491-7.951-6.737-17.024-6.737-27.22 0-9.892 2.307-18.844 6.919-26.855 4.612-8.012 10.864-14.263 18.753-18.754 7.89-4.49 16.69-6.736 26.401-6.736 10.924 0 20.483 2.427 28.676 7.282 8.254 4.856 14.414 11.744 18.48 20.666 4.127 8.86 5.614 19.026 4.461 30.496h-77.979c.218 4.57 1.358 8.728 3.421 12.472 2.306 4.127 5.523 7.344 9.649 9.65 4.127 2.306 8.74 3.459 13.838 3.459 3.884-.06 7.495-.728 10.833-2.002 3.338-1.335 6.16-3.126 8.467-5.371 2.366-2.246 4.035-4.795 5.006-7.647h26.037c-1.578 6.979-4.734 13.2-9.468 18.662-4.734 5.401-10.682 9.619-17.843 12.654-7.162 3.034-14.991 4.521-23.487 4.461zM527.87 91.835a26.294 26.294 0 00-3.023 8.193h51.69c-.375-3.697-1.516-7.065-3.423-10.105-2.184-3.58-5.158-6.342-8.921-8.284-3.763-2.003-8.011-3.004-12.745-3.004-5.037 0-9.619 1.153-13.746 3.459-4.127 2.306-7.405 5.553-9.832 9.74z"clipRule="evenodd"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M736.25 60.518c0-8.132 1.852-15.354 5.554-21.666 3.702-6.373 8.891-11.319 15.567-14.839 6.736-3.58 14.596-5.432 23.578-5.553V40.58c-4.188.061-7.768.941-10.742 2.64-2.913 1.64-5.159 4.037-6.737 7.192-1.453 2.906-2.237 6.274-2.352 10.105h19.285v21.03h-19.3v79.292H736.25V81.548h-16.022v-21.03h16.022z"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"fillRule="evenodd"d="M878.811 163.025c-10.135 0-19.208-2.216-27.22-6.646-7.95-4.491-14.201-10.682-18.753-18.571-4.491-7.951-6.737-16.963-6.737-27.038 0-10.135 2.246-19.178 6.737-27.129 4.552-8.01 10.803-14.232 18.753-18.662 8.012-4.43 17.085-6.645 27.22-6.645 10.196 0 19.3 2.215 27.311 6.645 8.072 4.43 14.353 10.62 18.844 18.571 4.491 7.95 6.767 17.024 6.828 27.22-.061 10.075-2.337 19.087-6.828 27.038-4.43 7.889-10.681 14.08-18.753 18.571-8.072 4.43-17.206 6.646-27.402 6.646zm0-22.85c5.341 0 10.075-1.214 14.202-3.642 4.127-2.488 7.313-5.948 9.558-10.378 2.246-4.491 3.369-9.619 3.369-15.385 0-5.826-1.123-10.985-3.369-15.476-2.245-4.491-5.431-7.95-9.558-10.378-4.127-2.488-8.861-3.733-14.202-3.733-5.28 0-9.983 1.245-14.11 3.733-4.067 2.428-7.223 5.887-9.468 10.378-2.246 4.491-3.338 9.65-3.277 15.476 0 5.766 1.122 10.894 3.368 15.385 2.306 4.43 5.462 7.89 9.468 10.378 4.066 2.428 8.739 3.642 14.019 3.642z"clipRule="evenodd"></path><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"d="M958.649 60.518h-27.674l29.95 100.322h24.216l19.699-64.075 21.27 64.075h23.85L1080 60.518h-25.03l-17.04 62.444-18.83-62.444h-24.218l-18.741 63.82-17.492-63.82z"></path></svg>@@ -130,7 +130,7 @@ export const TrustedByLogos: FC<TrustedByLogoProps> = ({ subpage }) => (<span className="sr-only">SAP</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 1223"><path- className="fill-muted-foreground"+ className="fill-zinc-500 dark:fill-zinc-400"fillRule="evenodd"d="M0 1222.91h1249.29L2471.9.087H0V1222.91zm1466.96-978.258h-244.13l.81 574.185-212.58-574.375H800.272L618.804 724.163c-19.293-122.065-145.489-164.185-244.782-195.734-65.571-21.059-135.163-52.038-134.457-86.277.544-28.098 37.228-54.157 110.136-50.272 48.913 2.636 92.12 6.577 178.071 48.098l84.511-147.282c-78.37-39.892-186.74-65.082-275.598-65.163h-.544c-103.614 0-189.891 33.559-243.369 88.858-37.283 38.587-57.392 87.663-58.207 141.93-1.358 74.674 26.006 127.608 83.506 169.918 48.587 35.598 110.733 58.696 165.489 75.652 67.527 20.924 122.69 39.131 122.011 77.881a57.41 57.41 0 01-16.033 37.989c-16.848 17.391-42.663 23.913-78.397 24.619-68.94 1.468-120.027-9.375-201.44-57.5l-75.19 149.185c81.331 46.25 167.663 69.455 265.761 69.455l22.065-.16c85.38-1.55 154.674-22.012 209.728-66.306 3.152-2.527 5.978-5.081 8.913-7.663L531.739 979l205.978-.652 36.957-94.62c38.859 13.261 83.043 20.598 129.946 20.598 45.706 0 88.695-6.956 126.82-19.456l25.76 93.478 369.57.353.89-215.706h78.64c190.09 0 302.45-96.74 302.45-258.968-.05-180.679-109.29-259.375-341.79-259.375zM904.62 735.467a220.862 220.862 0 01-77.935-13.641l77.065-243.342h1.495l75.815 244.021c-22.826 8.153-48.832 12.962-76.468 12.962h.028zm577.49-335.922c71.08.185 127.7 24.087 127.7 96.792-.05 75.543-57.06 99.321-128.53 99.321h-53.67V399.543h53.67l.83.002z"clipRule="evenodd"diff --git a/app/(landing)/certs/page.tsx b/app/(landing)/certs/page.tsxindex 00c9837..c4231d6 100644--- a/app/(landing)/certs/page.tsx+++ b/app/(landing)/certs/page.tsx@@ -23,7 +23,7 @@ const CertsLandingPage: FC = () => {<h1 className="mb-8 scroll-m-20 pb-2 text-center text-2xl font-semibold tracking-tight first:mt-0 sm:text-3xl">Find certificate history for any domain</h1>- <div className="mx-auto max-w-4xl">+ <div className="mx-auto max-w-2xl"><SearchForm subpage="certs" autofocus /></div></section>diff --git a/app/(landing)/layout.tsx b/app/(landing)/layout.tsxnew file mode 100644index 0000000..9f7827b--- /dev/null+++ b/app/(landing)/layout.tsx@@ -0,0 +1,18 @@+import type { FC, ReactNode } from 'react';++import { Footer } from '../_components/footer';+import { Header } from '../_components/header';++type LandingLayoutProps = {+ children: ReactNode;+};++const LandingLayout: FC<LandingLayoutProps> = ({ children }) => (+ <>+ <Header showSearch={false} />+ <main className="w-full flex-1 pb-16 pt-8">{children}</main>+ <Footer />+ </>+);++export default LandingLayout;diff --git a/app/(landing)/map/page.tsx b/app/(landing)/map/page.tsxindex e871b85..a551a1b 100644--- a/app/(landing)/map/page.tsx+++ b/app/(landing)/map/page.tsx@@ -23,7 +23,7 @@ const MapLandingPage: FC = () => {<h1 className="mb-8 scroll-m-20 pb-2 text-center text-2xl font-semibold tracking-tight first:mt-0 sm:text-3xl">Run DNS lookups across multiple regions</h1>- <div className="mx-auto max-w-4xl">+ <div className="mx-auto max-w-2xl"><SearchForm subpage="map" autofocus /></div></section>diff --git a/app/(landing)/page.tsx b/app/(landing)/page.tsxindex 52a015e..4ca0802 100644--- a/app/(landing)/page.tsx+++ b/app/(landing)/page.tsx@@ -24,7 +24,7 @@ const MainLandingPage: FC = () => {<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>- <div className="mx-auto max-w-4xl">+ <div className="mx-auto max-w-2xl"><SearchForm autofocus /></div></section>diff --git a/app/(landing)/subdomains/page.tsx b/app/(landing)/subdomains/page.tsxindex dc8a17f..29ddd16 100644--- a/app/(landing)/subdomains/page.tsx+++ b/app/(landing)/subdomains/page.tsx@@ -23,7 +23,7 @@ const SubdomainsLandingPage: FC = () => {<h1 className="mb-8 scroll-m-20 pb-2 text-center text-2xl font-semibold tracking-tight first:mt-0 sm:text-3xl">Find hidden subdomains for any domain</h1>- <div className="mx-auto max-w-4xl">+ <div className="mx-auto max-w-2xl"><SearchForm subpage="subdomains" autofocus /></div></section>diff --git a/app/(landing)/whois/page.tsx b/app/(landing)/whois/page.tsxindex 1ee546e..f50147c 100644--- a/app/(landing)/whois/page.tsx+++ b/app/(landing)/whois/page.tsx@@ -23,7 +23,7 @@ const WhoisLandingPage: FC = () => {<h1 className="mb-8 scroll-m-20 pb-2 text-center text-2xl font-semibold tracking-tight first:mt-0 sm:text-3xl">Find WHOIS information for any domain</h1>- <div className="mx-auto max-w-4xl">+ <div className="mx-auto max-w-2xl"><SearchForm subpage="whois" autofocus /></div></section>diff --git a/app/_components/feedback-prompt.tsx b/app/_components/feedback-prompt.tsxindex 0603186..dcd881e 100644--- a/app/_components/feedback-prompt.tsx+++ b/app/_components/feedback-prompt.tsx@@ -53,12 +53,12 @@ export const FeedbackPrompt: FC = () => {return (<>{visible && (- <div className="fixed bottom-6 right-6 max-w-[calc(100vw-3rem)]">+ <aside className="fixed bottom-6 right-6 max-w-[calc(100vw-3rem)]"><Alert className="relative p-8 shadow-lg"><XIconrole="button"onClick={handleDismiss}- className="absolute !left-[unset] !top-2 right-2 h-5 w-5 text-muted-foreground"+ className="absolute !left-[unset] !top-2 right-2 h-5 w-5 text-zinc-500 dark:text-zinc-400"/><p className="!pl-0 font-semibold">@@ -88,7 +88,7 @@ export const FeedbackPrompt: FC = () => {</span></div></Alert>- </div>+ </aside>)}<Dialog open={dialogOpen} onOpenChange={setDialogOpen}>diff --git a/app/_components/footer.tsx b/app/_components/footer.tsxindex 607d724..75f8db1 100644--- a/app/_components/footer.tsx+++ b/app/_components/footer.tsx@@ -26,7 +26,7 @@ const VercelBadge: FC<VercelBadgeProps> = ({ className, ...props }) => (export const Footer: FC = () => (<footer className="w-full p-4 md:px-8">- <div className="flex flex-col items-start gap-6 border-t pt-4">+ <div className="flex flex-col items-start gap-6 pt-4"><div className="flex w-full flex-col items-center justify-between gap-3 sm:flex-row"><Logo />diff --git a/app/_components/header.tsx b/app/_components/header.tsxindex d171271..bd374eb 100644--- a/app/_components/header.tsx+++ b/app/_components/header.tsx@@ -6,38 +6,52 @@ import { Button } from '@/components/ui/button';import { BookmarkletLink } from './bookmarklet-link';import { Logo } from './logo';+import { SearchForm } from './search-form';import { ThemeMenu } from './theme-menu';-export const Header: FC = () => (+type HeaderProps = {+ showSearch: boolean;+};++export const Header: FC<HeaderProps> = ({ showSearch }) => (<header className="w-full p-4 md:px-8">- <div className="flex items-center justify-between">- <Logo />+ <div className="flex items-center justify-between gap-4 md:gap-6">+ <div className="flex items-center justify-start gap-8">+ <Logo textClassName="hidden sm:inline" />+ <div className="hidden lg:block">+ <BookmarkletLink />+ </div>+ </div>- <div className="flex items-center justify-between gap-4">- <Button variant="ghost" asChild>+ {showSearch && (+ <div className="w-full max-w-lg">+ <SearchForm autofocus={false} />+ </div>+ )}++ <div className="flex items-center justify-end md:gap-2">+ <Button variant="ghost" asChild className="px-2"><ahref="https://github.com/sponsors/wotschofsky"target="_blank"rel="noopener"><HeartIcon className="mr-1 h-6 w-4 text-pink-600" />- <span>Sponsor</span>+ <span className="sr-only md:not-sr-only">Sponsor</span></a></Button>- <Button variant="ghost" asChild>+ <Button variant="ghost" asChild className="px-2"><ahref="https://github.com/wotschofsky/domain-digger"target="_blank"rel="noopener"><FaGithub className="mr-1 h-6 w-4" />- <span>Star</span>- <span className="sr-only">on GitHub</span>+ <span className="hidden md:inline">+ Star <span className="sr-only">on GitHub</span>+ </span></a></Button>- <div className="hidden sm:block">- <BookmarkletLink />- </div><ThemeMenu /></div></div>diff --git a/app/_components/logo.tsx b/app/_components/logo.tsxindex 600ee63..3a2933e 100644--- a/app/_components/logo.tsx+++ b/app/_components/logo.tsx@@ -3,11 +3,18 @@ import type { FC } from 'react';import LogoDark from '@/assets/logo-dark.svg';import LogoLight from '@/assets/logo-light.svg';+import { cn } from '@/lib/utils';-export const Logo: FC = () => (+type LogoProps = {+ textClassName?: string;+};++export const Logo: FC<LogoProps> = ({ textClassName }) => (<Link className="flex items-center gap-2" href="/" aria-label="Home Page">- <LogoDark className="inline h-6 dark:hidden" />- <LogoLight className="hidden h-6 dark:inline" />- Domain Digger+ <LogoDark className="inline h-6 flex-shrink-0 dark:hidden" />+ <LogoLight className="hidden h-6 flex-shrink-0 dark:inline" />+ <span className={cn('whitespace-nowrap', textClassName)}>+ Domain Digger+ </span></Link>);diff --git a/app/_components/search-form.tsx b/app/_components/search-form.tsxindex 38c9c51..b2021f9 100644--- a/app/_components/search-form.tsx+++ b/app/_components/search-form.tsx@@ -1,9 +1,9 @@'use client';-import { useDebounce } from '@uidotdev/usehooks';-import { Loader2Icon, SearchIcon } from 'lucide-react';+import { useDebounce, useMeasure } from '@uidotdev/usehooks';+import { SearchIcon } from 'lucide-react';import { usePlausible } from 'next-plausible';-import { usePathname, useRouter } from 'next/navigation';+import { useParams, usePathname, useRouter } from 'next/navigation';import { toASCII } from 'punycode';import {type ChangeEventHandler,@@ -18,7 +18,7 @@ import {import { useHotkeys } from 'react-hotkeys-hook';import useSWRImmutable from 'swr/immutable';-import { Button } from '@/components/ui/button';+import { Card } from '@/components/ui/card';import { Input } from '@/components/ui/input';import { ClientOnly } from '@/components/client-only';@@ -113,7 +113,6 @@ enum FormStates {}type SearchFormProps = {- initialValue?: string;autofocus?: boolean;subpage?: string;};@@ -126,12 +125,21 @@ export const SearchForm: FC<SearchFormProps> = (props) => {const router = useRouter();const pathname = usePathname();- const [domain, setDomain] = useState(props.initialValue ?? '');+ const { domain: initialValue } = useParams<{ domain: string }>();+ const [domain, setDomain] = useState(initialValue ?? '');++ useEffect(() => {+ if (initialValue) {+ setDomain(initialValue);+ }+ }, [initialValue]);+const [state, setState] = useState<FormStates>(FormStates.Initial);const [isInvalid, setInvalid] = useState(false);const [suggestionsVisible, setSuggestionsVisible] = useState(false);const [ipDetailsOpen, setIpDetailsOpen] = useState(false);+ const [measureRef, { width: inputWidth }] = useMeasure<HTMLFormElement>();const inputRef = useRef<HTMLInputElement>(null);useHotkeys(isAppleDevice() ? 'meta+k' : 'ctrl+k',@@ -289,65 +297,73 @@ export const SearchForm: FC<SearchFormProps> = (props) => {return (<>- <form className="flex gap-3" onSubmit={handleSubmit}>- <div className="group relative flex-[3]">- {domain === props.initialValue ? (- // eslint-disable-next-line @next/next/no-img-element- <img- className="pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2"- src={`https://www.google.com/s2/favicons?sz=64&domain_url=${encodeURIComponent(props.initialValue)}`}- alt=""- />- ) : (- <SearchIcon className="pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />- )}-- <Input- ref={inputRef}- name="domain"- className={cn('w-full pl-9', {- 'focus-visible:ring-destructive [&:not(:focus-visible)]:border-destructive':- isInvalid,- })}- type="text"- required- autoComplete="off"- placeholder="Search any domain, URL, email or IP"- aria-label="Domain"- value={domain}- onInput={handleInput}- onKeyDown={handleKeyDown}- onFocus={handleFocus}- onClick={handleFocus}- onBlur={() => {- setTimeout(() => {- setSuggestionsVisible(false);- }, 100);- }}- disabled={state !== FormStates.Initial}- autoFocus={props.autofocus}+ <form ref={measureRef} className="relative" onSubmit={handleSubmit}>+ {domain === initialValue ? (+ // eslint-disable-next-line @next/next/no-img-element+ <img+ className="pointer-events-none absolute left-3 top-1/2 z-10 h-4 w-4 -translate-y-1/2"+ src={`https://www.google.com/s2/favicons?sz=64&domain_url=${encodeURIComponent(initialValue)}`}+ alt=""/>-- <ClientOnly>- <kbd className="pointer-events-none absolute right-3 top-1/2 hidden h-5 -translate-y-1/2 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex">- {isAppleDevice() ? (- <>- <span className="text-xs">⌘</span>K- </>- ) : (- 'ctrl+k'- )}- </kbd>- </ClientOnly>-- {suggestionsVisible && suggestions && suggestions.length > 0 && (- <ul className="absolute left-0 top-full w-full rounded-xl border bg-card p-1 text-card-foreground shadow">+ ) : (+ <SearchIcon className="pointer-events-none absolute left-3 top-1/2 z-10 h-4 w-4 -translate-y-1/2 text-zinc-500 dark:text-zinc-400" />+ )}++ <Input+ ref={inputRef}+ name="domain"+ className={cn('w-full !pl-9', {+ 'focus-visible:ring-destructive [&:not(:focus-visible)]:border-destructive':+ isInvalid,+ })}+ type="text"+ required+ autoComplete="off"+ placeholder={+ (inputWidth || Infinity) >= 300+ ? 'Search any domain, URL, email or IP'+ : 'Search'+ }+ aria-label="Domain"+ enterKeyHint="go"+ value={domain}+ onInput={handleInput}+ onKeyDown={handleKeyDown}+ onFocus={handleFocus}+ onClick={handleFocus}+ onBlur={() => {+ setTimeout(() => {+ setSuggestionsVisible(false);+ }, 100);+ }}+ disabled={state !== FormStates.Initial}+ autoFocus={props.autofocus}+ />++ <ClientOnly>+ <kbd className="pointer-events-none absolute right-3 top-1/2 hidden h-5 -translate-y-1/2 select-none items-center gap-1 rounded border border-zinc-200 bg-zinc-100 px-1.5 font-mono text-[10px] font-medium opacity-100 dark:border-zinc-700 dark:bg-zinc-800 sm:flex">+ {isAppleDevice() ? (+ <>+ <span className="text-xs">⌘</span>K+ </>+ ) : (+ 'ctrl+k'+ )}+ </kbd>+ </ClientOnly>++ {suggestionsVisible && suggestions && suggestions.length > 0 && (+ <Card className="absolute left-0 top-full z-10 h-min p-1">+ <ul>{suggestions.map((value, index) => (<likey={value}className={cn(- 'flex cursor-pointer items-center rounded-lg px-2 py-1 text-sm hover:bg-muted/50',- { 'bg-muted/50': selectedSuggestion === index },+ 'flex cursor-pointer items-center rounded-lg px-2 py-1 text-sm hover:bg-black/5 dark:hover:bg-white/10',+ {+ 'bg-black/5 dark:bg-white/10':+ selectedSuggestion === index,+ },)}onClick={() => handleSelectSuggestion(value)}>@@ -361,18 +377,8 @@ export const SearchForm: FC<SearchFormProps> = (props) => {</li>))}</ul>- )}- </div>- <Button- className="flex-[1]"- type="submit"- disabled={state !== FormStates.Initial}- >- {state === FormStates.Submitting && (- <Loader2Icon className="mr-2 h-4 w-4 animate-spin" />- )}- Lookup- </Button>+ </Card>+ )}</form><IpDetailsModaldiff --git a/app/_components/theme-menu.tsx b/app/_components/theme-menu.tsxindex c241a69..6f0c541 100644--- a/app/_components/theme-menu.tsx+++ b/app/_components/theme-menu.tsx@@ -19,8 +19,8 @@ export const ThemeMenu: FC = () => {<DropdownMenu><DropdownMenuTrigger asChild><Button variant="ghost" size="sm" className="w-9 px-0">- <SunMediumIcon className="rotate-0 scale-100 dark:-rotate-90 dark:scale-0" />- <MoonIcon className="absolute rotate-90 scale-0 dark:rotate-0 dark:scale-100" />+ <SunMediumIcon className="absolute block h-4 w-4 dark:hidden" />+ <MoonIcon className="absolute hidden h-4 w-4 dark:block" /><span className="sr-only">Toggle theme</span></Button></DropdownMenuTrigger>diff --git a/app/error.tsx b/app/error.tsxindex f9fd18b..849ad59 100644--- a/app/error.tsx+++ b/app/error.tsx@@ -15,7 +15,7 @@ const GlobalError: FC<GlobalErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went VERY wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/globals.css b/app/globals.cssindex 8abdb15..19e60be 100644--- a/app/globals.css+++ b/app/globals.css@@ -70,7 +70,4 @@* {@apply border-border;}- body {- @apply bg-background text-foreground;- }}diff --git a/app/layout.tsx b/app/layout.tsxindex 71bfa36..ea17da9 100644--- a/app/layout.tsx+++ b/app/layout.tsx@@ -8,8 +8,6 @@ import { Toaster } from '@/components/ui/sonner';import { ClientOnly } from '@/components/client-only';import { env } from '@/env';-import { Footer } from './_components/footer';-import { Header } from './_components/header';import './globals.css';import { Providers } from './providers';@@ -50,20 +48,16 @@ type RootLayoutProps = {const RootLayout: FC<RootLayoutProps> = ({ children }) => {return (<html lang="en" suppressHydrationWarning>- <body>+ <body className="bg-zinc-100 text-zinc-950 antialiased dark:bg-zinc-950 dark:text-white"><Providers><div className="flex min-h-screen flex-col items-center justify-center">- <Header />-- <main className="w-full flex-1 pb-16 pt-8">{children}</main>- <ClientOnly>- <FeedbackPrompt />- </ClientOnly>-- <Footer />+ {children}</div></Providers>+ <ClientOnly>+ <FeedbackPrompt />+ </ClientOnly><Toaster /><SpeedInsights /></body>diff --git a/app/lookup/[domain]/(dns)/_components/dns-table.tsx b/app/lookup/[domain]/(dns)/_components/dns-table.tsxindex a5d0400..4b12d38 100644--- a/app/lookup/[domain]/(dns)/_components/dns-table.tsx+++ b/app/lookup/[domain]/(dns)/_components/dns-table.tsx@@ -46,7 +46,7 @@ export const DnsTable: FC<DnsTableProps> = ({ records, subvalues }) => (</h2><CollapsibleTriggerclassName={cn(- 'text-sm text-muted-foreground underline decoration-dotted underline-offset-4',+ 'text-sm text-zinc-500 underline decoration-dotted underline-offset-4 dark:text-zinc-400','plausible-event-name=Trace:+Click',`plausible-event-domain=${sortedRecords[0].name}`,`plausible-event-type=${recordType}`,diff --git a/app/lookup/[domain]/(dns)/_components/location-selector.tsx b/app/lookup/[domain]/(dns)/_components/location-selector.tsxindex 84769b4..ed12d5e 100644--- a/app/lookup/[domain]/(dns)/_components/location-selector.tsx+++ b/app/lookup/[domain]/(dns)/_components/location-selector.tsx@@ -52,7 +52,7 @@ export const LocationSelector: FC<LocationSelectorProps> = ({return (<Label className="flex flex-col gap-1">- <span className="text-sm text-muted-foreground">Location</span>+ <span className="text-sm text-zinc-500 dark:text-zinc-400">Location</span><SelectdefaultValue={initialValue || 'auto'}diff --git a/app/lookup/[domain]/(dns)/_components/record-subvalues.tsx b/app/lookup/[domain]/(dns)/_components/record-subvalues.tsxindex 5c6df14..108cb9e 100644--- a/app/lookup/[domain]/(dns)/_components/record-subvalues.tsx+++ b/app/lookup/[domain]/(dns)/_components/record-subvalues.tsx@@ -7,7 +7,7 @@ type RecordSubvaluesProps = {};export const RecordSubvalues: FC<RecordSubvaluesProps> = ({ subvalues }) => (- <span className="mt-1 block break-words text-xs text-muted-foreground">+ <span className="mt-1 block break-words text-xs text-zinc-500 dark:text-zinc-400">{subvalues.map((s, i) => (<>{i > 0 && ' / '}diff --git a/app/lookup/[domain]/(dns)/_components/resolver-selector.tsx b/app/lookup/[domain]/(dns)/_components/resolver-selector.tsxindex abff473..6872147 100644--- a/app/lookup/[domain]/(dns)/_components/resolver-selector.tsx+++ b/app/lookup/[domain]/(dns)/_components/resolver-selector.tsx@@ -48,7 +48,7 @@ export const ResolverSelector: FC<ResolverSelectorProps> = ({return (<Label className="flex flex-col gap-1">- <span className="text-sm text-muted-foreground">Resolver</span>+ <span className="text-sm text-zinc-500 dark:text-zinc-400">Resolver</span><SelectdefaultValue={initialValue || 'authoritative'}diff --git a/app/lookup/[domain]/(dns)/page.tsx b/app/lookup/[domain]/(dns)/page.tsxindex f9062d7..e081ad0 100644--- a/app/lookup/[domain]/(dns)/page.tsx+++ b/app/lookup/[domain]/(dns)/page.tsx@@ -81,7 +81,7 @@ const LookupDomain: FC<LookupDomainProps> = async ({{hasResults ? (<DnsTable records={records} subvalues={subvalues} />) : (- <p className="mt-24 text-center text-muted-foreground">+ <p className="mt-24 text-center text-zinc-500 dark:text-zinc-400">No DNS records found!</p>)}diff --git a/app/lookup/[domain]/_components/ip-details-modal.tsx b/app/lookup/[domain]/_components/ip-details-modal.tsxindex 7462af5..18774a0 100644--- a/app/lookup/[domain]/_components/ip-details-modal.tsx+++ b/app/lookup/[domain]/_components/ip-details-modal.tsx@@ -9,14 +9,12 @@ import useSWRImmutable from 'swr/immutable';import {Dialog,DialogContent,- DialogDescription,DialogHeader,DialogTitle,} from '@/components/ui/dialog';import {Drawer,DrawerContent,- DrawerDescription,DrawerHeader,DrawerTitle,} from '@/components/ui/drawer';@@ -159,8 +157,8 @@ export const IpDetailsModal: FC<IpDetailsModalProps> = ({<DrawerContent><DrawerHeader><DrawerTitle>{title}</DrawerTitle>- <DrawerDescription>{content}</DrawerDescription></DrawerHeader>+ {content}</DrawerContent></Drawer>);@@ -171,8 +169,8 @@ export const IpDetailsModal: FC<IpDetailsModalProps> = ({<DialogContent><DialogHeader><DialogTitle>{title}</DialogTitle>- <DialogDescription>{content}</DialogDescription></DialogHeader>+ {content}</DialogContent></Dialog>);diff --git a/app/lookup/[domain]/_components/related-domains.tsx b/app/lookup/[domain]/_components/related-domains.tsxindex f4fa6db..60c7555 100644--- a/app/lookup/[domain]/_components/related-domains.tsx+++ b/app/lookup/[domain]/_components/related-domains.tsx@@ -38,7 +38,7 @@ export const RelatedDomains: FC<RelatedDomainsProps> = ({const domains = getRecommendations(original);return (- <div className="my-4 flex flex-wrap gap-4">+ <div className="flex flex-wrap gap-4">{domains.map((domain) => (<Buttonkey={domain}diff --git a/app/lookup/[domain]/_components/results-tabs.tsx b/app/lookup/[domain]/_components/results-tabs.tsxindex 684fd5b..b5682f3 100644--- a/app/lookup/[domain]/_components/results-tabs.tsx+++ b/app/lookup/[domain]/_components/results-tabs.tsx@@ -28,13 +28,13 @@ const SingleTab: FC<SingleTabProps> = ({className={selected? 'relative inline-block w-max rounded-t-lg border-b-2 border-primary p-4 text-primary'- : 'relative inline-block w-max rounded-t-lg border-b-2 border-transparent p-4 hover:border-gray-300 hover:text-gray-600 dark:hover:text-gray-300'+ : 'relative inline-block w-max rounded-t-lg border-b-2 border-transparent p-4 hover:border-zinc-300 hover:text-zinc-600 dark:hover:text-zinc-300'}>{label}<ClientOnly><span- className="pointer-events-none absolute bottom-0 left-1/2 hidden w-full -translate-x-1/2 translate-y-4 text-xs text-muted-foreground opacity-0 transition-all group-hover:translate-y-6 group-hover:opacity-100 sm:block"+ className="pointer-events-none absolute bottom-0 left-1/2 hidden w-full -translate-x-1/2 translate-y-4 text-xs text-zinc-500 opacity-0 transition-all group-hover:translate-y-6 group-hover:opacity-100 dark:text-zinc-400 sm:block"aria-hidden>{isAppleDevice() ? (@@ -68,7 +68,7 @@ export const ResultsTabs: FC<ResultsTabsProps> = ({ domain }) => {]);return (- <div className="group mb-6 mt-6 border-b border-gray-200 text-center text-sm font-medium text-gray-500 dark:border-gray-700 dark:text-gray-400">+ <div className="group mb-6 border-b border-zinc-950/10 text-center text-sm font-medium text-zinc-500"><ul className="-mb-px flex flex-wrap"><SingleTablabel="DNS"diff --git a/app/lookup/[domain]/_components/whois-quick-info.tsx b/app/lookup/[domain]/_components/whois-quick-info.tsxindex 58c501b..03f9a31 100644--- a/app/lookup/[domain]/_components/whois-quick-info.tsx+++ b/app/lookup/[domain]/_components/whois-quick-info.tsx@@ -25,11 +25,13 @@ const WhoisQuickInfoTile: FC<WhoisQuickInfoTileProps> = ({value,}) => (<div>- <h3 className="text-xs text-muted-foreground">{title}</h3>+ <h3 className="text-xs/6 font-medium text-zinc-500 dark:text-zinc-400">+ {title}+ </h3>{loading ? (<Skeleton className="mt-1 h-4 w-24 rounded-sm" />) : (- <p className="text-sm">{value}</p>+ <p className="text-sm font-medium">{value}</p>)}</div>);@@ -45,7 +47,7 @@ export const WhoisQuickInfo: FC<WhoisQuickInfoProps> = ({ domain }) => {if (isLoading || !data) {return (- <div className="my-8 flex flex-wrap gap-8">+ <div className="flex flex-wrap gap-8"><WhoisQuickInfoTile title="Registrar" loading /><WhoisQuickInfoTile title="Creation Date" loading /><WhoisQuickInfoTile title="DNSSEC" loading />@@ -55,14 +57,14 @@ export const WhoisQuickInfo: FC<WhoisQuickInfoProps> = ({ domain }) => {if (!data.registered) {return (- <div className="my-8 flex flex-wrap gap-8">+ <div className="flex flex-wrap gap-8"><WhoisQuickInfoTile title="Status" value="Not registered" /></div>);}return (- <div className="my-8 flex flex-wrap gap-8">+ <div className="flex flex-wrap gap-8"><WhoisQuickInfoTiletitle="Registrar"value={data?.registrar || 'Unavailable'}diff --git a/app/lookup/[domain]/certs/error.tsx b/app/lookup/[domain]/certs/error.tsxindex cc4025d..c3caef9 100644--- a/app/lookup/[domain]/certs/error.tsx+++ b/app/lookup/[domain]/certs/error.tsx@@ -15,7 +15,7 @@ const CertsError: FC<CertsErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/lookup/[domain]/certs/page.tsx b/app/lookup/[domain]/certs/page.tsxindex 968fff3..35bd97d 100644--- a/app/lookup/[domain]/certs/page.tsx+++ b/app/lookup/[domain]/certs/page.tsx@@ -40,7 +40,7 @@ const CertsResultsPage: FC<CertsResultsPageProps> = async (props) => {if (!certs.length) {return (- <p className="mt-8 text-center text-muted-foreground">+ <p className="mt-8 text-center text-zinc-500 dark:text-zinc-400">No issued certificates found!</p>);@@ -50,7 +50,7 @@ const CertsResultsPage: FC<CertsResultsPageProps> = async (props) => {<><CertsTable certs={certs} />- <p className="mt-8 text-center text-muted-foreground">+ <p className="mt-8 text-center text-zinc-500 dark:text-zinc-400">Found {certs.length} certificates.</p></>diff --git a/app/lookup/[domain]/error.tsx b/app/lookup/[domain]/error.tsxindex 518ec0b..b6b56f1 100644--- a/app/lookup/[domain]/error.tsx+++ b/app/lookup/[domain]/error.tsx@@ -15,7 +15,7 @@ const DomainError: FC<DomainErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/lookup/[domain]/layout.tsx b/app/lookup/[domain]/layout.tsxindex 0daf03e..f5ecf15 100644--- a/app/lookup/[domain]/layout.tsx+++ b/app/lookup/[domain]/layout.tsx@@ -5,11 +5,14 @@ import { headers } from 'next/headers';import { notFound } from 'next/navigation';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 { SearchForm } from '../../_components/search-form';import { RelatedDomains } from './_components/related-domains';import { ResultsTabs } from './_components/results-tabs';import { ShareButton } from './_components/share-button';@@ -57,38 +60,46 @@ const LookupLayout: FC<LookupLayoutProps> = async (props) => {return (<>- <div className="container mb-12 max-w-2xl">- <SearchForm initialValue={domain} autofocus={false} />- </div>-- <div className="container">- <div className="flex w-full items-center gap-4">- {/* Bottom padding added to avoid clipping */}- <h1 className="mb-2 flex-1 overflow-hidden break-words pb-1">- <span className="block text-muted-foreground">Results for</span>- {isWildcardDomain(domain) ? (- <span className="block text-4xl font-bold">{domain}</span>- ) : (- <a- className="block text-4xl font-bold"- href={`https://${domain}`}- target="_blank"- rel="noreferrer nofollow"- >- {domain} <ExternalLinkIcon className="inline-block" />- </a>- )}- </h1>-- <ShareButton />+ <Header showSearch={true} />+ <main className="w-full flex-1">+ <div className="container space-y-6 pb-8 pt-12">+ <div className="flex w-full items-center gap-4">+ {/* Bottom padding added to avoid clipping */}+ <h1 className="mb-2 flex-1 overflow-hidden break-words pb-1">+ <span className="block text-zinc-500 dark:text-zinc-400">+ Results for+ </span>+ {isWildcardDomain(domain) ? (+ <span className="block text-4xl font-bold">{domain}</span>+ ) : (+ <a+ className="block text-4xl font-bold"+ href={`https://${domain}`}+ target="_blank"+ rel="noreferrer nofollow"+ >+ {domain} <ExternalLinkIcon className="inline-block" />+ </a>+ )}+ </h1>++ <ShareButton />+ </div>++ <RelatedDomains domain={domain} />+ <WhoisQuickInfo domain={domain} /></div>- <RelatedDomains domain={domain} />- <WhoisQuickInfo domain={domain} />- <ResultsTabs domain={domain} />-- {children}- </div>+ <div className="p-3">+ <Card className="pb-12">+ <div className="container">+ <ResultsTabs domain={domain} />+ {children}+ </div>+ </Card>+ </div>+ </main>+ <Footer /></>);};diff --git a/app/lookup/[domain]/map/_components/results-globe.tsx b/app/lookup/[domain]/map/_components/results-globe.tsxindex 96566d5..14c477a 100644--- a/app/lookup/[domain]/map/_components/results-globe.tsx+++ b/app/lookup/[domain]/map/_components/results-globe.tsx@@ -24,10 +24,12 @@ const createMarkerResults = (results: string[]) => {return h('div',- shownResults.map((value) => h('p.text-xs.text-muted-foreground', value)),+ shownResults.map((value) =>+ h('p.text-xs.text-zinc-500.dark:text-zinc-400', value),+ ),isTruncated? h(- 'p.text-xs.text-muted-foreground.italic',+ 'p.text-xs.text-zinc-500.dark:text-zinc-400.italic',`and ${results.length - 4} more`,): undefined,@@ -48,7 +50,7 @@ const createMarker = ('div.marker-wrapper',h(- 'div.flex.flex-col.gap-2.rounded-lg.bg-background.p-2.shadow-md',+ 'div.flex.flex-col.gap-2.rounded-lg.border.border-zinc-200.bg-white.p-2.text-zinc-900.shadow-md.dark:border-zinc-800.dark:bg-zinc-900.dark:text-zinc-100',h('h3.text-sm.font-bold', label),@@ -59,11 +61,14 @@ const createMarker = (results.A.length === 0 &&results.AAAA.length === 0 &&results.CNAME.length === 0- ? h('p.text-xs.text-muted-foreground.italic', 'No records found!')+ ? h(+ 'p.text-xs.text-zinc-500.dark:text-zinc-400.italic',+ 'No records found!',+ ): undefined,h(- 'p.text-xs.text-muted-foreground.italic',+ 'p.text-xs.text-zinc-500.dark:text-zinc-400.italic',h('a.underline.decoration-dotted',{@@ -127,11 +132,12 @@ export const ResultsGlobe: FC<ResultsGlobeProps> = ({ domain, markers }) => {return (<div ref={wrapperRef} className={cn(styles.wrapper, 'w-full')}><Globe- // Map from https://github.com/vasturiano/three-globe+ atmosphereColor="#d4d4d8" // Zinc 300+ // Map based on https://commons.wikimedia.org/wiki/File:BlankMap-Equirectangular.svgglobeImageUrl={resolvedTheme === 'dark'- ? '/assets/earth-night.jpg'- : '/assets/earth-day.jpg'+ ? '/assets/map-dark.png' // Zinc 800 / 600+ : '/assets/map-light.png' // Zinc 50 / 300}backgroundColor="rgba(0,0,0,0)"width={width}diff --git a/app/lookup/[domain]/map/error.tsx b/app/lookup/[domain]/map/error.tsxindex 3c87903..5f3e061 100644--- a/app/lookup/[domain]/map/error.tsx+++ b/app/lookup/[domain]/map/error.tsx@@ -15,7 +15,7 @@ const MapError: FC<MapErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/lookup/[domain]/subdomains/error.tsx b/app/lookup/[domain]/subdomains/error.tsxindex c0967b5..db7f08a 100644--- a/app/lookup/[domain]/subdomains/error.tsx+++ b/app/lookup/[domain]/subdomains/error.tsx@@ -15,7 +15,7 @@ const SubdomainsError: FC<SubdomainsErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/lookup/[domain]/subdomains/page.tsx b/app/lookup/[domain]/subdomains/page.tsxindex 68a2faa..b4abb7c 100644--- a/app/lookup/[domain]/subdomains/page.tsx+++ b/app/lookup/[domain]/subdomains/page.tsx@@ -67,7 +67,7 @@ const SubdomainsResultsPage: FC<SubdomainsResultsPageProps> = async ({if (!results.length) {return (- <p className="mt-8 text-center text-muted-foreground">+ <p className="mt-8 text-center text-zinc-500 dark:text-zinc-400">Could not find any subdomains for this domain.</p>);@@ -101,7 +101,7 @@ const SubdomainsResultsPage: FC<SubdomainsResultsPageProps> = async ({detailedResultsLimit={detailedResultsLimit}/>- <p className="mt-8 text-center text-muted-foreground">+ <p className="mt-8 text-center text-zinc-500 dark:text-zinc-400">Found {results.length} subdomains.{detailsReduced &&` Detailed results limited to ${detailedResultsLimit} subdomains. Some entries may lack information.`}diff --git a/app/lookup/[domain]/whois/error.tsx b/app/lookup/[domain]/whois/error.tsxindex 9341dd7..727cd27 100644--- a/app/lookup/[domain]/whois/error.tsx+++ b/app/lookup/[domain]/whois/error.tsx@@ -15,7 +15,7 @@ const WhoisError: FC<WhoisErrorProps> = ({ error }) => {return (<div className="mt-12 flex flex-col items-center gap-2"><h2>Something went wrong!</h2>- <p className="mt-2 text-center text-sm text-muted-foreground">+ <p className="mt-2 text-center text-sm text-zinc-500 dark:text-zinc-400">Digest: {error.digest}</p></div>diff --git a/app/lookup/[domain]/whois/page.tsx b/app/lookup/[domain]/whois/page.tsxindex 2328a8a..e066f13 100644--- a/app/lookup/[domain]/whois/page.tsx+++ b/app/lookup/[domain]/whois/page.tsx@@ -53,10 +53,10 @@ const WhoisResultsPage: FC<WhoisResultsPageProps> = async ({{baseDomain !== domain &&(force !== undefined ? (<>- <p className="mt-8 text-muted-foreground">+ <p className="mt-8 text-zinc-500 dark:text-zinc-400">Forcing lookup for {domain}</p>- <p className="text-muted-foreground">+ <p className="text-zinc-500 dark:text-zinc-400">Lookup{' '}<LinkclassName="underline decoration-dotted underline-offset-4"@@ -68,10 +68,10 @@ const WhoisResultsPage: FC<WhoisResultsPageProps> = async ({</>) : (<>- <p className="mt-8 text-muted-foreground">+ <p className="mt-8 text-zinc-500 dark:text-zinc-400">Showing results for {baseDomain}</p>- <p className="text-muted-foreground">+ <p className="text-zinc-500 dark:text-zinc-400">Force lookup for{' '}<LinkclassName="underline decoration-dotted underline-offset-4"diff --git a/app/not-found.tsx b/app/not-found.tsxindex ca757f7..bd030fb 100644--- a/app/not-found.tsx+++ b/app/not-found.tsx@@ -1,14 +1,17 @@import type { FC } from 'react';+import { Logo } from './_components/logo';import { SearchForm } from './_components/search-form';const GlobalNotFound: FC = () => (- <div className="container mt-12 flex flex-col items-center gap-2">+ <div className="container mt-12 flex flex-col items-center"><h2 className="text-xl font-bold">Page not found</h2>- <div className="mt-16 w-full max-w-2xl">+ <div className="mb-24 mt-12 w-full max-w-2xl"><SearchForm autofocus /></div>++ <Logo /></div>);diff --git a/components/ui/alert-dialog.tsx b/components/ui/alert-dialog.tsxindex 46886c3..f1189ae 100644--- a/components/ui/alert-dialog.tsx+++ b/components/ui/alert-dialog.tsx@@ -22,14 +22,14 @@ AlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName;const AlertDialogOverlay = React.forwardRef<React.ElementRef<typeof AlertDialogPrimitive.Overlay>,React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>->(({ className, children, ...props }, ref) => (+>(({ className, ...props }, ref) => (<AlertDialogPrimitive.Overlay+ ref={ref}className={cn(- 'fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-zinc-950/25 py-16 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',className,)}{...props}- ref={ref}/>));AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;@@ -39,15 +39,16 @@ const AlertDialogContent = React.forwardRef<React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>>(({ className, ...props }, ref) => (<AlertDialogPortal>- <AlertDialogOverlay />- <AlertDialogPrimitive.Content- ref={ref}- className={cn(- 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full',- className,- )}- {...props}- />+ <AlertDialogOverlay>+ <AlertDialogPrimitive.Content+ ref={ref}+ className={cn(+ 'relative z-50 grid w-full max-w-lg gap-4 rounded-t-3xl bg-white p-8 shadow-lg ring-1 ring-zinc-950/10 transition duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 dark:bg-zinc-900 dark:ring-white/10 sm:rounded-2xl',+ className,+ )}+ {...props}+ ></AlertDialogPrimitive.Content>+ </AlertDialogOverlay></AlertDialogPortal>));AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;@@ -72,7 +73,7 @@ const AlertDialogFooter = ({}: React.HTMLAttributes<HTMLDivElement>) => (<divclassName={cn(- 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',+ 'mt-2 flex flex-col-reverse items-center justify-end gap-3 *:w-full sm:flex-row sm:*:w-auto',className,)}{...props}@@ -86,7 +87,10 @@ const AlertDialogTitle = React.forwardRef<>(({ className, ...props }, ref) => (<AlertDialogPrimitive.Titleref={ref}- className={cn('text-lg font-semibold', className)}+ className={cn(+ 'text-balance text-lg/6 font-semibold text-zinc-950 dark:text-white sm:text-base/6',+ className,+ )}{...props}/>));@@ -98,7 +102,10 @@ const AlertDialogDescription = React.forwardRef<>(({ className, ...props }, ref) => (<AlertDialogPrimitive.Descriptionref={ref}- className={cn('text-sm text-muted-foreground', className)}+ className={cn(+ 'mt-2 text-pretty text-sm text-zinc-500 dark:text-zinc-400',+ className,+ )}{...props}/>));diff --git a/components/ui/alert.tsx b/components/ui/alert.tsxindex b248662..0718b0b 100644--- a/components/ui/alert.tsx+++ b/components/ui/alert.tsx@@ -8,9 +8,10 @@ const alertVariants = cva({variants: {variant: {- default: 'bg-background text-foreground',+ default:+ 'border-zinc-950/10 dark:border-white/10 bg-white/50 text-zinc-950 dark:bg-white/5 dark:text-white',destructive:- 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',+ 'border-red-500/50 bg-red-50 text-red-700 dark:border-red-500/50 dark:bg-red-900/50 dark:text-red-200 [&>svg]:text-red-500',},},defaultVariants: {diff --git a/components/ui/button.tsx b/components/ui/button.tsxindex 579e91d..4a6e2b5 100644--- a/components/ui/button.tsx+++ b/components/ui/button.tsx@@ -5,18 +5,76 @@ import { cva, type VariantProps } from 'class-variance-authority';import { cn } from '@/lib/utils';const buttonVariants = cva(- 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',+ [+ // Base+ 'relative isolate inline-flex items-center justify-center gap-x-1 rounded-lg border text-base/6 font-semibold',+ // Sizing+ 'px-[calc(theme(spacing[3.5])-1px)] py-[calc(theme(spacing[2.5])-1px)] sm:px-[calc(theme(spacing.3)-1px)] sm:py-[calc(theme(spacing[1.5])-1px)] sm:text-sm/6',+ // Focus+ 'focus:outline-none data-[focus]:outline data-[focus]:outline-2 data-[focus]:outline-offset-2 data-[focus]:outline-blue-500',+ // Disabled+ 'data-[disabled]:opacity-50',+ // Icon+ '[&>[data-slot=icon]]:-mx-0.5 [&>[data-slot=icon]]:my-0.5 [&>[data-slot=icon]]:size-5 [&>[data-slot=icon]]:shrink-0 [&>[data-slot=icon]]:text-[--btn-icon] [&>[data-slot=icon]]:sm:my-1 [&>[data-slot=icon]]:sm:size-4 forced-colors:[--btn-icon:ButtonText] forced-colors:data-[hover]:[--btn-icon:ButtonText]',+ ],{variants: {variant: {- default: 'bg-primary text-primary-foreground hover:bg-primary/90',- destructive:- 'bg-destructive text-destructive-foreground hover:bg-destructive/90',- outline:- 'border border-input hover:bg-accent hover:text-accent-foreground',- secondary:- 'bg-secondary text-secondary-foreground hover:bg-secondary/80',- ghost: 'hover:bg-accent hover:text-accent-foreground',+ default: [+ ...[+ 'text-white [--btn-bg:theme(colors.zinc.900)] [--btn-border:theme(colors.zinc.950/90%)] [--btn-hover-overlay:theme(colors.white/10%)]',+ 'dark:text-white dark:[--btn-bg:theme(colors.zinc.600)] dark:[--btn-hover-overlay:theme(colors.white/5%)]',+ '[--btn-icon:theme(colors.zinc.400)] data-[active]:[--btn-icon:theme(colors.zinc.300)] data-[hover]:[--btn-icon:theme(colors.zinc.300)]',+ ],++ // Optical border, implemented as the button background to avoid corner artifacts+ 'border-transparent bg-[--btn-border]',+ // Dark mode: border is rendered on `after` so background is set to button background+ 'dark:bg-[--btn-bg]',+ // Button background, implemented as foreground layer to stack on top of pseudo-border layer+ 'before:absolute before:inset-0 before:-z-10 before:rounded-[calc(theme(borderRadius.lg)-1px)] before:bg-[--btn-bg]',+ // Drop shadow, applied to the inset `before` layer so it blends with the border+ 'before:shadow',+ // Background color is moved to control and shadow is removed in dark mode so hide `before` pseudo+ 'dark:before:hidden',+ // Dark mode: Subtle white outline is applied using a border+ 'dark:border-white/5',+ // Shim/overlay, inset to match button foreground and used for hover state + highlight shadow+ 'after:absolute after:inset-0 after:-z-10 after:rounded-[calc(theme(borderRadius.lg)-1px)]',+ // Inner highlight shadow+ 'after:shadow-[shadow:inset_0_1px_theme(colors.white/15%)]',+ // White overlay on hover+ 'after:data-[active]:bg-[--btn-hover-overlay] after:data-[hover]:bg-[--btn-hover-overlay]',+ // Dark mode: `after` layer expands to cover entire button+ 'dark:after:-inset-px dark:after:rounded-lg',+ // Disabled+ 'before:data-[disabled]:shadow-none after:data-[disabled]:shadow-none',+ ],+ destructive: [+ 'text-white [--btn-hover-overlay:theme(colors.white/10%)] [--btn-bg:theme(colors.red.600)] [--btn-border:theme(colors.red.700/90%)]',+ '[--btn-icon:theme(colors.red.300)] data-[active]:[--btn-icon:theme(colors.red.200)] data-[hover]:[--btn-icon:theme(colors.red.200)]',+ ],+ outline: [+ // Base+ 'border-zinc-950/10 text-zinc-950 data-[active]:bg-zinc-950/[2.5%] data-[hover]:bg-zinc-950/[2.5%]',+ // Dark mode+ 'dark:border-white/15 dark:text-white dark:[--btn-bg:transparent] dark:data-[active]:bg-white/5 dark:data-[hover]:bg-white/5',+ // Icon+ '[--btn-icon:theme(colors.zinc.500)] data-[active]:[--btn-icon:theme(colors.zinc.700)] data-[hover]:[--btn-icon:theme(colors.zinc.700)] dark:data-[active]:[--btn-icon:theme(colors.zinc.400)] dark:data-[hover]:[--btn-icon:theme(colors.zinc.400)]',+ ],+ secondary: [+ 'text-zinc-950 [--btn-bg:white] [--btn-border:theme(colors.zinc.950/10%)] [--btn-hover-overlay:theme(colors.zinc.950/2.5%)] data-[active]:[--btn-border:theme(colors.zinc.950/15%)] data-[hover]:[--btn-border:theme(colors.zinc.950/15%)]',+ 'dark:text-white dark:[--btn-hover-overlay:theme(colors.white/5%)] dark:[--btn-bg:theme(colors.zinc.800)]',+ '[--btn-icon:theme(colors.zinc.500)] data-[active]:[--btn-icon:theme(colors.zinc.700)] data-[hover]:[--btn-icon:theme(colors.zinc.700)] dark:[--btn-icon:theme(colors.zinc.500)] dark:data-[active]:[--btn-icon:theme(colors.zinc.400)] dark:data-[hover]:[--btn-icon:theme(colors.zinc.400)]',+ ],+ ghost: [+ // Base+ 'border-transparent text-zinc-950 data-[active]:bg-zinc-950/5 data-[hover]:bg-zinc-950/5',+ // Dark mode+ 'dark:text-white dark:data-[active]:bg-white/10 dark:data-[hover]:bg-white/10',+ // Icon+ '[--btn-icon:theme(colors.zinc.500)] data-[active]:[--btn-icon:theme(colors.zinc.700)] data-[hover]:[--btn-icon:theme(colors.zinc.700)] dark:[--btn-icon:theme(colors.zinc.500)] dark:data-[active]:[--btn-icon:theme(colors.zinc.400)] dark:data-[hover]:[--btn-icon:theme(colors.zinc.400)]',+ ],link: 'underline-offset-4 hover:underline text-primary',},size: {diff --git a/components/ui/card.tsx b/components/ui/card.tsxindex 3028066..15fbc13 100644--- a/components/ui/card.tsx+++ b/components/ui/card.tsx@@ -9,7 +9,7 @@ const Card = React.forwardRef<<divref={ref}className={cn(- 'rounded-lg border bg-card text-card-foreground shadow-sm',+ 'relative h-full w-full rounded-xl bg-white shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:bg-zinc-900 dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset] forced-colors:outline',className,)}{...props}@@ -17,70 +17,4 @@ const Card = React.forwardRef<));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,-};+export { Card };diff --git a/components/ui/dialog.tsx b/components/ui/dialog.tsxindex 376b5fa..eff0dfe 100644--- a/components/ui/dialog.tsx+++ b/components/ui/dialog.tsx@@ -25,7 +25,7 @@ const DialogOverlay = React.forwardRef<<DialogPrimitive.Overlayref={ref}className={cn(- 'fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/30 py-16 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-zinc-950/25 py-16 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',className,)}{...props}@@ -42,13 +42,13 @@ const DialogContent = React.forwardRef<<DialogPrimitive.Contentref={ref}className={cn(- 'relative z-50 grid w-full max-w-lg gap-4 bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg md:w-full',+ 'relative z-50 grid w-full max-w-lg gap-4 rounded-t-3xl bg-white p-8 shadow-lg ring-1 ring-zinc-950/10 transition duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 dark:bg-zinc-900 dark:ring-white/10 sm:rounded-2xl',className,)}{...props}>{children}- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none"><X className="h-4 w-4" /><span className="sr-only">Close</span></DialogPrimitive.Close>@@ -64,7 +64,7 @@ const DialogHeader = ({}: React.HTMLAttributes<HTMLDivElement>) => (<divclassName={cn(- 'flex flex-col space-y-1.5 text-center sm:text-left',+ 'text-balance text-lg/6 font-semibold text-zinc-950 dark:text-white sm:text-base/6',className,)}{...props}@@ -78,7 +78,7 @@ const DialogFooter = ({}: React.HTMLAttributes<HTMLDivElement>) => (<divclassName={cn(- 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',+ 'mt-2 flex flex-col-reverse items-center justify-end gap-3 *:w-full sm:flex-row sm:*:w-auto',className,)}{...props}@@ -93,7 +93,7 @@ const DialogTitle = React.forwardRef<<DialogPrimitive.Titleref={ref}className={cn(- 'text-lg font-semibold leading-none tracking-tight',+ 'text-balance text-lg/6 font-semibold text-zinc-950 dark:text-white sm:text-base/6',className,)}{...props}@@ -107,7 +107,10 @@ const DialogDescription = React.forwardRef<>(({ className, ...props }, ref) => (<DialogPrimitive.Descriptionref={ref}- className={cn('text-sm text-muted-foreground', className)}+ className={cn(+ 'mt-2 text-pretty text-sm text-zinc-500 dark:text-zinc-400',+ className,+ )}{...props}/>));diff --git a/components/ui/drawer.tsx b/components/ui/drawer.tsxindex d3f978b..248a792 100644--- a/components/ui/drawer.tsx+++ b/components/ui/drawer.tsx@@ -98,7 +98,7 @@ const DrawerDescription = React.forwardRef<>(({ className, ...props }, ref) => (<DrawerPrimitive.Descriptionref={ref}- className={cn('text-sm text-muted-foreground', className)}+ className={cn('text-sm text-zinc-500 dark:text-zinc-400', className)}{...props}/>));diff --git a/components/ui/dropdown-menu.tsx b/components/ui/dropdown-menu.tsxindex d96a92b..d4c2b94 100644--- a/components/ui/dropdown-menu.tsx+++ b/components/ui/dropdown-menu.tsx@@ -27,7 +27,8 @@ const DropdownMenuSubTrigger = React.forwardRef<<DropdownMenuPrimitive.SubTriggerref={ref}className={cn(- 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent',+ 'relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pl-2 pr-2 text-sm text-zinc-950 outline-none hover:bg-black/5 dark:text-white dark:hover:bg-white/10',+ 'focus:bg-black/5 dark:focus:bg-white/10',inset && 'pl-8',className,)}@@ -47,7 +48,8 @@ const DropdownMenuSubContent = React.forwardRef<<DropdownMenuPrimitive.SubContentref={ref}className={cn(- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1',+ 'relative z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-white p-1 shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:bg-zinc-900 dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset]',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',className,)}{...props}@@ -65,7 +67,8 @@ const DropdownMenuContent = React.forwardRef<ref={ref}sideOffset={sideOffset}className={cn(- 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ 'relative z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-white p-1 shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:bg-zinc-900 dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset]',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',className,)}{...props}@@ -83,7 +86,9 @@ const DropdownMenuItem = React.forwardRef<<DropdownMenuPrimitive.Itemref={ref}className={cn(- 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pl-2 pr-2 text-sm text-zinc-950 outline-none hover:bg-black/5 dark:text-white dark:hover:bg-white/10',+ 'focus:bg-black/5 dark:focus:bg-white/10',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',inset && 'pl-8',className,)}@@ -99,7 +104,9 @@ const DropdownMenuCheckboxItem = React.forwardRef<<DropdownMenuPrimitive.CheckboxItemref={ref}className={cn(- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm text-zinc-950 outline-none hover:bg-black/5 dark:text-white dark:hover:bg-white/10',+ 'focus:bg-black/5 dark:focus:bg-white/10',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',className,)}checked={checked}@@ -123,7 +130,9 @@ const DropdownMenuRadioItem = React.forwardRef<<DropdownMenuPrimitive.RadioItemref={ref}className={cn(- 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm text-zinc-950 outline-none hover:bg-black/5 dark:text-white dark:hover:bg-white/10',+ 'focus:bg-black/5 dark:focus:bg-white/10',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',className,)}{...props}@@ -147,7 +156,7 @@ const DropdownMenuLabel = React.forwardRef<<DropdownMenuPrimitive.Labelref={ref}className={cn(- 'px-2 py-1.5 text-sm font-semibold',+ 'py-1.5 pl-2 pr-2 text-sm font-semibold text-zinc-950 dark:text-white',inset && 'pl-8',className,)}@@ -162,7 +171,7 @@ const DropdownMenuSeparator = React.forwardRef<>(({ className, ...props }, ref) => (<DropdownMenuPrimitive.Separatorref={ref}- className={cn('-mx-1 my-1 h-px bg-muted', className)}+ className={cn('-mx-1 my-1 h-px bg-zinc-950/10 dark:bg-white/10', className)}{...props}/>));diff --git a/components/ui/input.tsx b/components/ui/input.tsxindex bf58030..fc7ced3 100644--- a/components/ui/input.tsx+++ b/components/ui/input.tsx@@ -7,19 +7,65 @@ export interface InputPropsconst Input = React.forwardRef<HTMLInputElement, InputProps>(({ className, type, ...props }, ref) => {+ const dateTypes = ['date', 'datetime-local', 'month', 'time', 'week'];+ const isDateType = type && dateTypes.includes(type);+return (- <input- type={type}- className={cn(- 'flex h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',- className,- )}- ref={ref}- {...props}- />+ <span+ data-slot="control"+ className={cn([+ 'relative block w-full',+ 'before:absolute before:inset-px before:rounded-[calc(theme(borderRadius.lg)-1px)] before:bg-white before:shadow',+ 'dark:before:hidden',+ 'after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-inset after:ring-transparent sm:after:focus-within:ring-2 sm:after:focus-within:ring-blue-500',+ 'has-[[data-disabled]]:opacity-50 before:has-[[data-disabled]]:bg-zinc-950/5 before:has-[[data-disabled]]:shadow-none',+ 'before:has-[[data-invalid]]:shadow-red-500/10',+ ])}+ >+ <input+ type={type}+ className={cn([+ // Date-specific styles+ isDateType && [+ '[&::-webkit-datetime-edit-fields-wrapper]:p-0',+ '[&::-webkit-date-and-time-value]:min-h-[1.5em]',+ '[&::-webkit-datetime-edit]:inline-flex',+ '[&::-webkit-datetime-edit]:p-0',+ '[&::-webkit-datetime-edit-year-field]:p-0',+ '[&::-webkit-datetime-edit-month-field]:p-0',+ '[&::-webkit-datetime-edit-day-field]:p-0',+ '[&::-webkit-datetime-edit-hour-field]:p-0',+ '[&::-webkit-datetime-edit-minute-field]:p-0',+ '[&::-webkit-datetime-edit-second-field]:p-0',+ '[&::-webkit-datetime-edit-millisecond-field]:p-0',+ '[&::-webkit-datetime-edit-meridiem-field]:p-0',+ ],+ // Basic layout+ 'relative block w-full appearance-none rounded-lg px-3 py-1.5',+ // Typography+ 'text-sm/6 text-zinc-950 placeholder:text-zinc-500 dark:text-white',+ // Border+ 'border border-zinc-950/10 data-[hover]:border-zinc-950/20 dark:border-white/10 dark:data-[hover]:border-white/20',+ // Background color+ 'bg-transparent dark:bg-white/5',+ // Hide default focus styles+ 'focus:outline-none',+ // Invalid state+ 'data-[invalid]:border-red-500 data-[invalid]:data-[hover]:border-red-500 data-[invalid]:dark:border-red-500 data-[invalid]:data-[hover]:dark:border-red-500',+ // Disabled state+ 'data-[disabled]:border-zinc-950/20 dark:data-[hover]:data-[disabled]:border-white/15 data-[disabled]:dark:border-white/15 data-[disabled]:dark:bg-white/[2.5%]',+ // System icons+ 'dark:[color-scheme:dark]',+ className,+ ])}+ ref={ref}+ {...props}+ />+ </span>);},);+Input.displayName = 'Input';export { Input };diff --git a/components/ui/select.tsx b/components/ui/select.tsxindex f33eabd..23a3d48 100644--- a/components/ui/select.tsx+++ b/components/ui/select.tsx@@ -16,19 +16,37 @@ const SelectTrigger = React.forwardRef<React.ElementRef<typeof SelectPrimitive.Trigger>,React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>>(({ className, children, ...props }, ref) => (- <SelectPrimitive.Trigger- ref={ref}- className={cn(- 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',- className,- )}- {...props}+ <span+ data-slot="control"+ className={cn([+ 'relative block w-full',+ 'before:absolute before:inset-px before:rounded-[calc(theme(borderRadius.lg)-1px)] before:bg-white before:shadow',+ 'dark:before:hidden',+ 'after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-inset after:ring-transparent sm:after:focus-within:ring-2 sm:after:focus-within:ring-blue-500',+ 'has-[[data-disabled]]:opacity-50 before:has-[[data-disabled]]:bg-zinc-950/5 before:has-[[data-disabled]]:shadow-none',+ ])}>- {children}- <SelectPrimitive.Icon asChild>- <ChevronDown className="h-4 w-4 opacity-50" />- </SelectPrimitive.Icon>- </SelectPrimitive.Trigger>+ <SelectPrimitive.Trigger+ ref={ref}+ className={cn(+ 'relative block w-full appearance-none rounded-lg px-3 py-1.5',+ 'text-sm/6 text-zinc-950 placeholder:text-zinc-500 dark:text-white',+ 'border border-zinc-950/10 data-[hover]:border-zinc-950/20 dark:border-white/10 dark:data-[hover]:border-white/20',+ 'bg-transparent dark:bg-white/5',+ 'focus:outline-none',+ 'data-[disabled]:border-zinc-950/20 dark:data-[hover]:data-[disabled]:border-white/15 data-[disabled]:dark:border-white/15 data-[disabled]:dark:bg-white/[2.5%]',+ 'dark:[color-scheme:dark]',+ 'flex items-center justify-between [&>span]:line-clamp-1',+ className,+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <ChevronDown className="h-4 w-4 opacity-50" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+ </span>));SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;@@ -44,7 +62,7 @@ const SelectScrollUpButton = React.forwardRef<)}{...props}>- <ChevronUp className="h-4 w-4" />+ <ChevronUp className="h-4 w-4 opacity-50" /></SelectPrimitive.ScrollUpButton>));SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;@@ -61,7 +79,7 @@ const SelectScrollDownButton = React.forwardRef<)}{...props}>- <ChevronDown className="h-4 w-4" />+ <ChevronDown className="h-4 w-4 opacity-50" /></SelectPrimitive.ScrollDownButton>));SelectScrollDownButton.displayName =@@ -75,7 +93,8 @@ const SelectContent = React.forwardRef<<SelectPrimitive.Contentref={ref}className={cn(- 'relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ 'relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-xl border-none bg-white p-1 shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:bg-zinc-900 dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset]',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',position === 'popper' &&'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',className,@@ -105,7 +124,10 @@ const SelectLabel = React.forwardRef<>(({ className, ...props }, ref) => (<SelectPrimitive.Labelref={ref}- className={cn('py-1.5 pl-8 pr-2 text-sm font-semibold', className)}+ className={cn(+ 'py-1.5 pl-2 pr-2 text-sm font-semibold text-zinc-950 dark:text-white',+ className,+ )}{...props}/>));@@ -118,7 +140,9 @@ const SelectItem = React.forwardRef<<SelectPrimitive.Itemref={ref}className={cn(- 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm text-zinc-950 outline-none hover:bg-black/5 dark:text-white dark:hover:bg-white/10',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ 'focus:bg-black/5 dark:focus:bg-white/10',className,)}{...props}@@ -140,7 +164,7 @@ const SelectSeparator = React.forwardRef<>(({ className, ...props }, ref) => (<SelectPrimitive.Separatorref={ref}- className={cn('-mx-1 my-1 h-px bg-muted', className)}+ className={cn('-mx-1 my-1 h-px bg-zinc-950/10 dark:bg-white/10', className)}{...props}/>));diff --git a/components/ui/skeleton.tsx b/components/ui/skeleton.tsxindex a626d9b..5d7264d 100644--- a/components/ui/skeleton.tsx+++ b/components/ui/skeleton.tsx@@ -6,7 +6,10 @@ function Skeleton({}: React.HTMLAttributes<HTMLDivElement>) {return (<div- className={cn('animate-pulse rounded-md bg-muted', className)}+ className={cn(+ 'animate-pulse rounded-md bg-zinc-200 dark:bg-zinc-800',+ className,+ )}{...props}/>);diff --git a/components/ui/sonner.tsx b/components/ui/sonner.tsxindex b38ad1e..49b40d5 100644--- a/components/ui/sonner.tsx+++ b/components/ui/sonner.tsx@@ -16,11 +16,11 @@ const Toaster = ({ ...props }: ToasterProps) => {classNames: {toast:'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',- description: 'group-[.toast]:text-muted-foreground',+ description: 'group-[.toast]:text-zinc-500 dark:text-zinc-400',actionButton:'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',cancelButton:- 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',+ 'group-[.toast]:bg-muted group-[.toast]:text-zinc-500 dark:text-zinc-400',},}}{...props}diff --git a/components/ui/table.tsx b/components/ui/table.tsxindex 7eba462..74feef4 100644--- a/components/ui/table.tsx+++ b/components/ui/table.tsx@@ -6,12 +6,19 @@ const Table = React.forwardRef<HTMLTableElement,React.HTMLAttributes<HTMLTableElement>>(({ className, ...props }, ref) => (- <div className="w-full overflow-auto">- <table- ref={ref}- className={cn('w-full caption-bottom text-sm', className)}- {...props}- />+ <div className="flow-root">+ <div className="overflow-x-auto whitespace-nowrap">+ <div className="inline-block min-w-full align-middle">+ <table+ ref={ref}+ className={cn(+ 'min-w-full text-left text-sm/6 text-zinc-950 dark:text-white',+ className,+ )}+ {...props}+ />+ </div>+ </div></div>));Table.displayName = 'Table';@@ -20,7 +27,11 @@ const TableHeader = React.forwardRef<HTMLTableSectionElement,React.HTMLAttributes<HTMLTableSectionElement>>(({ className, ...props }, ref) => (- <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />+ <thead+ ref={ref}+ className={cn('text-zinc-500 dark:text-zinc-400', className)}+ {...props}+ />));TableHeader.displayName = 'TableHeader';@@ -28,11 +39,7 @@ const TableBody = React.forwardRef<HTMLTableSectionElement,React.HTMLAttributes<HTMLTableSectionElement>>(({ className, ...props }, ref) => (- <tbody- ref={ref}- className={cn('[&_tr:last-child]:border-0', className)}- {...props}- />+ <tbody ref={ref} className={className} {...props} />));TableBody.displayName = 'TableBody';@@ -52,14 +59,7 @@ const TableRow = React.forwardRef<HTMLTableRowElement,React.HTMLAttributes<HTMLTableRowElement>>(({ className, ...props }, ref) => (- <tr- ref={ref}- className={cn(- 'border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted',- className,- )}- {...props}- />+ <tr ref={ref} className={cn(className)} {...props} />));TableRow.displayName = 'TableRow';@@ -70,7 +70,7 @@ const TableHead = React.forwardRef<<thref={ref}className={cn(- 'h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0',+ 'border-b border-b-zinc-950/10 px-4 py-2 font-medium first:pl-2 last:pr-2 dark:border-b-white/10',className,)}{...props}@@ -84,7 +84,10 @@ const TableCell = React.forwardRef<>(({ className, ...props }, ref) => (<tdref={ref}- className={cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', className)}+ className={cn(+ 'relative border-b border-zinc-950/5 px-4 py-4 first:pl-2 last:pr-2 dark:border-white/5',+ className,+ )}{...props}/>));@@ -96,7 +99,7 @@ const TableCaption = React.forwardRef<>(({ className, ...props }, ref) => (<captionref={ref}- className={cn('mt-4 text-sm text-muted-foreground', className)}+ className={cn('mt-4 text-sm text-zinc-500 dark:text-zinc-400', className)}{...props}/>));diff --git a/components/ui/tabs.tsx b/components/ui/tabs.tsxindex 1674e9a..6116412 100644--- a/components/ui/tabs.tsx+++ b/components/ui/tabs.tsx@@ -14,7 +14,7 @@ const TabsList = React.forwardRef<<TabsPrimitive.Listref={ref}className={cn(- 'inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground',+ 'inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-zinc-500 dark:text-zinc-400',className,)}{...props}diff --git a/next.config.js b/next.config.jsindex f42eda1..fe22edc 100644--- a/next.config.js+++ b/next.config.js@@ -1,6 +1,6 @@/** @type {import('next').NextConfig} */const nextConfig = {- reactStrictMode: true,+ reactStrictMode: false,webpack(config, { isServer }) {// Configures webpack to handle SVG files with SVGR. SVGR optimizes and transforms SVG files// into React components. See https://react-svgr.com/docs/next/diff --git a/public/assets/earth-day.jpg b/public/assets/earth-day.jpgdeleted file mode 100644index 92806e8..0000000Binary files a/public/assets/earth-day.jpg and /dev/null differdiff --git a/public/assets/earth-night.jpg b/public/assets/earth-night.jpgdeleted file mode 100644index 4d3700e..0000000Binary files a/public/assets/earth-night.jpg and /dev/null differdiff --git a/public/assets/globe.png b/public/assets/globe.pngindex fea3c46..3b32efe 100644Binary files a/public/assets/globe.png and b/public/assets/globe.png differdiff --git a/public/assets/map-dark.png b/public/assets/map-dark.pngnew file mode 100644index 0000000..2c235ddBinary files /dev/null and b/public/assets/map-dark.png differdiff --git a/public/assets/map-light.png b/public/assets/map-light.pngnew file mode 100644index 0000000..edb8d62Binary files /dev/null and b/public/assets/map-light.png differ