Various UI cleanups: remove Nostr footer link, hide Map&Earn, update NostrHub links

- Index.tsx: remove Nostr.com button from homepage footer (next to FAQ/About)
- SupportersPage: change 'View on GitHub' → 'View on NostrHub' with correct naddr URL
- Layout: remove 'Map & Earn' (/bounties) from desktop More dropdown menu
- Layout: remove 'Map & Earn' (/bounties) from mobile slide-out nav
- Layout: clean up unused Gift icon import and stale isActive check

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-06-27 21:27:10 +07:00
parent 8633b38125
commit 4ffa39ee95
5 changed files with 9 additions and 32 deletions

View file

@ -34,7 +34,6 @@ import {
Info,
Bookmark,
MessageCircle,
Gift,
LogOut,
User,
LogIn,
@ -392,7 +391,7 @@ export function Layout({ children }: LayoutProps) {
variant="ghost"
className={cn(
'flex items-center gap-2 px-4 py-2 rounded-lg transition-all duration-200 text-sm font-bold uppercase tracking-wide h-auto',
(isActive('/bounties') || isActive('/stats') || isActive('/about'))
(isActive('/stats') || isActive('/about'))
? 'text-red-500'
: 'text-gray-400 hover:text-red-400'
)}
@ -418,13 +417,6 @@ export function Layout({ children }: LayoutProps) {
</Link>
</DropdownMenuItem>
)}
<DropdownMenuItem asChild>
<Link to="/bounties" className="flex items-center gap-2 cursor-pointer">
<Gift className="h-4 w-4 text-orange-400" />
<span className="text-orange-400">Map & Earn</span>
</Link>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<Link to="/stats" className="flex items-center gap-2 cursor-pointer">
<BarChart3 className="h-4 w-4" />
@ -647,13 +639,6 @@ export function Layout({ children }: LayoutProps) {
onClick={() => setMobileMenuOpen(false)}
/>
)}
<NavLink
href="/bounties"
label="Map & Earn"
icon={Gift}
isActive={isActive('/bounties')}
onClick={() => setMobileMenuOpen(false)}
/>
<NavLink
href="/stats"
label={t('nav.stats')}

View file

@ -277,7 +277,7 @@ Version: v0.1.0`;
{ label: 'Built with', name: 'MKStack', url: 'https://soapbox.pub/mkstack', desc: 'Nostr client framework' },
{ label: 'Vibed with', name: 'Shakespeare', url: 'https://shakespeare.diy', desc: 'AI-powered development' },
{ label: 'Powered by', name: 'Nostr', url: 'https://nostr.com', desc: 'Decentralized protocol' },
{ label: 'Crowdfunding', name: 'Geyser', url: 'https://geyser.fund/project/skatespots', desc: 'Bitcoin Lightning crowdfunding' },
{ label: 'Crowdfunding', name: 'Geyser', url: 'https://geyser.fund/project/skatespots', desc: 'Centralized Bitcoin Lightning crowdfunding' },
{ label: 'Crowdfunding', name: 'Angor', url: 'https://angor.io/', desc: 'Bitcoin crowdfunding platform' },
{ label: 'Distributed on', name: 'Zapstore', url: 'https://zapstore.dev/apps/org.skatespots.app', desc: 'Open-source app store' },
{ label: 'AI powered by', name: 'ContextVM', url: 'https://contextvm.org/s/e3564bb877adb0c99a7e4973ccb22e516d7d9eca0027d0bd62a04174ed670530', desc: 'Nostr AI infrastructure' },

View file

@ -530,14 +530,6 @@ function Footer() {
<Link to="/about" className="text-gray-400 hover:text-[#ff0040] transition-colors uppercase font-bold tracking-wide">
{t('nav.about')}
</Link>
<a
href="https://nostr.com"
target="_blank"
rel="noopener noreferrer"
className="text-gray-400 hover:text-[#ccff00] transition-colors uppercase font-bold tracking-wide"
>
Nostr
</a>
</div>
</div>
</div>

View file

@ -66,7 +66,7 @@ export default function LicensePage() {
<p>Built with ❤️ on <span className="text-[#ff0040]">Nostr</span> · Powered by <span className="text-[#f7931a]">Bitcoin Lightning ⚡</span></p>
<p>
<a
href="https://github.com/skatespots"
href="https://nostrhub.io/naddr1qvzqqqrhnypzqg88e9f588nx7wyz4wt0ura23w3yd4hmztqrkr95utwyvgachjepqyd8wumn8ghj7emfwsh8x6rpddjhxur9v9ex2tnyd9uj7qq22d4kzar92dcx7arnhyhdwn"
target="_blank"
rel="noopener noreferrer"
className="text-[#ccff00]/70 hover:text-[#ccff00] transition-colors underline"

View file

@ -47,10 +47,10 @@ const PARTNERS: Partner[] = [
const FRIENDS: Friend[] = [
{
name: 'No Teeth Skateboarding',
logo: 'https://blossom.dreamith.to/61bb7055930c442dfe1dfe5b8a8be5417f9b62f68ed79dc4ffbbddce5d4f122c.png',
url: 'https://www.instagram.com/noteethskateboarding/',
tagline: 'Handmade Long Lasting Skateboards',
name: 'Geyser',
logo: 'https://geyser.fund/logo-brand.svg',
url: 'https://geyser.fund/project/skatespots',
description: 'Centralized Bitcoin Lightning crowdfunding',
},
// Add more friends here
];
@ -390,13 +390,13 @@ export default function SupportersPage() {
<p className="text-gray-500 text-sm mb-1">Want to collaborate?</p>
<p className="text-xs text-gray-600 mb-4">Developers, designers, skaters with skills — reach out.</p>
<a
href="https://github.com/soapbox-pub/mkstack"
href="https://nostrhub.io/naddr1qvzqqqrhnypzqg88e9f588nx7wyz4wt0ura23w3yd4hmztqrkr95utwyvgachjepqyd8wumn8ghj7emfwsh8x6rpddjhxur9v9ex2tnyd9uj7qq22d4kzar92dcx7arnhyhdwn"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1.5 text-xs font-bold text-[#ff0040]/70 hover:text-[#ff0040] transition-colors"
>
<ExternalLink className="h-3 w-3" />
View on GitHub
View on NostrHub
</a>
</div>
)}