diff --git a/src/app/components/dash-toptool/dash-toptool.component.html b/src/app/components/dash-toptool/dash-toptool.component.html index 37a994d..c0e6ce8 100644 --- a/src/app/components/dash-toptool/dash-toptool.component.html +++ b/src/app/components/dash-toptool/dash-toptool.component.html @@ -1,44 +1,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
@@ -47,9 +13,9 @@ @@ -60,10 +26,9 @@
My Jobs diff --git a/src/app/pages/invite/invite.page.html b/src/app/pages/invite/invite.page.html index fff24b2..05e637a 100644 --- a/src/app/pages/invite/invite.page.html +++ b/src/app/pages/invite/invite.page.html @@ -15,7 +15,7 @@ Name & Email - From Contacts + Links @@ -98,41 +98,51 @@
- + - + Send your link to your email and share it with your friend; any signup will automatically link to your account for points. -
-
- - - - - - - - - + + + +
+
+ + + + + + + + + Send link to my email + + + + + Copy + + + + {{resultText}} + -
-
{{resultText}}
+
@@ -145,7 +155,7 @@
- Send link to my email +
diff --git a/src/app/pages/invite/invite.page.ts b/src/app/pages/invite/invite.page.ts index 097f751..e387a52 100644 --- a/src/app/pages/invite/invite.page.ts +++ b/src/app/pages/invite/invite.page.ts @@ -6,6 +6,7 @@ import {SessionDataProviderService} from "../../store/session-data-provider.serv //import {last} from "rxjs/operators"; import { AlertController } from '@ionic/angular'; import {ContactsDataService} from "../../store/contacts-data.service"; +//import { Clipboard } from '@capacitor/clipboard'; @Component({ selector: 'app-invite', @@ -151,6 +152,18 @@ export class InvitePage implements OnInit { referUsrData: { action:number, member_id: number, uid: string, sessionid: string, refer_link:string }; + + async copyTextToClipboard(linkToCopy){ + + // try { + // await Clipboard.write({ + // string: linkToCopy, + // }); + // console.log('Text copied to clipboard successfully!'); + // } catch (error) { + // console.error('Failed to copy text to clipboard:', error); + // } + } async sendToMyEmail(){ //debugger; const loading = await this.loadingCtrl.create({ diff --git a/src/app/pages/tabs/tabs.page.html b/src/app/pages/tabs/tabs.page.html index 92d0a7c..a6c5817 100644 --- a/src/app/pages/tabs/tabs.page.html +++ b/src/app/pages/tabs/tabs.page.html @@ -24,7 +24,7 @@ - + more