Skip to content

Commit 80660fc

Browse files
committed
Adds custom logs icon
1 parent 33a9e1b commit 80660fc

3 files changed

Lines changed: 73 additions & 5 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
export function LogsIcon({ className }: { className?: string }) {
2+
return (
3+
<svg className={className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4+
<circle cx="4" cy="10" r="1" fill="currentColor" />
5+
<circle cx="4" cy="5" r="1" fill="currentColor" />
6+
<circle cx="4" cy="14" r="1" fill="currentColor" />
7+
<circle cx="4" cy="19" r="1" fill="currentColor" />
8+
<path
9+
d="M7 9.75L10 9.75"
10+
stroke="currentColor"
11+
stroke-width="2"
12+
stroke-linecap="round"
13+
stroke-linejoin="round"
14+
/>
15+
<path
16+
d="M7 5L10 5"
17+
stroke="currentColor"
18+
stroke-width="2"
19+
stroke-linecap="round"
20+
stroke-linejoin="round"
21+
/>
22+
<path
23+
d="M7 14.25H10"
24+
stroke="currentColor"
25+
stroke-width="2"
26+
stroke-linecap="round"
27+
stroke-linejoin="round"
28+
/>
29+
<path
30+
d="M7 19H10"
31+
stroke="currentColor"
32+
stroke-width="2"
33+
stroke-linecap="round"
34+
stroke-linejoin="round"
35+
/>
36+
<path
37+
d="M13 5H20"
38+
stroke="currentColor"
39+
stroke-width="2"
40+
stroke-linecap="round"
41+
stroke-linejoin="round"
42+
/>
43+
<path
44+
d="M13 9.75H20"
45+
stroke="currentColor"
46+
stroke-width="2"
47+
stroke-linecap="round"
48+
stroke-linejoin="round"
49+
/>
50+
<path
51+
d="M13 14.25H20"
52+
stroke="currentColor"
53+
stroke-width="2"
54+
stroke-linecap="round"
55+
stroke-linejoin="round"
56+
/>
57+
<path
58+
d="M13 19H20"
59+
stroke="currentColor"
60+
stroke-width="2"
61+
stroke-linecap="round"
62+
stroke-linejoin="round"
63+
/>
64+
</svg>
65+
);
66+
}

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
ClockIcon,
99
Cog8ToothIcon,
1010
CogIcon,
11-
DocumentTextIcon,
1211
FolderIcon,
1312
FolderOpenIcon,
1413
GlobeAmericasIcon,
@@ -24,9 +23,10 @@ import {
2423
import { Link, useNavigation } from "@remix-run/react";
2524
import { useEffect, useRef, useState, type ReactNode } from "react";
2625
import simplur from "simplur";
27-
import { BranchEnvironmentIconSmall } from "~/assets/icons/EnvironmentIcons";
2826
import { ConcurrencyIcon } from "~/assets/icons/ConcurrencyIcon";
27+
import { BranchEnvironmentIconSmall } from "~/assets/icons/EnvironmentIcons";
2928
import { ListCheckedIcon } from "~/assets/icons/ListCheckedIcon";
29+
import { LogsIcon } from "~/assets/icons/LogsIcon";
3030
import { RunsIconExtraSmall } from "~/assets/icons/RunsIcon";
3131
import { TaskIconSmall } from "~/assets/icons/TaskIcon";
3232
import { WaitpointTokenIcon } from "~/assets/icons/WaitpointTokenIcon";
@@ -57,10 +57,10 @@ import {
5757
v3BatchesPath,
5858
v3BillingPath,
5959
v3BulkActionsPath,
60-
v3LogsPath,
6160
v3DeploymentsPath,
6261
v3EnvironmentPath,
6362
v3EnvironmentVariablesPath,
63+
v3LogsPath,
6464
v3ProjectAlertsPath,
6565
v3ProjectPath,
6666
v3ProjectSettingsPath,
@@ -264,8 +264,8 @@ export function SideMenu({
264264
/>
265265
<SideMenuItem
266266
name="Logs"
267-
icon={DocumentTextIcon}
268-
activeIconColor="text-deployments"
267+
icon={LogsIcon}
268+
activeIconColor="text-logs"
269269
to={v3LogsPath(organization, project, environment)}
270270
data-action="logs"
271271
/>

apps/webapp/tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const batches = colors.pink[500];
160160
const schedules = colors.yellow[500];
161161
const queues = colors.purple[500];
162162
const deployments = colors.green[500];
163+
const logs = colors.blue[500];
163164
const tests = colors.lime[500];
164165
const apiKeys = colors.amber[500];
165166
const environmentVariables = colors.pink[500];
@@ -236,6 +237,7 @@ module.exports = {
236237
schedules,
237238
queues,
238239
deployments,
240+
logs,
239241
tests,
240242
apiKeys,
241243
environmentVariables,

0 commit comments

Comments
 (0)