add some more icons

This commit is contained in:
Milo Schwartz
2024-11-16 12:18:22 -05:00
parent 3c7b2c03f8
commit 587bb758a2
6 changed files with 24 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
import { Metadata } from "next";
import { TopbarNav } from "./components/TopbarNav";
import { Cog, Combine, Users, Waypoints } from "lucide-react";
import { Cog, Combine, Settings, Users, Waypoints } from "lucide-react";
import Header from "./components/Header";
import { verifySession } from "@app/lib/auth/verifySession";
import { redirect } from "next/navigation";
@@ -37,7 +37,7 @@ const topNavItems = [
{
title: "General",
href: "/{orgId}/settings/general",
icon: <Cog className="h-5 w-5" />,
icon: <Settings className="h-5 w-5" />,
},
];

View File

@@ -48,7 +48,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
href={fullUrl}
target="_blank"
rel="noopener noreferrer"
className="text-sm font-mono flex-grow hover:underline"
className="text-sm font-mono flex-grow hover:underline truncate"
>
{fullUrl}
</a>

View File

@@ -6,7 +6,7 @@ import { redirect } from "next/navigation";
import { authCookieHeader } from "@app/api/cookies";
import { SidebarSettings } from "@app/components/SidebarSettings";
import Link from "next/link";
import { ArrowLeft } from "lucide-react";
import { ArrowLeft, Cloud, Settings, Shield } from "lucide-react";
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import { GetOrgResponse } from "@server/routers/org";
import OrgProvider from "@app/providers/OrgProvider";
@@ -60,14 +60,17 @@ export default async function ResourceLayout(props: ResourceLayoutProps) {
{
title: "General",
href: `/{orgId}/settings/resources/{resourceId}/general`,
icon: <Settings className="w-4 h-4" />,
},
{
title: "Connectivity",
href: `/{orgId}/settings/resources/{resourceId}/connectivity`,
icon: <Cloud className="w-4 h-4" />,
},
{
title: "Authentication",
href: `/{orgId}/settings/resources/{resourceId}/authentication`,
icon: <Shield className="w-4 h-4" />,
},
];