From 726c291102821eca901181e9cd69f87a5fe71af6 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sat, 24 Aug 2024 08:28:20 -0700 Subject: [PATCH] Add CICD link to drawer --- lib/Constants.dart | 2 +- lib/pages/Main.dart | 10 ++++++++++ pubspec.yaml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/Constants.dart b/lib/Constants.dart index 13a7230..a133c66 100644 --- a/lib/Constants.dart +++ b/lib/Constants.dart @@ -8,7 +8,7 @@ class Constants { static const DRAWER_COLOR = Color.fromARGB(148, 0, 97, 97); static const PORTFOLIO_CARD_COLOR = Color.fromARGB(255, 0, 71, 97); - static const VERSION = "Version 1.0.082424+0818"; + static const VERSION = "Version 1.0.082424+0827"; static const COPYRIGHT = "Copyright 2024 - Piccari Creations. All rights Reserved"; static const CLIENTPSK = diff --git a/lib/pages/Main.dart b/lib/pages/Main.dart index 855dcc3..3f648a1 100644 --- a/lib/pages/Main.dart +++ b/lib/pages/Main.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:footer/footer.dart'; import 'package:footer/footer_view.dart'; +import 'package:url_launcher/url_launcher.dart'; import 'package:zontreck/Constants.dart'; import 'package:zontreck/pages/LoginAccount.dart'; import 'package:zontreck/pages/OpenSim.dart'; @@ -95,6 +96,15 @@ class HomePageState extends State { onTap: () { Navigator.pushNamed(context, "/portfolio"); }, + ), + ListTile( + title: Text("J E N K I N S"), + subtitle: Text("CI/CD Server"), + leading: Icon(Icons.build), + onTap: () async { + await launchUrl( + Uri(host: "ci.zontreck.com", port: 443, scheme: "https")); + }, ) ], ), diff --git a/pubspec.yaml b/pubspec.yaml index 05df93c..684e297 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.082424+0818 +version: 1.0.082424+0827 environment: sdk: '>=3.3.4 <4.0.0'