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
867
Issues
867
List
Boards
Labels
Service Desk
Milestones
Merge Requests
47
Merge Requests
47
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
d7276c2e
Commit
d7276c2e
authored
2 hours ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proto): Pro home
parent
7165cacb
epic/minds-pro
1 merge request
!486
WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline
#75401531
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
channel.component.scss
src/app/modules/pro/channel/channel.component.scss
+2
-1
home.component.html
src/app/modules/pro/channel/home/home.component.html
+4
-0
home.component.scss
src/app/modules/pro/channel/home/home.component.scss
+17
-0
home.component.ts
src/app/modules/pro/channel/home/home.component.ts
+4
-0
No files found.
src/app/modules/pro/channel/channel.component.scss
View file @
d7276c2e
...
...
@@ -17,7 +17,8 @@ m-pro--channel {
display
:
grid
;
grid-template-rows
:
repeat
(
2
,
100px
)
1fr
100px
;
grid-template-columns
:
repeat
(
12
,
1fr
);
min-height
:
calc
(
100vh
-
52px
);
/* 52px is the topbar height */
//min-height: calc(100vh - 52px); /* 52px is the topbar height */
min-height
:
100%
;
.m-proChannel__topbar
{
grid-row
:
1
/
span
1
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.html
View file @
d7276c2e
<div
class=
"m-pro--channel-home"
>
<h1
class=
"m-pro--channel-home--title"
>
{{ settings.title }}
</h1>
<h2
class=
"m-pro--channel-home--headline"
>
{{ settings.headline }}
</h2>
<div
class=
"m-pro--channel-home--featured-content"
>
<m-pro--channel-tile
*ngFor=
"let entity of featuredContent"
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.scss
View file @
d7276c2e
.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--headline
{
margin
:
0
0
56px
;
text-align
:
center
;
font-weight
:
300
;
font-size
:
46px
;
}
.m-pro--channel-home--featured-content
{
width
:
80%
;
margin
:
0
auto
;
display
:
grid
;
grid-gap
:
24px
;
grid-template-columns
:
repeat
(
2
,
1fr
);
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.ts
View file @
d7276c2e
...
...
@@ -29,6 +29,10 @@ export class ProChannelHomeComponent implements OnInit {
}
get
settings
()
{
return
this
.
channelService
.
currentChannel
&&
this
.
channelService
.
currentChannel
.
pro_settings
;
}
detectChanges
()
{
this
.
cd
.
markForCheck
();
this
.
cd
.
detectChanges
();
...
...
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