v1.0.9: fix emoji rendering, Pizza label, auto payment methods

This commit is contained in:
Pepe Ziberi
2026-02-22 10:43:23 +01:00
parent 6b96f1ffb1
commit cb575f9a82
4 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "lageplan",
"version": "1.0.8",
"version": "1.0.9",
"description": "Feuerwehr Lageplan - Krokier-App für Einsatzdokumentation",
"private": true,
"scripts": {

View File

@@ -21,7 +21,6 @@ export async function POST(req: NextRequest) {
const origin = req.headers.get('origin') || req.nextUrl.origin
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card', 'twint', 'link'],
mode: 'payment',
line_items: [
{

View File

@@ -526,7 +526,7 @@ function SupportSection() {
{/* Tier preview */}
<div className="grid grid-cols-2 sm:grid-cols-4 gap-3 mb-8">
{[
{ emoji: '\u2615', label: 'Kaffee', amount: 'CHF 10' },
{ emoji: '\uD83C\uDF55', label: 'Pizza', amount: 'CHF 10' },
{ emoji: '\uD83D\uDDA5\uFE0F', label: 'Server', amount: 'CHF 20' },
{ emoji: '\uD83D\uDE80', label: 'Feature', amount: 'CHF 50' },
{ emoji: '\u2764\uFE0F', label: 'Freibetrag', amount: 'Frei' },

View File

@@ -10,7 +10,7 @@ import {
import { Logo } from '@/components/ui/logo'
const tiers = [
{ value: 10, label: 'Kaffee', emoji: '\u2615', desc: 'Ein Kaffee für die nächste Coding-Session' },
{ value: 10, label: 'Pizza', emoji: '\uD83C\uDF55', desc: 'Eine Pizza für die nächste Coding-Session' },
{ value: 20, label: 'Server', emoji: '\uD83D\uDDA5\uFE0F', desc: 'Hilft die monatlichen Serverkosten zu decken' },
{ value: 50, label: 'Feature', emoji: '\uD83D\uDE80', desc: 'Finanziert die Entwicklung eines neuen Features' },
]
@@ -133,7 +133,7 @@ export default function SpendenPage() {
: 'border-gray-100 hover:border-gray-200 hover:bg-gray-50'
}`}
>
<span className="text-2xl block mb-1">\u2764\uFE0F</span>
<span className="text-2xl block mb-1">{"\u2764\uFE0F"}</span>
<span className="text-lg font-bold text-gray-900">Frei</span>
<span className="text-xs text-gray-500 block mt-0.5">Eigener Betrag</span>
</button>