Skip to content

Commit 0d7d4e4

Browse files
committed
app: add social icon buttons to main wallet side drawer
1 parent 2e62f58 commit 0d7d4e4

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

app/lib/route/wallet.dart

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ import 'package:lexeapp/style.dart'
6060
show Fonts, LxColors, LxIcons, LxRadius, Space;
6161
import 'package:lexeapp/types.dart' show BalanceKind, BalanceState;
6262
import 'package:lexeapp/uri_events.dart' show UriEvents;
63+
import 'package:lexeapp/url.dart' as url;
6364

6465
class WalletPage extends StatefulWidget {
6566
const WalletPage({
@@ -688,6 +689,35 @@ class WalletDrawer extends StatelessWidget {
688689
// ),
689690
// const SizedBox(height: Space.s600),
690691

692+
// Social media links row
693+
Row(
694+
mainAxisAlignment: MainAxisAlignment.center,
695+
spacing: Space.s100,
696+
children: [
697+
IconButton(
698+
onPressed: () => url.open("https://lexe.app"),
699+
icon: const Icon(LxIcons.website, size: Fonts.size600),
700+
color: LxColors.foreground,
701+
),
702+
IconButton(
703+
onPressed: () => url.open("https://x.com/lexeapp"),
704+
icon: const Icon(LxIcons.twitter, size: Fonts.size600),
705+
color: LxColors.foreground,
706+
),
707+
IconButton(
708+
onPressed: () => url.open("https://discord.gg/zybuBYgdbr"),
709+
icon: const Icon(LxIcons.discord, size: Fonts.size600),
710+
color: LxColors.foreground,
711+
),
712+
IconButton(
713+
onPressed: () => url.open("https://github.com/lexe-app"),
714+
icon: const Icon(LxIcons.github, size: Fonts.size600),
715+
color: LxColors.foreground,
716+
),
717+
],
718+
),
719+
const SizedBox(height: Space.s400),
720+
691721
// Show currently installed app version.
692722
// ex: "Lexe · v0.6.2+5"
693723
FutureBuilder(

app/lib/style.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,18 @@ final class LxIcons {
937937

938938
/// Google Drive icon (gdrive + up arrow)
939939
static const IconData gdrive = Symbols.drive_export_rounded;
940+
941+
/// Website icon (globe/web)
942+
static const IconData website = Symbols.language_rounded;
943+
944+
/// X/Twitter icon (bird/twitter)
945+
static const IconData twitter = Symbols.group_rounded;
946+
947+
/// Discord icon (chat bubble)
948+
static const IconData discord = Symbols.forum_rounded;
949+
950+
/// GitHub icon (code/repository)
951+
static const IconData github = Symbols.code_rounded;
940952
}
941953

942954
/// Screen width breakpoints

0 commit comments

Comments
 (0)