From 6438aac4d04bb3e64822ea643a9277e20139cf48 Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Thu, 10 Apr 2025 15:58:02 +0000 Subject: [PATCH] Update navigation to combine domain and DNS record management. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/fce6d1ee-b3b4-4293-b556-0e75cd9c75c7.jpg --- client/src/App.tsx | 2 -- client/src/components/layouts/mobile-sidebar.tsx | 7 +------ client/src/components/layouts/sidebar.tsx | 7 +------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 1323f55..6cbec26 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -6,7 +6,6 @@ import NotFound from "@/pages/not-found"; import AuthPage from "@/pages/auth-page"; import DashboardPage from "@/pages/dashboard"; import DomainsPage from "@/pages/domains"; -import DnsRecordsPage from "@/pages/dns-records"; import MetricsPage from "@/pages/metrics"; import HistoryPage from "@/pages/history"; import ApiTokensPage from "@/pages/api-tokens"; @@ -30,7 +29,6 @@ function Router() { - diff --git a/client/src/components/layouts/mobile-sidebar.tsx b/client/src/components/layouts/mobile-sidebar.tsx index 3730b7c..2ee8c01 100644 --- a/client/src/components/layouts/mobile-sidebar.tsx +++ b/client/src/components/layouts/mobile-sidebar.tsx @@ -41,13 +41,8 @@ export function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) { icon: , }, { - title: "Domains", + title: "Domains & DNS", href: "/domains", - icon: , - }, - { - title: "DNS Records", - href: "/dns-records", icon: , }, { diff --git a/client/src/components/layouts/sidebar.tsx b/client/src/components/layouts/sidebar.tsx index 4dbbdc2..20c25e0 100644 --- a/client/src/components/layouts/sidebar.tsx +++ b/client/src/components/layouts/sidebar.tsx @@ -38,13 +38,8 @@ export function Sidebar() { icon: , }, { - title: "Domains", + title: "Domains & DNS", href: "/domains", - icon: , - }, - { - title: "DNS Records", - href: "/dns-records", icon: , }, {