Update FriendShip Ranks (#5) E ER

* Add files via upload

* Update index.tsx

* Update index.tsx

---------

Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
KrystalSkull💖 2024-06-13 22:20:45 -04:00 committed by GitHub
parent abcfd54a35
commit 12b33bf02f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 53 additions and 1 deletions

View file

@ -149,6 +149,52 @@ export function burningIcon(props) {
);
}
export function fighterIcon(props) {
return (
<svg width={props.width} height={props.height} viewBox="0 0 303 303" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="shape-gradient-Circle" gradientTransform="rotate(90)">
<stop offset="0%" stopColor="#5865F1" />
</linearGradient>
</defs>
<defs>
<mask id="#5865F1" fill="#5865F1">
<rect width="100%" height="100%" fill="white" />
<g opacity="100" style={{ transformOrigin: "center center" }}></g>
</mask>
</defs>
<g fill="url(#shape-gradient-Circle)">
<g mask="url(#mask-Circle)">
<circle
cx="151.5"
cy="151.5"
r="151.5"
stroke="#ffffff"
strokeLinejoin="round"
strokeWidth="0"
style={{ transform: "none", transformOrigin: "151.5px 151.5px" }}
/>
</g>
</g>
<defs>
<linearGradient id="icon-gradient-0" gradientTransform="rotate(0)">
<stop offset="0%" stopColor="#fff" />
</linearGradient>
</defs>
<g
fill="#FFFFFF"
stroke="#FFFFFF"
strokeLinejoin="round"
strokeWidth="0"
style={{ transformOrigin: "96.5248px 92.412px", transform: "translateX(66.5px) translateY(66.5px) scale(1) rotate(0deg)" }}
filter="false"
>
<path d="M151.218395,129.862561 L165.611531,144.255365 C171.568117,150.21195 171.397786,159.912151 165.4852,165.59074 C160.080013,170.782231 150.965952,171.755436 144.65961,165.723468 L144.398488,165.468075 L130.006351,151.075938 C131.723806,149.78606 135.675389,145.995174 139.718914,141.950112 L140.41259,141.254603 C140.52822,141.138409 140.643825,141.022113 140.759354,140.905766 L141.451236,140.207503 C146.052465,135.553983 150.374073,130.987712 151.218395,129.862561 Z M18.7785354,129.863228 C19.5985325,130.955079 23.5491842,135.137801 27.8877853,139.54119 L28.5756517,140.237878 L29.2675667,140.935722 C33.5529302,145.248573 37.9328677,149.483799 39.8559539,150.971367 L39.9922459,151.075272 L25.5994423,165.468408 C19.7508555,171.316662 10.234652,171.315995 4.3867318,165.468742 C-1.37617485,159.705835 -1.46092347,150.383037 4.13216708,144.515746 L4.38639847,144.255365 L18.7785354,129.863228 Z M144.042826,95.1143686 C150.354928,104.657627 149.462358,117.689935 141.162766,126.273296 L140.863203,126.577939 L126.721062,140.719746 C118.189221,149.251587 105.168681,150.258954 95.5914039,144.121936 L95.254825,143.902369 L144.042826,95.1143686 Z M25.9521042,95.111702 L74.7397717,143.900036 C65.1965137,150.211809 52.1638793,149.319235 43.5808332,141.019643 L43.2762011,140.72008 L29.1343941,126.577939 C20.5021785,117.945724 19.5725246,104.718571 25.9521042,95.111702 Z M169.85414,0.000333328784 L166.249189,39.1491324 L68.8075193,123.82531 L46.0291635,101.046954 L130.705675,3.60561746 L169.85414,0.000333328784 Z M118.079847,94.256047 L123.968433,101.046621 L101.190077,123.82531 L101.18751,123.823049 L101.17826,123.815 L101.175348,123.812465 L101.177,123.814 L101.168,123.806 L101.165273,123.803718 L101.158,123.797 L101.163,123.802 L101.157967,123.797338 L101.141609,123.7831 L101.132,123.775 L101.142,123.783 L101.124028,123.767812 L101.129833,123.772824 L101.11531,123.760209 L101.112,123.757 L101.107,123.753 C101.103688,123.750093 101.100841,123.747616 101.098052,123.745188 L101.093104,123.740891 L101.082,123.731 L101.091537,123.739484 L101.092,123.74 L101.089879,123.738074 L101.081,123.73 L101.071,123.722 L101.063116,123.71478 C101.059722,123.711826 101.056973,123.709433 101.055032,123.707745 C101.052754,123.705764 101.053449,123.706369 101.054429,123.707222 L101.042201,123.696532 C100.563905,123.280137 98.7297509,121.683433 92.6291942,116.372745 C95.4329612,113.935805 115.417139,96.5696344 117.998634,94.3266109 L118.079847,94.256047 Z M0.143456376,0 L39.2922554,3.60528413 L78.3750554,48.5796703 L50.9360965,80.1545728 L3.74874051,39.1487991 L0.143456376,0 Z" viewBox="0 0 170 170"></path>
</g>
</svg>
);
}
export function starIcon(props) {
return (
<svg width={props.width} height={props.height} viewBox="0 0 303 303" fill="none" xmlns="http://www.w3.org/2000/svg">

View file

@ -12,7 +12,7 @@ import { Modals, ModalSize, openModal } from "@utils/modal";
import definePlugin from "@utils/types";
import { Button, Flex, Forms, RelationshipStore } from "@webpack/common";
import { bestiesIcon, bloomingIcon, burningIcon, royalIcon, sproutIcon, starIcon } from "./icons";
import { bestiesIcon, bloomingIcon, burningIcon, fighterIcon, royalIcon, sproutIcon, starIcon } from "./icons";
interface rankInfo {
title: string;
@ -52,6 +52,12 @@ const ranks: rankInfo[] =
requirement: 90,
assetSVG: burningIcon
},
{
title: "Fighter",
description: "Your friendship is strong (6 Months)",
requirement: 182.5,
assetSVG: fighterIcon
},
{
title: "Star",
description: "Your friendship has been going on for a WHILE (1 Year)",