Skip to content

Commit 67072f0

Browse files
committed
Add link to ToS and PP on signup, fix static files on prod
1 parent 979d311 commit 67072f0

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

client/modules/User/pages/SignupView.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ function SignupView() {
2626
<SocialAuthButton service={SocialAuthButton.services.google} />
2727
</div>
2828
<p className="form__navigation-options">
29-
{t('SignupView.AlreadyHave')}
29+
By signing up, you agree to the p5.js Editor&apos;s{' '}
30+
<Link to="/terms-of-use">Terms of Use</Link> and{' '}
31+
<Link to="/privacy-policy">Privacy Policy</Link>.
32+
</p>
33+
<p className="form__navigation-options">
34+
{t('SignupView.AlreadyHave')}{' '}
3035
<Link className="form__login-button" to="/login">
3136
{t('SignupView.Login')}
3237
</Link>

client/styles/components/_form-container.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.form-container {
22
text-align: center;
3-
height: 100%;
43
display: flex;
54
flex-direction: column;
65
align-items: center;
6+
justify-content: center;
7+
flex: 1;
78
}
89

910
.form-container--align-left {

client/styles/layout/_user.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
.email-verification {
1717
height: 100%;
1818
overflow: auto;
19+
display: flex;
20+
flex-direction: column;
1921
@include themify() {
2022
color: getThemifyVariable('primary-text-color');
2123
background-color: getThemifyVariable('background-color');

webpack/config.prod.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ module.exports = {
173173
}),
174174
new CopyWebpackPlugin({
175175
patterns: [
176-
{ from: path.resolve(__dirname, '../translations/locales'), to: path.resolve(__dirname, '../dist/static/locales') }
176+
{ from: path.resolve(__dirname, '../translations/locales'), to: path.resolve(__dirname, '../dist/static/locales') },
177+
{ from: path.resolve(__dirname, '../public'), to: path.resolve(__dirname, '../dist/static') }
177178
]
178179
}
179180
)

0 commit comments

Comments
 (0)