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
875
Issues
875
List
Boards
Labels
Service Desk
Milestones
Merge Requests
45
Merge Requests
45
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
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
cbc26576
Commit
cbc26576
authored
26 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wip): /pro page
parent
cebd9a88
epic/upgrades-page
1 merge request
!578
WIP: Marketing pages
Pipeline
#87150219
running with stages
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2491 additions
and
33 deletions
+2491
-33
src/app/common/components/marketing/marketing-styles.scss
src/app/common/components/marketing/marketing-styles.scss
+112
-2
src/app/modules/pro/channel/subscription/subscription.component.html
...ules/pro/channel/subscription/subscription.component.html
+0
-1
src/app/modules/pro/marketing.component.html
src/app/modules/pro/marketing.component.html
+29
-26
src/app/modules/pro/marketing.component.ts
src/app/modules/pro/marketing.component.ts
+1
-1
src/app/modules/upgrades/upgrades.component.html
src/app/modules/upgrades/upgrades.component.html
+7
-3
src/assets/marketing/deco_2-straight.svg
src/assets/marketing/deco_2-straight.svg
+2342
-0
src/assets/photos/podcast-people.jpg
src/assets/photos/podcast-people.jpg
+0
-0
No files found.
src/app/common/components/marketing/marketing-styles.scss
View file @
cbc26576
...
...
@@ -8,12 +8,27 @@
}
}
.m-marketing
--
title
,
.m-marketing
__
title
,
h1
{
font-size
:
22px
;
line-height
:
44px
;
font-weight
:
bold
;
opacity
:
0
.7
;
margin
:
12px
0
4px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-800
);
}
}
.m-marketing__subtitle
,
h2
{
font-weight
:
900
;
font-size
:
42px
;
line-height
:
44px
;
margin
:
0
0
23px
;
position
:
relative
;
z-index
:
0
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
32px
;
...
...
@@ -21,7 +36,7 @@
margin
:
0
0
18px
;
}
&
.m-marketing
--title__bigger-t
itle
{
&
.m-marketing
__subtitle--asT
itle
{
font-size
:
48px
;
line-height
:
53px
;
margin
:
0
0
26px
;
...
...
@@ -49,6 +64,7 @@
right
:
-0
.03em
;
bottom
:
0
.22em
;
pointer-events
:
none
;
z-index
:
-1
;
}
}
}
...
...
@@ -101,4 +117,98 @@
}
}
}
// Style 2
&
.m-marketing__section--style-2
{
.m-marketing__wrapper
{
position
:
relative
;
z-index
:
0
;
padding
:
72px
0
32px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
//padding: 30px 0;
//margin: 0 20px;
}
}
.m-marketing__body
{
position
:
relative
;
&
:
:
before
{
content
:
''
;
position
:
absolute
;
top
:
0
;
right
:
-290px
;
bottom
:
-56px
;
left
:
0
;
transform
:
translate
(
-86px
,
-56px
);
clip-path
:
polygon
(
0%
0%
,
0%
100%
,
100%
92%
,
100%
0%
);
background
:
linear-gradient
(
180deg
,
#f6eded
0%
,
#f5f5fe
99
.99%
);
// TODO: Theme
z-index
:
-1
;
}
}
p
.m-marketing__description
{
margin-bottom
:
42px
;
padding-right
:
200px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-300
);
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding-right
:
0
;
}
}
.m-marketing__image
{
position
:
relative
;
z-index
:
0
;
img
{
object-fit
:
contain
;
clip-path
:
polygon
(
0%
1%
,
0%
97%
,
100%
100%
,
100%
0%
);
}
span
{
display
:
inline-block
;
position
:
relative
;
// Deco
&
:
:
before
{
content
:
''
;
display
:
block
;
position
:
absolute
;
width
:
393px
;
height
:
193px
;
bottom
:
0
;
right
:
0
;
transform
:
translate
(
45px
,
32px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_1.svg')
no-repeat
;
z-index
:
-1
;
}
&
:
:
after
{
content
:
''
;
display
:
block
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
284px
;
height
:
262px
;
transform
:
translate
(
35px
,
-35px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_2-straight.svg')
no-repeat
;
z-index
:
-1
;
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/subscription/subscription.component.html
View file @
cbc26576
<div
*ngIf=
"isLoggedIn"
>
<ng-container
*ngIf=
"!inProgress; else inProgressSpinner"
>
<button
[hidden]=
"true"
*ngIf=
"!active"
class=
"mdl-button mdl-button--colored mdl-color--green"
[disabled]=
"inProgress || criticalError"
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/marketing.component.html
View file @
cbc26576
<div
class=
"m-marketing m-marketing__Pro"
>
<div
class=
"m-marketing--hero"
>
<div
class=
"m-marketing--hero--video"
>
<img
[src]=
"minds.cdn_assets_url + 'assets/photos/fractal.jpg'"
/>
</div>
<div
class=
"m-marketing--hero--inner"
>
<div
class=
"m-marketing--hero--overlay"
></div>
<m-marketing
class=
"m-pro__marketing"
pageTitle=
"Minds Pro"
i18n-pageTitle
>
<div
class=
"m-marketing__main m-marketing__section--style-2"
>
<div
class=
"m-grid m-marketing__wrapper"
>
<div
class=
"m-grid__column-7 m-grid__column-12--mobile m-marketing__body"
>
<h1
i18n
>
Minds Pro
</h1>
<div
class=
"m-marketing--hero--slogans"
>
<h1
i18n
>
Minds Pro
</h1>
<h2
i18n
>
The ultimate platform for
<em>
independent content creators
</em>
</h2>
<h3
i18n
>
The ultimate platform for independent content creators on the
Internet.
</h3>
<p
class=
"m-marketing__description"
i18n
>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci
doloremque eveniet incidunt magnam possimus quibusdam rem veritatis
voluptate! Aperiam, eum.
</p>
<ul>
<li
i18n
>
Unlimited HD video
</li>
<li
i18n
>
Custom domains
</li>
<li
i18n
>
Complete monetization
</li>
<li
i18n
>
Full analytics console
</li>
<li
i18n
>
Access to every Minds user
</li>
<li
i18n
>
Custom branding
</li>
</ul>
<div
class=
""
>
<m-pro--subscription
(onEnable)=
"goToSettings()"
></m-pro--subscription>
</div>
</div>
<div
class=
"m-marketing--hero--actions m-marketing--action-button"
>
<m-pro--subscription
(onEnable)=
"goToSettings()"
></m-pro--subscription>
<div
class=
"m-grid__column-5 m-grid__column-12--mobile m-marketing__image"
>
<span>
<img
[src]=
"cdnAssetsUrl + 'assets/photos/podcast-people.jpg'"
/>
</span>
</div>
</div>
</div>
</div>
<m-footer></m-footer>
<m-marketing
__asFeaturedIn
slot=
"2"
></m-marketing
__asFeaturedIn
>
</m-marketing>
This diff is collapsed.
Click to expand it.
src/app/modules/pro/marketing.component.ts
View file @
cbc26576
...
...
@@ -7,7 +7,7 @@ import { Router } from '@angular/router';
changeDetection
:
ChangeDetectionStrategy
.
OnPush
,
})
export
class
ProMarketingComponent
{
minds
=
window
.
Minds
;
readonly
cdnAssetsUrl
:
string
=
window
.
Minds
.
cdn_assets_url
;
constructor
(
protected
router
:
Router
)
{}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/upgrades/upgrades.component.html
View file @
cbc26576
<m-marketing
class=
"m-upgrades"
pageTitle=
"Upgrade your account"
i18n-pageTitle
>
<m-marketing
class=
"m-upgrades"
pageTitle=
"Upgrade your Minds experience"
i18n-pageTitle
>
<div
class=
"m-marketing__main m-marketing__section--style-1"
>
<div
class=
"m-grid m-marketing__wrapper"
>
<div
class=
"m-grid__column-5 m-grid__column-12--mobile m-upgrades__body"
>
<h
1
class=
"m-marketing--title__bigger-t
itle"
i18n
>
<h
2
class=
"m-marketing__subtitle--asT
itle"
i18n
>
Upgrade your Minds experience
</h
1
>
</h
2
>
<p
class=
"m-marketing__description"
i18n
>
Minds offers a unique range of powerful upgrades that will supercharge
...
...
This diff is collapsed.
Click to expand it.
src/assets/marketing/deco_2-straight.svg
0 → 100644
View file @
cbc26576
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
src/assets/photos/podcast-people.jpg
0 → 100644
View file @
cbc26576
72.5 KB
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