add tzkt link to about

This commit is contained in:
julian 2023-11-22 12:39:38 -06:00
parent 391304f6da
commit 63917a7adb
2 changed files with 76 additions and 35 deletions

View file

@ -525,6 +525,32 @@ class AboutView extends ConsumerWidget {
const SizedBox( const SizedBox(
height: 12, height: 12,
), ),
RoundedWhiteContainer(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
"Tezos functionality",
style: STextStyles.titleBold12(context),
),
const SizedBox(
height: 4,
),
CustomTextButton(
text: "Powered by TzKT API",
onTap: () {
launchUrl(
Uri.parse("https://tzkt.io"),
mode: LaunchMode.externalApplication,
);
},
),
],
),
),
const SizedBox(
height: 12,
),
const Spacer(), const Spacer(),
RichText( RichText(
textAlign: TextAlign.center, textAlign: TextAlign.center,

View file

@ -155,7 +155,7 @@ class DesktopAboutView extends ConsumerWidget {
Expanded( Expanded(
child: RoundedWhiteContainer( child: RoundedWhiteContainer(
width: 929, width: 929,
height: 411, height: 451,
child: Padding( child: Padding(
padding: const EdgeInsets.only(left: 10, top: 10), padding: const EdgeInsets.only(left: 10, top: 10),
child: Column( child: Column(
@ -668,29 +668,20 @@ class DesktopAboutView extends ConsumerWidget {
), ),
const SizedBox(height: 35), const SizedBox(height: 35),
Row( Row(
children: [
Column(
crossAxisAlignment:
CrossAxisAlignment.start,
children: [ children: [
Text( Text(
"Website", "Website:",
style: STextStyles style: STextStyles
.desktopTextExtraExtraSmall( .desktopTextExtraExtraSmall(
context) context)
.copyWith( .copyWith(
color: Theme.of( color: Theme.of(context)
context)
.extension< .extension<
StackColors>()! StackColors>()!
.textDark), .textDark),
), ),
const SizedBox(
height: 2,
),
CustomTextButton( CustomTextButton(
text: text: "https://stackwallet.com",
"https://stackwallet.com",
onTap: () { onTap: () {
launchUrl( launchUrl(
Uri.parse( Uri.parse(
@ -701,9 +692,33 @@ class DesktopAboutView extends ConsumerWidget {
}, },
), ),
], ],
) ),
const SizedBox(height: 25),
Row(
children: [
Text(
"Tezos functionality:",
style: STextStyles
.desktopTextExtraExtraSmall(
context)
.copyWith(
color: Theme.of(context)
.extension<
StackColors>()!
.textDark),
),
CustomTextButton(
text: "Powered by TzKT API",
onTap: () {
launchUrl(
Uri.parse("https://tzkt.io"),
mode: LaunchMode
.externalApplication,
);
},
),
], ],
) ),
], ],
); );
}, },