Skip to content

Commit 3a0c55f

Browse files
update source for logo
1 parent efb4959 commit 3a0c55f

1 file changed

Lines changed: 20 additions & 13 deletions

File tree

editor/icons/home-logo.tsx

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,26 @@ export const HomeLogo = ({ size = 42 }: { size?: number }) => {
55
return (
66
<HomeLogo42 size={size}>
77
{/* TODO: replace asset */}
8-
<LogoShapeOnlyArtwork
9-
src="https://s3-us-west-2.amazonaws.com/figma-alpha-api/img/b255/41fd/5561b9a9e4b1fc7bffb16600f95b232a"
10-
alt="image of LogoShapeOnlyArtwork"
11-
></LogoShapeOnlyArtwork>
8+
<svg
9+
width={size}
10+
height={size}
11+
viewBox="0 0 42 42"
12+
fill="none"
13+
xmlns="http://www.w3.org/2000/svg"
14+
>
15+
<path
16+
fill-rule="evenodd"
17+
clip-rule="evenodd"
18+
d="M27.6584 13.8687L27.5796 28.2889L41.5271 41.9212V27.7373V27.5009L41.525 27.4989C41.3978 19.9495 35.2382 13.8687 27.6584 13.8687Z"
19+
fill="white"
20+
/>
21+
<path
22+
fill-rule="evenodd"
23+
clip-rule="evenodd"
24+
d="M26.02 7.17866C19.0948 7.95373 13.7111 13.8284 13.7111 20.9606V27.5797L13.9475 42L0 28.3677V13.8687V13.7899L0.000217973 13.7901C0.042516 6.16679 6.23543 0 13.8687 0C19.1022 0 23.6587 2.89894 26.02 7.17866Z"
25+
fill="white"
26+
/>
27+
</svg>
1228
</HomeLogo42>
1329
);
1430
};
@@ -20,12 +36,3 @@ const HomeLogo42 = styled.div<{ size: number }>`
2036
-webkit-user-drag: none;
2137
user-select: none;
2238
`;
23-
24-
const LogoShapeOnlyArtwork = styled.img`
25-
object-fit: cover;
26-
position: absolute;
27-
left: 0px;
28-
top: 0px;
29-
right: 0px;
30-
bottom: 0px;
31-
`;

0 commit comments

Comments
 (0)