diff --git a/apps/ui/src/app/shared/components/header/header.component.html b/apps/ui/src/app/shared/components/header/header.component.html
index f9df704..1701325 100644
--- a/apps/ui/src/app/shared/components/header/header.component.html
+++ b/apps/ui/src/app/shared/components/header/header.component.html
@@ -1,7 +1,7 @@
@@ -10,7 +10,7 @@
URL Shortener
Pastebin
diff --git a/apps/ui/src/app/shared/interfaces/http.ts b/apps/ui/src/app/shared/interfaces/http.ts
index 9c7180d..ce741a4 100644
--- a/apps/ui/src/app/shared/interfaces/http.ts
+++ b/apps/ui/src/app/shared/interfaces/http.ts
@@ -20,3 +20,32 @@ export interface ApiResponse {
data: T;
errors: string[] | null;
}
+
+export interface Page {
+ content: T[];
+ pageable: {
+ pageNumber: number;
+ pageSize: number;
+ offset: number;
+ paged: boolean;
+ unpaged: boolean;
+ sort: {
+ sorted: boolean;
+ unsorted: boolean;
+ empty: boolean;
+ };
+ };
+ sort: {
+ sorted: boolean;
+ unsorted: boolean;
+ empty: boolean;
+ };
+ size: number;
+ totalElements: number;
+ totalPages: number;
+ empty: boolean;
+ first: boolean;
+ last: boolean;
+ number: number;
+ numberOfElements: number;
+}
diff --git a/apps/ui/src/app/shared/interfaces/url.ts b/apps/ui/src/app/shared/interfaces/url.ts
new file mode 100644
index 0000000..e8c1b0a
--- /dev/null
+++ b/apps/ui/src/app/shared/interfaces/url.ts
@@ -0,0 +1,9 @@
+export interface Url {
+ id: number;
+ url: string;
+ slug: string;
+ custom: boolean;
+ userId: string | null;
+ createdAt: string;
+ expiresAt: string;
+}
diff --git a/apps/ui/src/app/shared/layouts/dashboard-layout/dashboard-layout.component.html b/apps/ui/src/app/shared/layouts/dashboard-layout/dashboard-layout.component.html
index 1b2aae5..61b5417 100644
--- a/apps/ui/src/app/shared/layouts/dashboard-layout/dashboard-layout.component.html
+++ b/apps/ui/src/app/shared/layouts/dashboard-layout/dashboard-layout.component.html
@@ -1,5 +1,5 @@
-
-
+
+
-
-
+
+
+
+ {{ user?.fullName }}
+ {{ user?.formattedRole }}
+
-
-
- {{ user?.firstName }}
-
-
- {{ user?.email }}
-
-
@@ -88,23 +64,28 @@