From 84f40ce3eb934da747689e7a8ec09a317b68ab44 Mon Sep 17 00:00:00 2001 From: notV4l Date: Wed, 20 Sep 2023 14:39:55 +0200 Subject: [PATCH] add siren icon --- web/src/components/Header.tsx | 10 +++++++++- web/src/components/icons/Siren.tsx | 17 +++++++++++++++++ web/src/components/icons/index.tsx | 1 + 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 web/src/components/icons/Siren.tsx diff --git a/web/src/components/Header.tsx b/web/src/components/Header.tsx index 8bace3aa5..2e6ff588f 100644 --- a/web/src/components/Header.tsx +++ b/web/src/components/Header.tsx @@ -1,4 +1,4 @@ -import { Clock, Gem, Bag, Arrow, Heart } from "./icons"; +import { Clock, Gem, Bag, Arrow, Heart, Siren } from "./icons"; import { Button, Divider, Flex, HStack, Text } from "@chakra-ui/react"; import { useEffect, useState } from "react"; import { IsMobile, generatePixelBorderPath } from "@/utils/ui"; @@ -92,6 +92,14 @@ const Header = ({ back }: HeaderProps) => { {playerEntity.health} + {/* + + 69% + */} diff --git a/web/src/components/icons/Siren.tsx b/web/src/components/icons/Siren.tsx new file mode 100644 index 000000000..8ed2709eb --- /dev/null +++ b/web/src/components/icons/Siren.tsx @@ -0,0 +1,17 @@ +import { Icon, IconProps } from "."; + +export const Siren = (props: IconProps) => { + return ( + + <> + + + + + + + + + + ); +}; diff --git a/web/src/components/icons/index.tsx b/web/src/components/icons/index.tsx index 896fce3de..7f3a893a9 100644 --- a/web/src/components/icons/index.tsx +++ b/web/src/components/icons/index.tsx @@ -46,6 +46,7 @@ export * from "./Close"; export * from "./ExternalLink"; export * from "./Heart"; export * from "./Skull"; +export * from "./Siren"; // Template for adding new icons. When copying svg from figma, viewBox is assumed // to be 36x36, otherwise override within individual icons.