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:
parent
8633b38125
commit
4ffa39ee95
5 changed files with 9 additions and 32 deletions
|
|
@ -34,7 +34,6 @@ import {
|
||||||
Info,
|
Info,
|
||||||
Bookmark,
|
Bookmark,
|
||||||
MessageCircle,
|
MessageCircle,
|
||||||
Gift,
|
|
||||||
LogOut,
|
LogOut,
|
||||||
User,
|
User,
|
||||||
LogIn,
|
LogIn,
|
||||||
|
|
@ -392,7 +391,7 @@ export function Layout({ children }: LayoutProps) {
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
className={cn(
|
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',
|
'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-red-500'
|
||||||
: 'text-gray-400 hover:text-red-400'
|
: 'text-gray-400 hover:text-red-400'
|
||||||
)}
|
)}
|
||||||
|
|
@ -418,13 +417,6 @@ export function Layout({ children }: LayoutProps) {
|
||||||
</Link>
|
</Link>
|
||||||
</DropdownMenuItem>
|
</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>
|
<DropdownMenuItem asChild>
|
||||||
<Link to="/stats" className="flex items-center gap-2 cursor-pointer">
|
<Link to="/stats" className="flex items-center gap-2 cursor-pointer">
|
||||||
<BarChart3 className="h-4 w-4" />
|
<BarChart3 className="h-4 w-4" />
|
||||||
|
|
@ -647,13 +639,6 @@ export function Layout({ children }: LayoutProps) {
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
onClick={() => setMobileMenuOpen(false)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<NavLink
|
|
||||||
href="/bounties"
|
|
||||||
label="Map & Earn"
|
|
||||||
icon={Gift}
|
|
||||||
isActive={isActive('/bounties')}
|
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
|
||||||
/>
|
|
||||||
<NavLink
|
<NavLink
|
||||||
href="/stats"
|
href="/stats"
|
||||||
label={t('nav.stats')}
|
label={t('nav.stats')}
|
||||||
|
|
|
||||||
|
|
@ -277,7 +277,7 @@ Version: v0.1.0`;
|
||||||
{ label: 'Built with', name: 'MKStack', url: 'https://soapbox.pub/mkstack', desc: 'Nostr client framework' },
|
{ 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: '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: '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: '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: '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' },
|
{ label: 'AI powered by', name: 'ContextVM', url: 'https://contextvm.org/s/e3564bb877adb0c99a7e4973ccb22e516d7d9eca0027d0bd62a04174ed670530', desc: 'Nostr AI infrastructure' },
|
||||||
|
|
|
||||||
|
|
@ -530,14 +530,6 @@ function Footer() {
|
||||||
<Link to="/about" className="text-gray-400 hover:text-[#ff0040] transition-colors uppercase font-bold tracking-wide">
|
<Link to="/about" className="text-gray-400 hover:text-[#ff0040] transition-colors uppercase font-bold tracking-wide">
|
||||||
{t('nav.about')}
|
{t('nav.about')}
|
||||||
</Link>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -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>Built with ❤️ on <span className="text-[#ff0040]">Nostr</span> · Powered by <span className="text-[#f7931a]">Bitcoin Lightning ⚡</span></p>
|
||||||
<p>
|
<p>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/skatespots"
|
href="https://nostrhub.io/naddr1qvzqqqrhnypzqg88e9f588nx7wyz4wt0ura23w3yd4hmztqrkr95utwyvgachjepqyd8wumn8ghj7emfwsh8x6rpddjhxur9v9ex2tnyd9uj7qq22d4kzar92dcx7arnhyhdwn"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="text-[#ccff00]/70 hover:text-[#ccff00] transition-colors underline"
|
className="text-[#ccff00]/70 hover:text-[#ccff00] transition-colors underline"
|
||||||
|
|
|
||||||
|
|
@ -47,10 +47,10 @@ const PARTNERS: Partner[] = [
|
||||||
|
|
||||||
const FRIENDS: Friend[] = [
|
const FRIENDS: Friend[] = [
|
||||||
{
|
{
|
||||||
name: 'No Teeth Skateboarding',
|
name: 'Geyser',
|
||||||
logo: 'https://blossom.dreamith.to/61bb7055930c442dfe1dfe5b8a8be5417f9b62f68ed79dc4ffbbddce5d4f122c.png',
|
logo: 'https://geyser.fund/logo-brand.svg',
|
||||||
url: 'https://www.instagram.com/noteethskateboarding/',
|
url: 'https://geyser.fund/project/skatespots',
|
||||||
tagline: 'Handmade Long Lasting Skateboards',
|
description: 'Centralized Bitcoin Lightning crowdfunding',
|
||||||
},
|
},
|
||||||
// Add more friends here
|
// 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-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>
|
<p className="text-xs text-gray-600 mb-4">Developers, designers, skaters with skills — reach out.</p>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/soapbox-pub/mkstack"
|
href="https://nostrhub.io/naddr1qvzqqqrhnypzqg88e9f588nx7wyz4wt0ura23w3yd4hmztqrkr95utwyvgachjepqyd8wumn8ghj7emfwsh8x6rpddjhxur9v9ex2tnyd9uj7qq22d4kzar92dcx7arnhyhdwn"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="inline-flex items-center gap-1.5 text-xs font-bold text-[#ff0040]/70 hover:text-[#ff0040] transition-colors"
|
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" />
|
<ExternalLink className="h-3 w-3" />
|
||||||
View on GitHub
|
View on NostrHub
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue