Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Added: PageLoading now use "Loading..." has a title
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Jun 10, 2016
1 parent d9b58e5 commit c3b7ed8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## HEAD

### Boilerplate

- Added: ``PageLoading`` now use "Loading..." has a title
(@MoOx)

# 0.13.0 - 2016-06-07

## tl;dr;
Expand Down
1 change: 1 addition & 0 deletions __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ test("should have html files", (t) => {
t.truthy(includes(
"loading/index.html",
[
">Loading...",
"window.__INITIAL_STATE__ = {\"pages\":{\"/loading/\"",
]
))
Expand Down
4 changes: 4 additions & 0 deletions boilerplate/web_modules/layouts/PageLoading/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from "react"
import Helmet from "react-helmet"
import TopBarProgressIndicator from "react-topbar-progress-indicator"

import styles from "./index.css"
Expand All @@ -16,6 +17,9 @@ export default class PageLoading extends Component {
render() {
return (
<div>
<Helmet
title={ "Loading..." }
/>
<TopBarProgressIndicator />
<div className={ styles.loader }>
<div className={ styles.spinner }></div>
Expand Down
4 changes: 4 additions & 0 deletions docs/web_modules/layouts/PageLoading/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from "react"
import Helmet from "react-helmet"
import TopBarProgressIndicator from "react-topbar-progress-indicator"

import Banner from "../../Banner"
Expand All @@ -18,6 +19,9 @@ export default class PageLoading extends Component {
render() {
return (
<div>
<Helmet
title={ "Loading..." }
/>
<TopBarProgressIndicator />
<Banner small>
<h1>{ " " }</h1>
Expand Down

0 comments on commit c3b7ed8

Please sign in to comment.