Skip to content

Commit 8ecab41

Browse files
wearsshoesclaude
andcommitted
Add /donate redirect and donate banner
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b939bc5 commit 8ecab41

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

app/components/DonateBanner.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default function DonateBanner() {
2+
return (
3+
<a
4+
href="/donate"
5+
data-top-banner
6+
className="block bg-emerald-700 text-white text-sm text-center py-2 px-4 hover:bg-emerald-800 transition-colors"
7+
>
8+
<u>Mox is fundraising! Support our mission on Manifund →</u>
9+
</a>
10+
)
11+
}

app/page.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Gallery from './venue-gallery'
33
import PeopleGallery from './people-gallery'
44
import EventsCardCompact from './components/EventsCardCompact'
55
import { getEvents } from './lib/events'
6-
import EAGBanner from './components/EAGBanner'
6+
import DonateBanner from './components/DonateBanner'
77

88

99
function Link({
@@ -32,8 +32,8 @@ export default async function Component() {
3232

3333
return (
3434
<div className="min-h-screen bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100">
35-
{/* EAG SF 2026 day pass banner */}
36-
<EAGBanner />
35+
{/* Donate banner */}
36+
<DonateBanner />
3737

3838
{/* Hero section */}
3939
<div className="relative min-h-screen flex items-center justify-center px-4 sm:px-6 py-12 sm:py-16 pb-12 sm:pb-16 bg-gray-50 dark:bg-gray-900">
@@ -478,6 +478,13 @@ export default async function Component() {
478478
<div className="max-w-4xl mx-auto px-4 sm:px-6 text-center">
479479
<p className="text-gray-500 dark:text-gray-400 mb-2">
480480
A project of <Link href="https://manifund.org">Manifund</Link>
481+
{' · '}
482+
<a
483+
href="/donate"
484+
className="text-amber-900 dark:text-amber-400 hover:text-amber-950 dark:hover:text-amber-300 underline decoration-dotted underline-offset-2"
485+
>
486+
Donate
487+
</a>
481488
</p>
482489
<p className="text-gray-500 dark:text-gray-400">
483490
Questions? Contact{' '}

next.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ const redirects = {
1717
'/guest': '/guest-program',
1818
'/onboard': 'https://airtable.com/appkHZ2UvU6SouT5y/pagS1zz7H3u2aoElF/form',
1919
'/membership': 'https://moxsf.notion.site/memberships',
20+
'/donate':
21+
'https://manifund.org/projects/mox-a-coworking--events-space-in-sf',
2022

2123
// Endpoints mostly for admin/staff
2224
'/eventz':

0 commit comments

Comments
 (0)