mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-30 20:29:13 +00:00
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:
@@ -6,7 +6,6 @@ import NotFound from "@/pages/not-found";
|
|||||||
import AuthPage from "@/pages/auth-page";
|
import AuthPage from "@/pages/auth-page";
|
||||||
import DashboardPage from "@/pages/dashboard";
|
import DashboardPage from "@/pages/dashboard";
|
||||||
import DomainsPage from "@/pages/domains";
|
import DomainsPage from "@/pages/domains";
|
||||||
import DnsRecordsPage from "@/pages/dns-records";
|
|
||||||
import MetricsPage from "@/pages/metrics";
|
import MetricsPage from "@/pages/metrics";
|
||||||
import HistoryPage from "@/pages/history";
|
import HistoryPage from "@/pages/history";
|
||||||
import ApiTokensPage from "@/pages/api-tokens";
|
import ApiTokensPage from "@/pages/api-tokens";
|
||||||
@@ -30,7 +29,6 @@ function Router() {
|
|||||||
<ProtectedRoute path="/" component={DashboardPage} />
|
<ProtectedRoute path="/" component={DashboardPage} />
|
||||||
<ProtectedRoute path="/organizations" component={OrganizationsPage} />
|
<ProtectedRoute path="/organizations" component={OrganizationsPage} />
|
||||||
<ProtectedRoute path="/domains" component={DomainsPage} />
|
<ProtectedRoute path="/domains" component={DomainsPage} />
|
||||||
<ProtectedRoute path="/dns-records" component={DnsRecordsPage} />
|
|
||||||
<ProtectedRoute path="/metrics" component={MetricsPage} />
|
<ProtectedRoute path="/metrics" component={MetricsPage} />
|
||||||
<ProtectedRoute path="/history" component={HistoryPage} />
|
<ProtectedRoute path="/history" component={HistoryPage} />
|
||||||
<ProtectedRoute path="/api-tokens" component={ApiTokensPage} />
|
<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" />,
|
icon: <Users className="w-5 h-5 mr-3" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Domains",
|
title: "Domains & DNS",
|
||||||
href: "/domains",
|
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" />,
|
icon: <Globe className="w-5 h-5 mr-3" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -38,13 +38,8 @@ export function Sidebar() {
|
|||||||
icon: <Users className="w-5 h-5 mr-3" />,
|
icon: <Users className="w-5 h-5 mr-3" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Domains",
|
title: "Domains & DNS",
|
||||||
href: "/domains",
|
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" />,
|
icon: <Globe className="w-5 h-5 mr-3" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user