fix(tip): remove coffee tier labels

This commit is contained in:
2026-07-16 12:02:26 +08:00
parent 0b96b5ed95
commit 0409d55d7f
5 changed files with 0 additions and 18 deletions
@@ -14,21 +14,18 @@ import {
const items: readonly TipCoffeeTierItem[] = [
{
type: "small",
tierLabel: "Small",
displayName: "Velvet Espresso",
priceLabel: "US$ 4.99",
unavailable: false,
},
{
type: "medium",
tierLabel: "Medium",
displayName: "Golden Reserve",
priceLabel: "US$ 9.99",
unavailable: false,
},
{
type: "large",
tierLabel: "Large",
displayName: "Imperial Grand Cru",
priceLabel: "US$ 19.99",
unavailable: false,
-2
View File
@@ -6,7 +6,6 @@ import styles from "./tip-screen.module.css";
export interface TipCoffeeTierItem {
type: TipCoffeeType;
tierLabel: string;
displayName: string;
priceLabel: string;
unavailable: boolean;
@@ -51,7 +50,6 @@ export function TipCoffeeTierSelector({
onChange={() => onChange(item.type)}
/>
<span className={styles.tierDetails}>
<span className={styles.tierLabel}>{item.tierLabel}</span>
<span className={styles.tierName}>{item.displayName}</span>
</span>
<span className={styles.tierPriceBlock}>
-8
View File
@@ -330,14 +330,6 @@
gap: 4px;
}
.tierLabel {
color: #a36d73;
font-size: 10px;
font-weight: 900;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.tierName {
overflow: hidden;
color: #2a1b1e;
-1
View File
@@ -86,7 +86,6 @@ export function TipScreen({
() =>
coffeeTiers.map(({ option, plan }) => ({
type: option.type,
tierLabel: option.tierLabel,
displayName: option.displayName,
priceLabel: formatTipPrice(plan, option.type),
unavailable:
-4
View File
@@ -7,7 +7,6 @@ export type TipCoffeeType = "small" | "medium" | "large";
export interface TipCoffeeOption {
readonly type: TipCoffeeType;
readonly tierLabel: string;
readonly amountCents: number;
readonly displayName: string;
readonly image: {
@@ -21,7 +20,6 @@ export interface TipCoffeeOption {
const TIP_COFFEE_OPTION_BY_TYPE: Record<TipCoffeeType, TipCoffeeOption> = {
small: {
type: "small",
tierLabel: "Small",
amountCents: 499,
displayName: "Velvet Espresso",
image: {
@@ -33,7 +31,6 @@ const TIP_COFFEE_OPTION_BY_TYPE: Record<TipCoffeeType, TipCoffeeOption> = {
},
medium: {
type: "medium",
tierLabel: "Medium",
amountCents: 999,
displayName: "Golden Reserve",
image: {
@@ -45,7 +42,6 @@ const TIP_COFFEE_OPTION_BY_TYPE: Record<TipCoffeeType, TipCoffeeOption> = {
},
large: {
type: "large",
tierLabel: "Large",
amountCents: 1999,
displayName: "Imperial Grand Cru",
image: {