@powerhousedao/service-offering 1.0.0-dev.13 → 1.0.0-dev.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -189,9 +189,15 @@ const TierCard = memo(function TierCard({ tier, accent, dispatch, onDelete, isRe
|
|
|
189
189
|
: ""}`, style: {
|
|
190
190
|
maxHeight: "85vh",
|
|
191
191
|
animation: "tier-slide-up 0.3s ease-out",
|
|
192
|
-
}, children: [isRecommended ? (_jsxs("
|
|
192
|
+
}, children: [isRecommended ? (_jsxs("button", { className: "absolute top-[-1px] right-4 flex items-center gap-1 py-1 px-3.5 text-white text-[0.6875rem] font-semibold uppercase tracking-wide rounded-b-lg z-[2] border-none cursor-pointer transition-opacity duration-150 hover:opacity-80", style: {
|
|
193
193
|
background: "linear-gradient(135deg, rgb(124 58 237) 0%, rgb(109 40 217) 100%)",
|
|
194
194
|
boxShadow: "0 2px 8px rgba(124, 58, 237, 0.3)",
|
|
195
|
+
}, title: "Click to remove Most Popular", onClick: () => {
|
|
196
|
+
dispatch(updateTier({
|
|
197
|
+
id: tier.id,
|
|
198
|
+
mostPopular: false,
|
|
199
|
+
lastModified: new Date().toISOString(),
|
|
200
|
+
}));
|
|
195
201
|
}, children: [_jsx("svg", { className: "w-3.5 h-3.5", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" }) }), "Most Popular"] })) : (_jsxs("button", { className: "absolute top-2 right-3 flex items-center gap-1 py-1 px-3 text-slate-400 text-[0.625rem] font-medium uppercase tracking-wide rounded-full z-[2] bg-transparent border border-transparent cursor-pointer transition-all duration-150 hover:border-violet-300 hover:text-violet-500 hover:bg-violet-50", onClick: () => {
|
|
196
202
|
dispatch(updateTier({
|
|
197
203
|
id: tier.id,
|
package/dist/style.css
CHANGED