From 59b538dddc368d19382ceb430e799ceace0eaa1a Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Thu, 19 Mar 2026 13:10:25 -0500 Subject: [PATCH] feat: wire ANSI NFO easter egg into about page Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/routes/_authenticated/about.tsx | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/frontend/src/routes/_authenticated/about.tsx b/frontend/src/routes/_authenticated/about.tsx index 9c24de2..4fc995c 100644 --- a/frontend/src/routes/_authenticated/about.tsx +++ b/frontend/src/routes/_authenticated/about.tsx @@ -2,6 +2,7 @@ import { createFileRoute } from '@tanstack/react-router' import { useEffect, useRef, useState } from 'react' import { RugLogo } from '@/components/brand/RugLogo' import { APP_VERSION } from '@/lib/version' +import { AnsiNfoModal } from '@/components/about/AnsiNfoModal' export const Route = createFileRoute('/_authenticated/about')({ component: AboutPage, @@ -11,7 +12,7 @@ export const Route = createFileRoute('/_authenticated/about')({ // Implements a basic QR encoder for alphanumeric/byte mode, version 1-4 // Sufficient for encoding a Bitcoin address (~62 chars) -const BTC_ADDRESS = 'bc1qfw6pmyc96vrlkpc0rgun0s7xy4sqhx7a2xurkf' +export const BTC_ADDRESS = 'bc1qfw6pmyc96vrlkpc0rgun0s7xy4sqhx7a2xurkf' // Generate QR matrix for a given string using a minimal implementation function generateQRMatrix(data: string): boolean[][] { @@ -481,6 +482,7 @@ function QRCode({ function AboutPage() { const [copied, setCopied] = useState(false) const [showQR, setShowQR] = useState(false) + const [showNfo, setShowNfo] = useState(false) const copyAddress = async () => { try { @@ -618,9 +620,19 @@ function AboutPage() { {/* Footer */} -

- Not affiliated with or endorsed by MikroTik (SIA Mikrotikls) -

+
+

+ Not affiliated with or endorsed by MikroTik (SIA Mikrotikls) +

+ +
+ + ) }