Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
828
Issues
828
List
Boards
Labels
Service Desk
Milestones
Merge Requests
59
Merge Requests
59
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
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
69546551
Commit
69546551
authored
2 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): run homepage signup experiments
parent
576b9cc0
master
No related merge requests found
Pipeline
#67149956
running with stages
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
36 deletions
+26
-36
button.component.scss
...ponents/android-app-download-button/button.component.scss
+10
-22
button.component.ts
...omponents/android-app-download-button/button.component.ts
+2
-7
v2-topbar.component.html
src/app/common/layout/v2-topbar/v2-topbar.component.html
+5
-4
v2-topbar.component.scss
src/app/common/layout/v2-topbar/v2-topbar.component.scss
+1
-1
register.ts
src/app/modules/forms/register/register.ts
+0
-1
homepage.component.html
src/app/modules/homepage/homepage.component.html
+2
-0
homepage.component.scss
src/app/modules/homepage/homepage.component.scss
+3
-1
homepage.component.ts
src/app/modules/homepage/homepage.component.ts
+3
-0
No files found.
src/app/common/components/android-app-download-button/button.component.scss
View file @
69546551
.m-androidApp__download
{
box-sizing
:
border-box
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
0
.6
);
border-radius
:
8px
;
background
:
#111
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-around
;
display
:
block
;
position
:
relative
;
text-decoration
:
none
;
width
:
136px
;
height
:
48px
;
padding
:
0
8px
;
margin
:
auto
;
cursor
:
pointer
;
.m-androidAppDownload__background
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
border-radius
:
8px
;
img
{
width
:
auto
;
max-width
:
300%
;
}
>
*
{
display
:
inline
;
vertical-align
:
middle
;
line-height
:
42px
;
}
h2
{
padding-left
:
4px
;
margin
:
0
;
font-size
:
1
0
px
;
font-size
:
1
5
px
;
font-weight
:
600
;
letter-spacing
:
0
.25px
;
text-rendering
:
optimizeLegibility
;
-webkit-font-smoothing
:
antialiased
;
z-index
:
2
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
...
...
@@ -51,6 +40,5 @@
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
z-index
:
2
;
}
}
This diff is collapsed.
Click to expand it.
src/app/common/components/android-app-download-button/button.component.ts
View file @
69546551
...
...
@@ -5,15 +5,10 @@ import { Router } from "@angular/router";
selector
:
'm-androidApp__download'
,
template
:
`
<a routerLink="/mobile" class="m-androidApp__download">
<div class="m-androidAppDownload__background">
<img [src]="minds.cdn_assets_url + 'assets/photos/circles.png'">
</div>
<i class="material-icons">android</i>
<h2>
Minds
Android App
Android App
</h2>
<i class="material-icons">android</i>
</a>
`
})
...
...
This diff is collapsed.
Click to expand it.
src/app/common/layout/v2-topbar/v2-topbar.component.html
View file @
69546551
...
...
@@ -44,8 +44,9 @@
(
mouseleave
)="
mouseLeave
()"
/>
</a>
<ng-container
*
ngTemplateOutlet=
"navLinks"
></ng-container>
<ng-container
*
ngIf=
"getCurrentUser()"
>
<ng-container
*
ngTemplateOutlet=
"navLinks"
></ng-container>
</ng-container>
</nav>
</div>
...
...
@@ -68,12 +69,12 @@
title=
"Login"
i18n-title
>
Login
Login
/ Signup
</a>
</div>
</ng-template>
<div
class=
"m-v2-topbar__UserMenu"
>
<div
class=
"m-v2-topbar__UserMenu"
*
ngIf=
"getCurrentUser()"
>
<ng-content
select=
"[icons]"
></ng-content>
<m-user-menu></m-user-menu>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/common/layout/v2-topbar/v2-topbar.component.scss
View file @
69546551
...
...
@@ -255,7 +255,7 @@
.m-v2-topbar__Container__LoginWrapper
{
@media
screen
and
(
max-width
:
480px
)
{
display
:
none
;
//
display: none;
}
>
a
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/forms/register/register.ts
View file @
69546551
...
...
@@ -48,7 +48,6 @@ export class RegisterForm {
tos
:
[
false
],
exclusive_promotions
:
[
false
],
captcha
:
[
''
],
Homepage121118
:
experiments
.
getExperimentBucket
(
'Homepage121118'
),
});
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/homepage/homepage.component.html
View file @
69546551
...
...
@@ -42,6 +42,7 @@
</section>
<ng-container
*
mExperiment=
"'Homepage200619';bucket:'base'"
>
<section
class=
"m-homepage--section m-homepage"
style=
"padding-top:0; padding-bottom: 0;"
>
<div
class=
"m-homepage--section--grid"
>
...
...
@@ -106,6 +107,7 @@
</div>
</div>
</ng-container>
<div
class=
"mdl-grid mdl-grid--no-spacing m-homepage--footer"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/homepage/homepage.component.scss
View file @
69546551
...
...
@@ -18,6 +18,7 @@
@media
screen
and
(
max-width
:
1000px
){
padding
:
120px
16px
;
flex-wrap
:
wrap
;
}
@media
screen
and
(
max-width
:
$max-mobile
)
{
padding
:
62px
12px
;
...
...
@@ -121,7 +122,8 @@
margin-left
:
16px
;
@media
screen
and
(
max-width
:
1000px
){
display
:none
;
flex-basis
:
100%
;
margin-left
:
0
;
}
minds-form-register
{
.mdl-card
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/homepage/homepage.component.ts
View file @
69546551
...
...
@@ -92,4 +92,7 @@ export class HomepageComponent {
});
}
onSourceError
()
{
console
.
log
(
'video failed'
);
}
}
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