ui: raise in-game emoji button above the hand + gender = male/female/unknown
- GameTable reactions button (and its tray) moved up from the bottom-right so it no longer overlaps the player's cards on mobile portrait. - Gender options are now Male / Female / Unknown — removed "other" from the Gender type, GENDER_META, and the profile picker; the empty value renders as «نامشخص» / "Unknown". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -737,7 +737,7 @@ const en: Dict = {
|
||||
"profile.cardBack": "Card back",
|
||||
"profile.social": "Social & contact",
|
||||
"profile.gender": "Gender",
|
||||
"profile.genderNone": "Unspecified",
|
||||
"profile.genderNone": "Unknown",
|
||||
"profile.socialLinks": "Social media",
|
||||
"profile.socialsVisibility": "Show socials to",
|
||||
"profile.visPublic": "Everyone",
|
||||
|
||||
@@ -34,7 +34,7 @@ export interface PlayerStats {
|
||||
export type PlanId = "free" | "pro";
|
||||
|
||||
/** Player-stated gender (empty = unspecified / not shown). */
|
||||
export type Gender = "" | "male" | "female" | "other";
|
||||
export type Gender = "" | "male" | "female";
|
||||
|
||||
/** Who may see a player's social links. */
|
||||
export type SocialVisibility = "public" | "friends" | "hidden";
|
||||
|
||||
@@ -7,7 +7,6 @@ export const GENDER_META: Record<
|
||||
> = {
|
||||
male: { symbol: "♂", color: "#5aa6e0", faLabel: "آقا", enLabel: "Male" },
|
||||
female: { symbol: "♀", color: "#ff7aa8", faLabel: "خانم", enLabel: "Female" },
|
||||
other: { symbol: "⚧", color: "#c77dff", faLabel: "دیگر", enLabel: "Other" },
|
||||
};
|
||||
|
||||
/** The social platforms a player can share, with link prefixes + brand colours. */
|
||||
|
||||
Reference in New Issue
Block a user