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
870
Issues
870
List
Boards
Labels
Service Desk
Milestones
Merge Requests
55
Merge Requests
55
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
4939e408
Commit
4939e408
authored
8 minutes ago
by
Marcelo Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): ability to either signup or login in pro
parent
edf9fb7f
epic/minds-pro
1 merge request
!486
WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline
#77375955
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
signup.component.scss
src/app/modules/pro/channel/signup/signup.component.scss
+21
-8
signup.component.ts
src/app/modules/pro/channel/signup/signup.component.ts
+9
-1
No files found.
src/app/modules/pro/channel/signup/signup.component.scss
View file @
4939e408
...
...
@@ -10,8 +10,8 @@ m-pro--channel-signup {
}
}
.m-ProChannelSignup--hero
{
position
:relative
;
.m-ProChannelSignup--hero
{
position
:
relative
;
.m-ProChannelSignup--hero--inner
{
display
:
flex
;
...
...
@@ -21,7 +21,7 @@ m-pro--channel-signup {
margin
:
auto
;
max-width
:
1280px
;
@media
screen
and
(
max-width
:
1000px
){
@media
screen
and
(
max-width
:
1000px
)
{
padding
:
120px
16px
;
flex-wrap
:
wrap
;
}
...
...
@@ -135,7 +135,19 @@ m-pro--channel-signup {
margin-left
:
0
;
}
minds-form-register
{
.m-proChannelSignup--subtext
{
margin
:
8px
;
color
:
var
(
--
m-pro--text-color
)
!
important
;
&
>
a
{
font-size
:
20px
;
color
:
var
(
--
m-pro--text-color
)
!
important
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
}
minds-form-register
,
minds-form-login
{
.mdl-card
{
background
:
transparent
;
padding
:
0
;
...
...
@@ -169,7 +181,7 @@ m-pro--channel-signup {
}
.m-login-box
.mdl-checkbox__box-outline
{
border-color
:
var
(
--
m-pro--text-color
);
border-color
:
var
(
--
m-pro--text-color
);
}
.m-btn--action
{
...
...
@@ -186,9 +198,10 @@ m-pro--channel-signup {
padding-right
:
16px
;
font-family
:
'Roboto'
,
Helvetica
,
sans-serif
;
color
:
var
(
--
m-pro--text-color
)
!
important
;
a
{
color
:
var
(
--
m-pro--text-color
)
!
important
;
}
}
a
{
color
:
var
(
--
m-pro--text-color
)
!
important
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/signup/signup.component.ts
View file @
4939e408
...
...
@@ -16,7 +16,14 @@ import { ProChannelService } from "../channel.service";
</div>
<div class="m-ProChannelSignup--signup">
<minds-form-register (done)="registered()"></minds-form-register>
<ng-container *ngIf="currentSection === 'login'">
<span class="m-proChannelSignup--subtext">Not on Minds? <a (click)="currentSection = 'register'">Start a Channel</a></span>
<minds-form-login (done)="registered()"></minds-form-login>
</ng-container>
<ng-container *ngIf="currentSection === 'register'">
<span class="m-proChannelSignup--subtext"><a (click)="currentSection = 'login'">I already have an account</a></span>
<minds-form-register (done)="registered()"></minds-form-register>
</ng-container>
</div>
</div>
...
...
@@ -27,6 +34,7 @@ import { ProChannelService } from "../channel.service";
export
class
ProChannelSignupComponent
{
username
:
string
;
currentSection
:
'
login
'
|
'
register
'
=
'
login
'
;
paramsSubscription
:
Subscription
;
...
...
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