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(
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(),
RichText(
textAlign: TextAlign.center,

View file

@ -155,7 +155,7 @@ class DesktopAboutView extends ConsumerWidget {
Expanded(
child: RoundedWhiteContainer(
width: 929,
height: 411,
height: 451,
child: Padding(
padding: const EdgeInsets.only(left: 10, top: 10),
child: Column(
@ -668,29 +668,20 @@ class DesktopAboutView extends ConsumerWidget {
),
const SizedBox(height: 35),
Row(
children: [
Column(
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Text(
"Website",
"Website:",
style: STextStyles
.desktopTextExtraExtraSmall(
context)
.copyWith(
color: Theme.of(
context)
color: Theme.of(context)
.extension<
StackColors>()!
.textDark),
),
const SizedBox(
height: 2,
),
CustomTextButton(
text:
"https://stackwallet.com",
text: "https://stackwallet.com",
onTap: () {
launchUrl(
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,
);
},
),
],
)
),
],
);
},