Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
861
Issues
861
List
Boards
Labels
Service Desk
Milestones
Merge Requests
54
Merge Requests
54
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
e12f59de
Commit
e12f59de
authored
29 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): Pro homepage
parent
01017e31
epic/minds-pro
1 merge request
!486
WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline
#76055182
passed with stages
in 28 minutes and 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
23 deletions
+44
-23
home.component.html
src/app/modules/pro/channel/home/home.component.html
+25
-12
home.component.scss
src/app/modules/pro/channel/home/home.component.scss
+19
-11
No files found.
src/app/modules/pro/channel/home/home.component.html
View file @
e12f59de
<div
class=
"m-pro--channel-home"
>
<div
class=
"m-pro--channel-home--featured-content"
>
<m-pro--channel-tile
*ngFor=
"let entity of featuredContent"
[entity]=
"entity"
(click)=
"onContentClick(entity)"
></m-pro--channel-tile>
<div
class=
"m-pro--channel-home--section"
*ngIf=
"featuredContent?.length"
>
<h2
i18n
>
Featured Content
</h2>
<div
class=
"m-pro--channel-home--featured-content"
>
<m-pro--channel-tile
*ngFor=
"let entity of featuredContent"
[entity]=
"entity"
(click)=
"onContentClick(entity)"
></m-pro--channel-tile>
</div>
</div>
<div
class=
"m-pro--channel-home--section"
*ngIf=
"content?.length"
>
<h2
i18n
>
Top Content
</h2>
<div
class=
"m-pro--channel-home--content"
>
<m-pro--channel-tile
*ngFor=
"let entity of content"
[entity]=
"entity"
(click)=
"onContentClick(entity)"
></m-pro--channel-tile>
</div>
</div>
<div
class=
"m-pro--channel-home--content"
>
<m-pro--channel-tile
*ngFor=
"let entity of content"
[entity]=
"entity"
(click)=
"onContentClick(entity)"
></m-pro--channel-tile>
<div
class=
"m-pro--channel-home--loader"
*ngIf=
"inProgress"
>
<div
class=
"mdl-spinner mdl-js-spinner is-active"
[
mdl
]
></div>
</div>
</div>
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.scss
View file @
e12f59de
.m-pro--channel-home
{
.m-pro--channel-home--title
{
margin
:
0
0
16px
;
text-align
:
center
;
font-weight
:
700
;
font-size
:
60px
;
letter-spacing
:
1px
;
.m-pro--channel-home--section
{
margin-top
:
72px
;
&
:first-child
{
margin-top
:
0
;
}
>
h2
{
margin
:
0
0
24px
;
padding
:
0
;
text-align
:
center
;
text-transform
:
uppercase
;
font-size
:
24px
;
font-weight
:
300
;
letter-spacing
:
2px
;
line-height
:
1
.25
;
}
}
.m-pro--channel-home--headline
{
margin
:
0
0
56px
;
.m-pro--channel-home--loader
{
text-align
:
center
;
font-weight
:
300
;
font-size
:
46px
;
margin
:
32px
auto
;
}
.m-pro--channel-home--featured-content
,
...
...
@@ -43,7 +52,6 @@
}
.m-pro--channel-home--content
{
margin
:
24px
auto
;
grid-template-columns
:
repeat
(
3
,
1fr
);
@media
screen
and
(
max-width
:
$max-mobile
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment