mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
generic-enhancements (#1886)
* Finishing updating docs and community links * Add missing images
This commit is contained in:
parent
ae80fb3b55
commit
6499aa2d6f
6 changed files with 97 additions and 101 deletions
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -4,7 +4,7 @@ contact_links:
|
||||||
url: https://github.com/cake-tech/cake_wallet/discussions/new?category=feature-requests
|
url: https://github.com/cake-tech/cake_wallet/discussions/new?category=feature-requests
|
||||||
about: Suggest an idea for Cake Wallet
|
about: Suggest an idea for Cake Wallet
|
||||||
- name: Not sure where to start?
|
- name: Not sure where to start?
|
||||||
url: https://guides.cakewallet.com
|
url: https://docs.cakewallet.com
|
||||||
about: Start by reading checking out the guides!
|
about: Start by reading checking out the guides!
|
||||||
- name: Need help?
|
- name: Need help?
|
||||||
url: https://cakewallet.com/#contact
|
url: https://cakewallet.com/#contact
|
||||||
|
|
BIN
assets/images/discord.png
Normal file
BIN
assets/images/discord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/discourse.png
Normal file
BIN
assets/images/discourse.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
|
@ -384,7 +384,7 @@ class CryptoBalanceWidget extends StatelessWidget {
|
||||||
behavior: HitTestBehavior.opaque,
|
behavior: HitTestBehavior.opaque,
|
||||||
onTap: () => launchUrl(
|
onTap: () => launchUrl(
|
||||||
Uri.parse(
|
Uri.parse(
|
||||||
"https://guides.cakewallet.com/docs/cryptos/litecoin/#mweb"),
|
"https://docs.cakewallet.com/cryptos/litecoin/#mweb"),
|
||||||
mode: LaunchMode.externalApplication,
|
mode: LaunchMode.externalApplication,
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
|
|
|
@ -25,7 +25,7 @@ class WelcomePage extends BasePage {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget trailing(BuildContext context) {
|
Widget trailing(BuildContext context) {
|
||||||
final Uri _url = Uri.parse('https://guides.cakewallet.com/docs/basic-features/basic-features/');
|
final Uri _url = Uri.parse('https://docs.cakewallet.com/get-started/setup/create-first-wallet/');
|
||||||
return IconButton(
|
return IconButton(
|
||||||
icon: Icon(Icons.info_outline),
|
icon: Icon(Icons.info_outline),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
|
|
@ -11,102 +11,99 @@ class SupportViewModel = SupportViewModelBase with _$SupportViewModel;
|
||||||
|
|
||||||
abstract class SupportViewModelBase with Store {
|
abstract class SupportViewModelBase with Store {
|
||||||
SupportViewModelBase()
|
SupportViewModelBase()
|
||||||
: items = [
|
: items = [
|
||||||
LinkListItem(
|
LinkListItem(
|
||||||
title: 'Email',
|
title: 'Email',
|
||||||
icon: 'assets/images/support_icon.png',
|
icon: 'assets/images/support_icon.png',
|
||||||
linkTitle: 'support@cakewallet.com',
|
linkTitle: 'support@cakewallet.com',
|
||||||
link: 'mailto:support@cakewallet.com'),
|
link: 'mailto:support@cakewallet.com'),
|
||||||
if (!isMoneroOnly)
|
LinkListItem(
|
||||||
LinkListItem(
|
title: 'Website',
|
||||||
title: 'Website',
|
icon: 'assets/images/global.png',
|
||||||
icon: 'assets/images/global.png',
|
linkTitle: 'cakewallet.com',
|
||||||
linkTitle: 'cakewallet.com',
|
link: 'https://cakewallet.com'),
|
||||||
link: 'https://cakewallet.com'),
|
LinkListItem(
|
||||||
if (!isMoneroOnly)
|
title: 'Forum',
|
||||||
LinkListItem(
|
icon: 'assets/images/discourse.png',
|
||||||
title: 'GitHub',
|
linkTitle: 'forum.cakewallet.com',
|
||||||
icon: 'assets/images/github.png',
|
link: 'https://forum.cakewallet.com'),
|
||||||
hasIconColor: true,
|
LinkListItem(
|
||||||
linkTitle: S.current.apk_update,
|
title: 'GitHub',
|
||||||
link: 'https://github.com/cake-tech/cake_wallet/releases'),
|
icon: 'assets/images/github.png',
|
||||||
LinkListItem(
|
hasIconColor: true,
|
||||||
title: 'Discord',
|
linkTitle: S.current.apk_update,
|
||||||
icon: 'assets/images/discord.png',
|
link: 'https://github.com/cake-tech/cake_wallet/releases'),
|
||||||
linkTitle: 'discord.gg/pwmWa6aFpX',
|
LinkListItem(
|
||||||
link: 'https://discord.gg/pwmWa6aFpX'),
|
title: 'Discord',
|
||||||
LinkListItem(
|
icon: 'assets/images/discord.png',
|
||||||
title: 'Telegram',
|
linkTitle: 'discord.gg/pwmWa6aFpX',
|
||||||
icon: 'assets/images/Telegram.png',
|
link: 'https://discord.gg/pwmWa6aFpX'),
|
||||||
linkTitle: 't.me/cakewallet',
|
LinkListItem(
|
||||||
link: 'https://t.me/cakewalletannouncements'),
|
title: 'Telegram',
|
||||||
LinkListItem(
|
icon: 'assets/images/Telegram.png',
|
||||||
title: 'Telegram Support Bot',
|
linkTitle: 't.me/cakewallet',
|
||||||
icon: 'assets/images/Telegram.png',
|
link: 'https://t.me/cakewalletannouncements'),
|
||||||
linkTitle: '@cakewallet_bot',
|
LinkListItem(
|
||||||
link: 'https://t.me/cakewallet_bot'),
|
title: 'Telegram Support Bot',
|
||||||
LinkListItem(
|
icon: 'assets/images/Telegram.png',
|
||||||
title: 'ChangeNow',
|
linkTitle: '@cakewallet_bot',
|
||||||
icon: 'assets/images/change_now.png',
|
link: 'https://t.me/cakewallet_bot'),
|
||||||
linkTitle: 'support@changenow.io',
|
LinkListItem(
|
||||||
link: 'mailto:support@changenow.io'),
|
title: 'ChangeNow',
|
||||||
LinkListItem(
|
icon: 'assets/images/change_now.png',
|
||||||
title: 'SideShift',
|
linkTitle: 'support@changenow.io',
|
||||||
icon: 'assets/images/sideshift.png',
|
link: 'mailto:support@changenow.io'),
|
||||||
linkTitle: 'help.sideshift.ai',
|
LinkListItem(
|
||||||
link: 'https://help.sideshift.ai/en/'),
|
title: 'SideShift',
|
||||||
LinkListItem(
|
icon: 'assets/images/sideshift.png',
|
||||||
title: 'SimpleSwap',
|
linkTitle: 'help.sideshift.ai',
|
||||||
icon: 'assets/images/simpleSwap.png',
|
link: 'https://help.sideshift.ai/en/'),
|
||||||
linkTitle: 'support@simpleswap.io',
|
LinkListItem(
|
||||||
link: 'mailto:support@simpleswap.io'),
|
title: 'SimpleSwap',
|
||||||
LinkListItem(
|
icon: 'assets/images/simpleSwap.png',
|
||||||
title: 'Exolix',
|
linkTitle: 'support@simpleswap.io',
|
||||||
icon: 'assets/images/exolix.png',
|
link: 'mailto:support@simpleswap.io'),
|
||||||
linkTitle: 'support@exolix.com',
|
LinkListItem(
|
||||||
link: 'mailto:support@exolix.com'),
|
title: 'Exolix',
|
||||||
LinkListItem(
|
icon: 'assets/images/exolix.png',
|
||||||
title: 'Quantex',
|
linkTitle: 'support@exolix.com',
|
||||||
icon: 'assets/images/quantex.png',
|
link: 'mailto:support@exolix.com'),
|
||||||
linkTitle: 'help.myquantex.com',
|
LinkListItem(
|
||||||
link: 'mailto:support@exolix.com'),
|
title: 'Quantex',
|
||||||
LinkListItem(
|
icon: 'assets/images/quantex.png',
|
||||||
title: 'Trocador',
|
linkTitle: 'help.myquantex.com',
|
||||||
icon: 'assets/images/trocador.png',
|
link: 'mailto:support@exolix.com'),
|
||||||
linkTitle: 'mail@trocador.app',
|
LinkListItem(
|
||||||
link: 'mailto:mail@trocador.app'),
|
title: 'Trocador',
|
||||||
LinkListItem(
|
icon: 'assets/images/trocador.png',
|
||||||
title: 'Onramper',
|
linkTitle: 'mail@trocador.app',
|
||||||
icon: 'assets/images/onramper_dark.png',
|
link: 'mailto:mail@trocador.app'),
|
||||||
lightIcon: 'assets/images/onramper_light.png',
|
LinkListItem(
|
||||||
linkTitle: 'View exchanges',
|
title: 'Onramper',
|
||||||
link: 'https://docs.cakewallet.com/support/buy/#onramper'),
|
icon: 'assets/images/onramper_dark.png',
|
||||||
LinkListItem(
|
lightIcon: 'assets/images/onramper_light.png',
|
||||||
title: 'DFX',
|
linkTitle: 'View exchanges',
|
||||||
icon: 'assets/images/dfx_dark.png',
|
link: 'https://docs.cakewallet.com/support/buy/#onramper'),
|
||||||
lightIcon: 'assets/images/dfx_light.png',
|
LinkListItem(
|
||||||
linkTitle: 'support@dfx.swiss',
|
title: 'DFX',
|
||||||
link: 'mailto:support@dfx.swiss'),
|
icon: 'assets/images/dfx_dark.png',
|
||||||
if (!isMoneroOnly) ... [
|
lightIcon: 'assets/images/dfx_light.png',
|
||||||
LinkListItem(
|
linkTitle: 'support@dfx.swiss',
|
||||||
title: 'MoonPay',
|
link: 'mailto:support@dfx.swiss'),
|
||||||
icon: 'assets/images/moonpay.png',
|
if (!isMoneroOnly) ...[
|
||||||
linkTitle: S.current.submit_request,
|
LinkListItem(
|
||||||
link: 'https://support.moonpay.com/hc/en-gb/requests/new'),
|
title: 'MoonPay',
|
||||||
LinkListItem(
|
icon: 'assets/images/moonpay.png',
|
||||||
title: 'Robinhood Connect',
|
linkTitle: S.current.submit_request,
|
||||||
icon: 'assets/images/robinhood_dark.png',
|
link: 'https://support.moonpay.com/hc/en-gb/requests/new'),
|
||||||
lightIcon: 'assets/images/robinhood_light.png',
|
LinkListItem(
|
||||||
linkTitle: S.current.submit_request,
|
title: 'Robinhood Connect',
|
||||||
link: 'https://robinhood.com/contact')
|
icon: 'assets/images/robinhood_dark.png',
|
||||||
]
|
lightIcon: 'assets/images/robinhood_light.png',
|
||||||
//LinkListItem(
|
linkTitle: S.current.submit_request,
|
||||||
// title: 'Yat',
|
link: 'https://robinhood.com/contact')
|
||||||
// icon: 'assets/images/yat_mini_logo.png',
|
]
|
||||||
// hasIconColor: true,
|
];
|
||||||
// linkTitle: 'support@y.at',
|
|
||||||
// link: 'mailto:support@y.at')
|
|
||||||
];
|
|
||||||
|
|
||||||
final docsUrl = 'https://docs.cakewallet.com';
|
final docsUrl = 'https://docs.cakewallet.com';
|
||||||
|
|
||||||
|
@ -114,8 +111,7 @@ abstract class SupportViewModelBase with Store {
|
||||||
var supportUrl =
|
var supportUrl =
|
||||||
"https://app.chatwoot.com/widget?website_token=${secrets.chatwootWebsiteToken}&locale=${locale}";
|
"https://app.chatwoot.com/widget?website_token=${secrets.chatwootWebsiteToken}&locale=${locale}";
|
||||||
|
|
||||||
if (authToken.isNotEmpty)
|
if (authToken.isNotEmpty) supportUrl += "&cw_conversation=$authToken";
|
||||||
supportUrl += "&cw_conversation=$authToken";
|
|
||||||
|
|
||||||
return supportUrl;
|
return supportUrl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue