Files
TREK/client/src/components/shared/PatreonIcon.tsx
T
Maurice bcdcd69a64 feat(notices): 5.2.0 release modal and Patreon for monthly support
The release modal now shows 5.2.0: booking mails that land in the trip,
live flight status and the new trip PDF, each with its own drawn card,
and links the 5.2.0 release notes. The maintainer note and the support
block are rewritten, shorter and without the sponsor wording.

Patreon joins Buy Me a Coffee and Ko-fi as the monthly way to support
TREK: a full-width button in the release and thank-you notices (a new
optional tertiaryCta on the notice contract), a tile in About and in the
admin GitHub panel on desktop and phone, the README badges and
FUNDING.yml. Like the other donation links it stays hidden inside the
native apps.
2026-11-23 21:15:54 +01:00

26 lines
919 B
TypeScript

import React from 'react';
/** Patreon's mark (simple-icons), drawn in the current text colour. */
export const PATREON_PATH =
'M22.957 7.21c-.004-3.064-2.391-5.576-5.191-6.482-3.478-1.125-8.064-.962-11.384.604C2.357 3.231 1.093 7.391 1.046 11.54c-.039 3.411.302 12.396 5.369 12.46 3.765.047 4.326-4.804 6.068-7.141 1.24-1.662 2.836-2.132 4.801-2.618 3.376-.836 5.678-3.501 5.673-7.031Z';
/** Where TREK takes monthly support. */
export const PATREON_URL = 'https://www.patreon.com/cw/mauriceboe';
/** Patreon's own coral, for the icon on the support tiles. */
export const PATREON_COLOR = '#ff424d';
export default function PatreonIcon({
size = 18,
className,
}: {
size?: number;
className?: string;
}): React.ReactElement {
return (
<svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor" className={className} aria-hidden="true">
<path d={PATREON_PATH} />
</svg>
);
}