From d534cfc38c1e86c230b311a5b3c8131e3fd82f64 Mon Sep 17 00:00:00 2001 From: therealwolf42 <76-therealwolf42@users.noreply.gitlab.syncad.com> Date: Mon, 17 Nov 2025 15:23:36 +0100 Subject: [PATCH 01/12] milestones --- src/app/[locale]/eco/page.tsx | 2 +- src/app/[locale]/page.tsx | 10 +- src/app/[locale]/wallets/page.tsx | 6 +- src/components/Icon.tsx | 19 ++- src/components/app/App.tsx | 14 +- src/components/header/Header.tsx | 19 ++- src/components/infobar/Infobar.tsx | 6 +- src/components/navigation/Navigation.tsx | 155 ++++++++++++++++++----- src/components/root/RootEco.tsx | 58 +++++---- src/components/ui/button.tsx | 2 +- src/components/ui/navigation-menu.tsx | 4 +- src/lib/data/navigation.ts | 63 +++++++-- 12 files changed, 265 insertions(+), 93 deletions(-) diff --git a/src/app/[locale]/eco/page.tsx b/src/app/[locale]/eco/page.tsx index 27083e7..94ebf0a 100644 --- a/src/app/[locale]/eco/page.tsx +++ b/src/app/[locale]/eco/page.tsx @@ -58,7 +58,7 @@ function EcoContent() { return (
@@ -77,7 +77,7 @@ export default function HomePage() { {/* Decentralized */}
@@ -110,7 +110,7 @@ export default function HomePage() { {/* HDF */}
@@ -129,7 +129,7 @@ export default function HomePage() { {/* HBD */}
diff --git a/src/app/[locale]/wallets/page.tsx b/src/app/[locale]/wallets/page.tsx index 9fb7d47..7f11f03 100644 --- a/src/app/[locale]/wallets/page.tsx +++ b/src/app/[locale]/wallets/page.tsx @@ -10,7 +10,7 @@ export default function WalletsPage() { return (
- {child.description} -
- )} -+ {child.description} +
+ )} ++ {child.description} +
+ )} ++ {subItem.description} +
+ )} ++ {subItem.description} +
+ )} +{t('root.ecoText')}
@@ -46,29 +46,37 @@ export const RootEco: React.FC- {child.description} -
- )} - - ) : child.to ? ( - -- {child.description} -
+ {item.children.map((child, childIndex) => { + // Child has submenu (nested accordion) + if (child.submenu && child.submenu.length > 0) { + const isSubmenuOpen = openSubmenuIndex === childIndex; + + return ( ++ {subItem.description} +
+ )} + + ) : subItem.to ? ( + ++ {subItem.description} +
+ )} + + ) : null} ++ {child.description} +
+ )} + + ) : child.to ? ( + ++ {child.description} +
+ )} + + ) : null} ++ {subItem.description} +
+ )} +- {subItem.description} -
- )} -- Just about all our core development updates are shared on Hive{' '} +
+ Our journey from inception to the future. Track major hardforks, updates, and planned developments in Hive's evolution as a community-driven blockchain. +
++ For the latest development updates, follow{' '} @blocktrades
+ {milestone.description} +
-+ {t('root.exchanges.subtitle')} +
+ Built by the community, for the community. Experience the power of Hive, the + decentralized blockchain that puts you in control. +
++ {activity.message} +
++ {formatTimeAgo(activity.timestamp)} +
+- {t('root.feeText')} -
-- {t('root.feeText2')} -
-
-
+ + {t('root.feeText')} +
++ {t('root.feeText2')} +
+
- - {t('root.decText')} -
-- {t('root.decText2')} -
-
+ + {t('root.decText')} +
++ {t('root.decText2')} +
+- {t('root.usernameText')} -
-
+ {/* Feature 3: DeFi Made Simple */}
+ + Earn up to 15% APR on HBD, our decentralized stablecoin pegged to USD. +
+- {t('root.dafText')} + {/* Exchanges */} +
+ {t('root.exchanges.subtitle')}
-
- {t('root.hbdText')}
- {t('root.hbdAPR')}
-
- {t('root.exchanges.subtitle')} -
-+
Built by the community, for the community. Experience the power of Hive, the decentralized blockchain that puts you in control.
@@ -64,12 +82,9 @@ export function DynamicHero() { {/* Live Block Number - Subtle */}- {activity.message} -
-- {formatTimeAgo(activity.timestamp)} -
-+ {activity.message} +
++ {formatTimeAgo(activity.timestamp)} +
+
{t('root.ecoText')}