Skip to content

Commit

Permalink
feat: #244 - Update page title - fix invalid file name
Browse files Browse the repository at this point in the history
  • Loading branch information
nphivu414 authored and phmngocnghia committed Feb 14, 2020
1 parent 48f53d7 commit 850c292
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/react-app-scaffolder/generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ module.exports = class extends Generator {
author,
})
} else {
this.fs.copyTpl(this.templatePath('_package.base.isFoundation.json'), this.destinationPath('./package.json'), {
this.fs.copyTpl(this.templatePath('_package.base.is-foundation.json'), this.destinationPath('./package.json'), {
name,
repo,
description,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Authenticated: React.FunctionComponent<AuthenticatedProps> = () =>
return (
<FlexContainerBasic hasPadding>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>You are now authenticated against our sandbox data</SubTitleH5>
</FlexContainerResponsive>
</FlexContainerBasic>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Home: React.FunctionComponent<HomeProps> = () => {
return (
<FlexContainerBasic hasPadding hasBackground>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>
Click <Link to="/login">here</Link> to login
</SubTitleH5>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Authenticated: React.FunctionComponent<AuthenticatedProps> = () =>
<ErrorBoundary>
<FlexContainerBasic hasPadding>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>You are now authenticated against our sandbox data</SubTitleH5>
</FlexContainerResponsive>
</FlexContainerBasic>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Home: React.FunctionComponent<HomeProps> = () => {
<ErrorBoundary>
<FlexContainerBasic hasPadding hasBackground>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>
Click <Link to="/login">here</Link> to login
</SubTitleH5>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Authenticated: React.FunctionComponent<AuthenticatedProps> = () =>
<ErrorBoundary>
<FlexContainerBasic hasPadding>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>You are now authenticated against our sandbox data</SubTitleH5>
</FlexContainerResponsive>
</FlexContainerBasic>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Home: React.FunctionComponent<HomeProps> = () => {
<ErrorBoundary>
<FlexContainerBasic hasPadding hasBackground>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
<SubTitleH5>
Click <Link to="/login">here</Link> to login
</SubTitleH5>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const generateMenuConfig = (
icon: <FaCloud className="nav-item-icon" />,
callback: () =>
(window.location.href = !window.location.href.includes('dev')
? 'https://marketplace.reapit.com/client/installed'
: 'https://dev.marketplace.reapit.com/client/installed'),
? 'https://marketplace.reapit.cloud/client/installed'
: 'https://dev.marketplace.reapit.cloud/client/installed'),
type: 'PRIMARY',
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/smb/src/components/pages/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const Home: React.FC<RouteComponentProps> = ({ location, history }: Route
return (
<FlexContainerBasic hasPadding hasBackground>
<FlexContainerResponsive flexColumn hasPadding hasBackground>
<H3>Welcome To Reapit Elements</H3>
<H3>Welcome To Reapit Foundations</H3>
{renderContent({
loading,
error,
Expand Down

0 comments on commit 850c292

Please sign in to comment.