Web: Added a form room icon
This commit is contained in:
parent
41468fccd7
commit
9cf396fbf7
@ -27,6 +27,9 @@ const getRoomLogo = (roomType: number) => {
|
||||
case RoomsType.PublicRoom:
|
||||
path = "public.svg";
|
||||
break;
|
||||
case RoomsType.FormRoom:
|
||||
path = "form.svg";
|
||||
break;
|
||||
}
|
||||
|
||||
return iconSize32.get(path);
|
||||
|
@ -172,6 +172,7 @@ import PptxSvg32Url from "PUBLIC_DIR/images/icons/32/pptx.svg?url";
|
||||
import ArchiveSvg32Url from "PUBLIC_DIR/images/icons/32/room/archive.svg?url";
|
||||
import CustomSvg32Url from "PUBLIC_DIR/images/icons/32/room/custom.svg?url";
|
||||
import PublicSvg32Url from "PUBLIC_DIR/images/icons/32/room/public.svg?url";
|
||||
import FormSvg32Url from "PUBLIC_DIR/images/icons/32/room/form.svg?url";
|
||||
import EditingSvg32Url from "PUBLIC_DIR/images/icons/32/room/editing.svg?url";
|
||||
import FillingFormSvg32Url from "PUBLIC_DIR/images/icons/32/room/filling.form.svg?url";
|
||||
import ReviewSvg32Url from "PUBLIC_DIR/images/icons/32/room/review.svg?url";
|
||||
@ -425,6 +426,7 @@ export const iconSize32 = new Map([
|
||||
["custom.svg", CustomSvg32Url],
|
||||
["public.svg", PublicSvg32Url],
|
||||
["editing.svg", EditingSvg32Url],
|
||||
["form.svg", FormSvg32Url],
|
||||
["filling.form.svg", FillingFormSvg32Url],
|
||||
["review.svg", ReviewSvg32Url],
|
||||
["view.only.svg", ViewOnlySvg32Url],
|
||||
|
@ -10,6 +10,7 @@ import FillingFormSvg32Url from "PUBLIC_DIR/images/icons/32/room/filling.form.sv
|
||||
import ReviewSvg32Url from "PUBLIC_DIR/images/icons/32/room/review.svg?url";
|
||||
import ViewOnlySvg32Url from "PUBLIC_DIR/images/icons/32/room/view.only.svg?url";
|
||||
import PublicRoomSvg32Url from "PUBLIC_DIR/images/icons/32/room/public.svg?url";
|
||||
import FormRoomSvg32Url from "PUBLIC_DIR/images/icons/32/room/form.svg?url";
|
||||
|
||||
import { RoomsType } from "@docspace/common/constants";
|
||||
|
||||
@ -47,6 +48,8 @@ const RoomLogo = ({
|
||||
return CustomSvg32Url;
|
||||
case RoomsType.PublicRoom:
|
||||
return PublicRoomSvg32Url;
|
||||
case RoomsType.FormRoom:
|
||||
return FormRoomSvg32Url;
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
5
public/images/icons/32/room/form.svg
Normal file
5
public/images/icons/32/room/form.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 11C9 9.89543 9.89543 9 11 9H21C22.1046 9 23 9.89543 23 11V21C23 22.1046 22.1046 23 21 23H17V21H21V11L11 11V17H9V11ZM15 17H17H20V15H15V17ZM20 14H12V12H20V14ZM20 20H18V18H20V20Z" fill="#56A8F4"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.4142 19.2929L11.7071 20.5858V16H13.7071V20.5858L15 19.2929L16.4142 20.7071L13.4142 23.7071C13.2267 23.8946 12.9723 24 12.7071 24C12.4419 24 12.1875 23.8946 12 23.7071L9 20.7071L10.4142 19.2929Z" fill="#56A8F4"/>
|
||||
<rect x="1" y="1" width="30" height="30" rx="5" stroke="#56A8F4" stroke-width="2"/>
|
||||
</svg>
|
After Width: | Height: | Size: 698 B |
Loading…
Reference in New Issue
Block a user