Skip to content

Commit 5d62660

Browse files
dstalaDarkPhoenix2704
authored andcommitted
docs: icon
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
1 parent 90812c1 commit 5d62660

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

components/icons/Legal.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { SVGProps } from "react";
2+
import { Scale } from "lucide-react";
3+
4+
export default function LegalIcon({
5+
className,
6+
...props
7+
}: SVGProps<SVGSVGElement>) {
8+
return <Scale className={className} {...props} />;
9+
}

content/docs/legal-v2/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"cookie-policy",
1515
"trademark-guidelines"
1616
],
17-
"icon": "terminal"
17+
"icon": "legal"
1818
}

content/docs/meta.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"cloud-enterprise-edition",
2323
"engineering",
2424
"developer-resources",
25-
"FAQs",
26-
"legal-v2"
25+
"FAQs"
2726
]
2827
}

lib/iconMap.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Linkedin from '@/components/icons/Linkedin';
2828
import Extension from '@/components/icons/Extension';
2929
import Sparkle from '@/components/icons/Sparkle';
3030
import Chart from '@/components/icons/Chart';
31-
31+
import Legal from '@/components/icons/Legal';
3232

3333
const iconMap = {
3434
alertCircle: AlertCircle,
@@ -61,6 +61,7 @@ const iconMap = {
6161
extension: Extension,
6262
sparkle: Sparkle,
6363
chart: Chart,
64+
legal: Legal,
6465
} as const;
6566

6667
type IconNameType = keyof typeof iconMap;

0 commit comments

Comments
 (0)