From 6464d5303cf4cabe3717743163f125778c84c442 Mon Sep 17 00:00:00 2001 From: "DESKTOP-BC3NEC6\\chiefsoft" Date: Sun, 26 Feb 2023 18:32:34 -0500 Subject: [PATCH] Updated page --- .../userpage/user-dash/user-dash.page.html | 144 +++++++++++++----- .../userpage/user-dash/user-dash.page.scss | 57 ++++--- src/app/userpage/user-dash/user-dash.page.ts | 3 + 3 files changed, 146 insertions(+), 58 deletions(-) diff --git a/src/app/userpage/user-dash/user-dash.page.html b/src/app/userpage/user-dash/user-dash.page.html index 1216544..dab93d6 100644 --- a/src/app/userpage/user-dash/user-dash.page.html +++ b/src/app/userpage/user-dash/user-dash.page.html @@ -1,51 +1,113 @@ + + + + + + + Silhouette of a person's head + + Avatar Item + + + + + + + {{x.name}} + + +
-
- - - - - Silhouette of a person's head - - Avatar Item - - - - - - - {{x.name}} - - - - +
+ +
+ + + + + + + + + Card Subtitle + + + + Here's a small text description for the card content. Nothing more, nothing less. + + + + + + + + + Card Subtitle + + + + Here's a small text description for the card content. Nothing more, nothing less. + + + + + + + + + + + Card Subtitle + + + + Here's a small text description for the card content. Nothing more, nothing less. + + + + + + + + + Card Subtitle + + + + Here's a small text description for the card content. Nothing more, nothing less. + + + + + + + + +
{{what_is_below}}
- -
{{what_is_below}}
-
-
- + + + {{item.post_title}} + + {{item.post_title}} + + + + + + +
\ No newline at end of file diff --git a/src/app/userpage/user-dash/user-dash.page.scss b/src/app/userpage/user-dash/user-dash.page.scss index 14df91f..4de0a84 100644 --- a/src/app/userpage/user-dash/user-dash.page.scss +++ b/src/app/userpage/user-dash/user-dash.page.scss @@ -1,28 +1,51 @@ .dash_top { - padding: 20px 0px 0px 0px; - position: relative; - // top:50px; + padding: 10px 0 0; + position: relative; + // top:50px; } .slide_c { - //width: 150px; - //background-color: red; - padding: 0px; - font-size: 11px; - text-transform: uppercase; + // width: 150px; + // background-color: red; + padding: 0; + font-size: 11px; + text-transform: uppercase; } ion-slide { - width: unset !important; + width: unset !important; } .box_below { - position: relative; - // top:65px; - background-color: lightcoral; - height: 80%; + position: relative; + // top:65px; + background-color: lightcoral; + margin: 0px; } .dash_box { - height: 100%; - width: 100%; - background-color: yellow; - padding: 2px; + // height: 100%; + width: 100%; + background-color:aliceblue; + padding: 2px; + margin: 0px; } +.home_box_card { + background-color: yellow; + margin: 0px; + // height: 280px; +} + +ion-card { + margin: 0; +} + +.first_card{ + background-image: url('../../../assets/img/myfit_home.jpg'); + background-repeat: no-repeat; + background-size: cover; + height: 250px; +} +.block_list{ + border-radius: 5px; + background-color: aliceblue; + margin: 10px 5px 5px 5px; + +} \ No newline at end of file diff --git a/src/app/userpage/user-dash/user-dash.page.ts b/src/app/userpage/user-dash/user-dash.page.ts index 391fc1f..44d99c6 100644 --- a/src/app/userpage/user-dash/user-dash.page.ts +++ b/src/app/userpage/user-dash/user-dash.page.ts @@ -36,6 +36,9 @@ export class UserDashPage implements OnInit { this.what_is_below = menuData.name; } + selectedBlog(blogItem:any){ + alert(100); + } async loadBlogData(event?: InfiniteScrollCustomEvent) { const loading = await this.loadingCtrl.create({ message: 'Loading..',