fix: update ko-fi links, drop $20 option
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { Coffee, ExternalLink, X } from "lucide-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
@@ -15,9 +14,20 @@ interface BuyCreditsModalProps {
|
||||
}
|
||||
|
||||
const PRESETS = [
|
||||
{ dollars: 5, credits: 500, label: "Small Feed", emoji: "🌾" },
|
||||
{ dollars: 10, credits: 1000, label: "Big Feed", emoji: "🌽" },
|
||||
{ dollars: 20, credits: 2000, label: "Feast", emoji: "🍗" },
|
||||
{
|
||||
dollars: 5,
|
||||
credits: 500,
|
||||
label: "Small Feed",
|
||||
emoji: "🌾",
|
||||
href: "https://ko-fi.com/s/ecf5118d5a",
|
||||
},
|
||||
{
|
||||
dollars: 10,
|
||||
credits: 1000,
|
||||
label: "Big Feed",
|
||||
emoji: "🌽",
|
||||
href: "https://ko-fi.com/s/a6c2c7ed8b",
|
||||
},
|
||||
];
|
||||
|
||||
export function BuyCreditsModal({ open, onOpenChange }: BuyCreditsModalProps) {
|
||||
@@ -30,6 +40,7 @@ export function BuyCreditsModal({ open, onOpenChange }: BuyCreditsModalProps) {
|
||||
Stock the Coop
|
||||
</DialogTitle>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => onOpenChange(false)}
|
||||
className="rounded-full p-2 hover:bg-background transition-colors"
|
||||
>
|
||||
@@ -45,7 +56,7 @@ export function BuyCreditsModal({ open, onOpenChange }: BuyCreditsModalProps) {
|
||||
{PRESETS.map((preset) => (
|
||||
<a
|
||||
key={preset.dollars}
|
||||
href="https://ko-fi.com/s/ecf5118d5a"
|
||||
href={preset.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center justify-between rounded-2xl border-4 border-foreground bg-accent/10 p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] hover:translate-x-[2px] hover:translate-y-[2px] hover:shadow-none transition-all"
|
||||
|
||||
Reference in New Issue
Block a user