chore(common): updated common to freeCodeCamp

This commit is contained in:
Peter Weinberg
2017-01-14 19:49:01 -05:00
parent d6c76bde8a
commit 3ed485b14a
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ import { handleActions } from 'redux-actions';
import types from './types'; import types from './types';
const initialState = { const initialState = {
title: 'Learn To Code | Free Code Camp', title: 'Learn To Code | freeCodeCamp',
isSignInAttempted: false, isSignInAttempted: false,
user: '', user: '',
lang: '', lang: '',
@ -16,7 +16,7 @@ export default handleActions(
{ {
[types.updateTitle]: (state, { payload = 'Learn To Code' }) => ({ [types.updateTitle]: (state, { payload = 'Learn To Code' }) => ({
...state, ...state,
title: payload + ' | Free Code Camp' title: payload + ' | freeCodeCamp'
}), }),
[types.updateThisUser]: (state, { payload: user }) => ({ [types.updateThisUser]: (state, { payload: user }) => ({

View File

@ -150,7 +150,7 @@ export class Settings extends React.Component {
className='btn-link-social' className='btn-link-social'
href={ '/signout' } href={ '/signout' }
> >
Sign me out of Free Code Camp Sign me out of freeCodeCamp
</Button> </Button>
<Button <Button
block={ true } block={ true }
@ -269,7 +269,7 @@ export class Settings extends React.Component {
className='btn-link-social' className='btn-link-social'
href='/delete-my-account' href='/delete-my-account'
> >
Delete my Free Code Camp account Delete my freeCodeCamp account
</Button> </Button>
<Button <Button
block={ true } block={ true }

View File

@ -212,7 +212,7 @@ module.exports = function(User) {
text: ` text: `
Hello,\n\n Hello,\n\n
This email is confirming that you requested to This email is confirming that you requested to
reset your password for your Free Code Camp account. reset your password for your freeCodeCamp account.
This is your email: ${ info.email }. This is your email: ${ info.email }.
Go to ${ url } to reset your password. Go to ${ url } to reset your password.
\n \n
@ -441,7 +441,7 @@ module.exports = function(User) {
type: 'email', type: 'email',
to: email, to: email,
from: 'Team@freecodecamp.com', from: 'Team@freecodecamp.com',
subject: 'Welcome to Free Code Camp!', subject: 'Welcome to freeCodeCamp!',
protocol: isDev ? null : 'https', protocol: isDev ? null : 'https',
host: isDev ? 'localhost' : 'freecodecamp.com', host: isDev ? 'localhost' : 'freecodecamp.com',
port: isDev ? null : 443, port: isDev ? null : 443,