diff --git a/assets/images/itchio.png b/assets/images/itchio.png new file mode 100644 index 0000000..1a83050 Binary files /dev/null and b/assets/images/itchio.png differ diff --git a/lib/cards.dart b/lib/cards.dart index 1387b59..d331597 100644 --- a/lib/cards.dart +++ b/lib/cards.dart @@ -596,7 +596,9 @@ class CertificateCardState extends State { } }, onTap: () { - launch(widget.model.link); + if (widget.model.link != "") { + launch(widget.model.link); + } }, child: NeonContainer( lightSpreadRadius: size.width > 850 ? 15 : 4, diff --git a/lib/data_file.dart b/lib/data_file.dart index bbb262a..251026e 100644 --- a/lib/data_file.dart +++ b/lib/data_file.dart @@ -37,7 +37,9 @@ class PortfolioDetails { "Enigma Runner is a platformer game, in which the player has to collect artifacts at the end of every level to complete the story. There are some mind boggling twists at the end of every level, which the player needs to overcome to clear the level. Currently It has 4 levels and can be played on IOS, Android and windows", links: [ IconLinkModel("assets/images/google-play.png", - "https://play.google.com/store/apps/details?id=com.Affix.EnigmaRunner") + "https://play.google.com/store/apps/details?id=com.Affix.EnigmaRunner"), + IconLinkModel("assets/images/itchio.png", + "https://affixgames.itch.io/enigma-runner") ]), BuildsModel( assetImage: "assets/images/512.png",