File tree 2 files changed +68
-33
lines changed
projects/commudle-admin/src/app/feature-modules/external-feed/components/external-feed
2 files changed +68
-33
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="external-feed page-padding ">
2
- < nb-card class ="header ">
3
- < nb-card-body >
4
- < h1 >
5
- < nb-icon icon ="cast-outline " status ="warning "> </ nb-icon >
6
- Feed
7
- </ h1 >
8
- < p >
9
- Some links from around the world!
10
- </ p >
11
- </ nb-card-body >
12
- </ nb-card >
13
- < div class ="external-feed-list ">
14
- < div *ngFor ="let post of externalPosts ">
15
- < app-external-feed-hlist-item [feedItem] ="post "> </ app-external-feed-hlist-item >
2
+ < div class ="page-container ">
3
+ < div class ="feed-desktop d-flex justify-content-start ">
4
+ < div class ="left-column ">
5
+ < nb-card class ="header ">
6
+ < nb-card-body >
7
+ Popular Tags
8
+ </ nb-card-body >
9
+ </ nb-card >
10
+ </ div >
11
+ < div class = "right-column ">
12
+ < nb-card class ="header ">
13
+ < nb-card-body >
14
+ < h1 >
15
+ < nb-icon icon ="cast-outline " status ="warning "> </ nb-icon >
16
+ Feed
17
+ </ h1 >
18
+ < p >
19
+ Some links from around the world!
20
+ </ p >
21
+ </ nb-card-body >
22
+ </ nb-card >
23
+ < div class ="external-feed-list ">
24
+ < div *ngFor ="let post of externalPosts ">
25
+ < app-external-feed-hlist-item [feedItem] ="post "> </ app-external-feed-hlist-item >
26
+ </ div >
27
+ </ div >
28
+ < div class ="load-more-button " *ngIf ="canLoadMore && total ">
29
+ < button [disabled] ="isLoading " (click) ="getFeedPosts() " fullWidth nbButton status ="primary " size ="small " outline >
30
+ Load More!
31
+ </ button >
32
+ </ div >
33
+ </ div >
16
34
</ div >
17
35
</ div >
18
- < div class ="load-more-button " *ngIf ="canLoadMore && total ">
19
- < button [disabled] ="isLoading " (click) ="getFeedPosts() " fullWidth nbButton status ="primary " size ="small " outline >
20
- Load More!
21
- </ button >
22
- </ div >
23
36
</ div >
Original file line number Diff line number Diff line change 1
1
@import ' /projects/commudle-admin/src/assets/styles/variables' ;
2
2
.external-feed {
3
- width : 100% ;
4
-
5
- .header {
6
- h1 {
3
+ .left-column {
4
+ width : 300px ;
5
+ // margin-top: 200px;
6
+ .header {
7
+ border : .0625rem solid #e4e9f2 ;
8
+ border-radius : 1rem ;
9
+ box-shadow : none ;
10
+ height : 60px ;
11
+ // h4 {
7
12
font-weight : $fw-500 ;
8
-
9
- nb-icon {
10
- font-size : $fs-40 ;
13
+ font-size : 25px ;
14
+ text-align : justify ;
15
+ // }
16
+ }
17
+ }
18
+ .right-column {
19
+ width : 1000px ;
20
+
21
+ .header {
22
+ h1 {
11
23
font-weight : $fw-500 ;
24
+
25
+ nb-icon {
26
+ font-size : $fs-40 ;
27
+ font-weight : $fw-500 ;
28
+ }
12
29
}
13
30
}
31
+
32
+ }
33
+ }
34
+
35
+ @media (min-width : $media-width ) {
36
+ .external-feed {
37
+ .page-container {
38
+ flex-direction : column ;
39
+ // width: $media-width;
40
+ margin : 0 auto ;
14
41
}
15
-
16
- @media (min-width : $media-width ) {
17
- width : $media-width ;
18
- margin : 0 auto ;
19
- }
20
-
21
- }
42
+ }
43
+ }
You can’t perform that action at this time.
0 commit comments