diff --git a/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java b/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java new file mode 100644 index 0000000..fb9c726 --- /dev/null +++ b/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java @@ -0,0 +1,5 @@ +package br.com.entra21.teamroxo.TMSProject.controllers; + +public class CountVisitorController { + +} diff --git a/frontend/main/src/app/insight/insight.component.html b/frontend/main/src/app/insight/insight.component.html index ba3ab9d..f84ef4b 100644 --- a/frontend/main/src/app/insight/insight.component.html +++ b/frontend/main/src/app/insight/insight.component.html @@ -1,35 +1,41 @@
-
-
-

4

-

New Orders

+ +
+
+ +

10

+ + +

New Registers Packages

+
- More info + More info
-
+
+

12%

Bounce Rate

- More info + More info
-
+

4

User Registrations

@@ -37,27 +43,27 @@

4

- More info + More info
-
+
-

15

+

40

Visitors

- More info + More info
-
+

@@ -67,10 +73,10 @@

- -
@@ -120,7 +126,7 @@

4 5 6 - 7 + 7 8 9 @@ -146,7 +152,7 @@

21 22 23 - 24 + 24 @@ -197,8 +203,8 @@

class="month">JunJulAugSepOctSepOctNovDec diff --git a/frontend/main/src/app/insight/insight.component.ts b/frontend/main/src/app/insight/insight.component.ts index c351cd1..c293e1d 100644 --- a/frontend/main/src/app/insight/insight.component.ts +++ b/frontend/main/src/app/insight/insight.component.ts @@ -1,4 +1,7 @@ import { Component, OnInit } from '@angular/core'; +import { Router } from '@angular/router'; +import { RctQtComponent } from '../rct-qt/rct-qt.component'; +import { HttpClient } from '@angular/common/http'; @Component({ selector: 'app-insight', @@ -6,10 +9,36 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./insight.component.css'] }) export class InsightComponent implements OnInit { + count: any; - constructor() { } + constructor(private router:Router) { } ngOnInit(): void { } + register(){ + this.router.navigateByUrl('pack-register') + } + + clients(){ + this.router.navigateByUrl('users') + } + + + // public get countVisitors() : any { + // return this.countVisitors + // } + + // contador(){ + // this.countVisitors + // console.log(this.countVisitors); + + // } + + + + + + + }