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
This commit is contained in:
alphaeusmote
2025-04-10 15:58:02 +00:00
parent 318f5c2cd5
commit 6438aac4d0
3 changed files with 2 additions and 14 deletions
-2
View File
@@ -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() {
<ProtectedRoute path="/" component={DashboardPage} />
<ProtectedRoute path="/organizations" component={OrganizationsPage} />
<ProtectedRoute path="/domains" component={DomainsPage} />
<ProtectedRoute path="/dns-records" component={DnsRecordsPage} />
<ProtectedRoute path="/metrics" component={MetricsPage} />
<ProtectedRoute path="/history" component={HistoryPage} />
<ProtectedRoute path="/api-tokens" component={ApiTokensPage} />
@@ -41,13 +41,8 @@ export function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) {
icon: <Users className="w-5 h-5 mr-3" />,
},
{
title: "Domains",
title: "Domains & DNS",
href: "/domains",
icon: <Home className="w-5 h-5 mr-3" />,
},
{
title: "DNS Records",
href: "/dns-records",
icon: <Globe className="w-5 h-5 mr-3" />,
},
{
+1 -6
View File
@@ -38,13 +38,8 @@ export function Sidebar() {
icon: <Users className="w-5 h-5 mr-3" />,
},
{
title: "Domains",
title: "Domains & DNS",
href: "/domains",
icon: <Home className="w-5 h-5 mr-3" />,
},
{
title: "DNS Records",
href: "/dns-records",
icon: <Globe className="w-5 h-5 mr-3" />,
},
{