[Update] Add crown emoji to supporter label.

Add tooltip that shows their supporting period.
Add icon rotate animation when hovered supporter's image.
This commit is contained in:
Sakamoto Shiina
2025-05-04 10:03:37 +09:00
parent 9118a54be7
commit af17e057e8
6 changed files with 53 additions and 8 deletions

View File

@@ -45,7 +45,9 @@ const Tab = (props) => {
const getLabel = () => {
if (props.tab_id === "vr") return "VR";
if (props.tab_id === "supporters") return "Supporters";
if (props.tab_id === "supporters") return (
<>Supporters<span className={styles.crown_emoji}>👑</span></>
);
if (props.tab_id === "about_vrct") return "About VRCT";
return t(`config_page.side_menu_labels.${props.tab_id}`);
};