Skip to content

Commit 75df2dd

Browse files
committed
Updated gh-pages build
1 parent 8480d4b commit 75df2dd

File tree

11 files changed

+14
-74
lines changed

11 files changed

+14
-74
lines changed

.DS_Store

2 KB
Binary file not shown.

package-lock.json

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"file-loader": "^2.0.0",
6767
"font-awesome": "^4.7.0",
6868
"gh-pages": "^2.0.1",
69-
"highlightjs": "^9.10.0",
7069
"html-webpack-plugin": "^3.2.0",
7170
"mini-css-extract-plugin": "^0.4.1",
7271
"node-sass": "^4.11.0",
@@ -77,7 +76,6 @@
7776
"react-dom": "^16.0.0",
7877
"react-github-button": "^0.1.11",
7978
"react-github-corner": "^2.3.0",
80-
"react-highlight": "^0.12.0",
8179
"react-test-renderer": "^16.4.1",
8280
"regenerator-runtime": "^0.13.1",
8381
"sass-loader": "^7.1.0",

samples/js/components/Content.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
import React from "react";
2-
import Highlight from "react-highlight";
3-
import { install, } from "helpers/code";
42
import ContainerExample from "components/examples/ContainerExample";
53
import TypeExample from "components/examples/TypeExample";
64
import InsertExample from "components/examples/InsertExample";
75
import AnimationWrapper from "components/examples/AnimationExample";
86
import CustomContentExample from "components/examples/CustomContentExample";
9-
import UsageExample from "components/examples/UsageExample";
10-
11-
function NPMInstall() {
12-
return (
13-
<div className="row">
14-
<div className="col-lg-6 offset-lg-3 column col-md-10 offset-md-1 col-sm-12 heading">
15-
<h2 className="text-center">Install</h2>
16-
<div>
17-
<Highlight>{install}</Highlight>
18-
</div>
19-
</div>
20-
</div>
21-
);
22-
}
237

248
function ExampleHeading() {
259
return (
@@ -39,8 +23,6 @@ function ExampleHeading() {
3923
const Examples = () => {
4024
return (
4125
<React.Fragment>
42-
<NPMInstall />
43-
<UsageExample />
4426
<ExampleHeading />
4527
<ContainerExample />
4628
<TypeExample />

samples/js/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Header() {
77
<div className="header">
88
<div className="header-content">
99
<h1 className="header-title">React-Notifications</h1>
10-
<p className="header-desc">Notifications for React. Highly configurable and easy to use</p>
10+
<p className="header-desc">Delightful and highly customisable React Component to notify your users</p>
1111
<div className="header-buttons">
1212
<GitHubButton type="stargazers" size="large" namespace="teodosii" repo="react-notifications-component" />
1313
</div>

samples/js/components/examples/UsageExample.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

samples/js/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import React from "react";
22
import ReactDOM from "react-dom";
33
import App from "components/App";
44
import "styles/stylesheet.scss";
5-
import "@babel/polyfill";
65

76
ReactDOM.render(<App />, document.getElementById("root"));

samples/styles/stylesheet.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
@import "./litera/theme.scss";
44
@import "~animate.css/animate.min.css";
55
@import "~font-awesome/css/font-awesome.min.css";
6-
@import "~highlight.js/styles/github-gist.css";
76
@import "_customTypes.scss";
87

98
html,

webpack.dev.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ const CleanWebpackPlugin = require("clean-webpack-plugin");
44

55
module.exports = {
66
mode: "development",
7-
87
entry: "./src/react-notification-component.js",
9-
108
devtool: "cheap-module-source-map",
119

1210
output: {

webpack.prod.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ const path = require("path");
77

88
module.exports = {
99
mode: "production",
10-
1110
entry: "./src/react-notification-component.js",
12-
1311
devtool: "source-map",
1412

1513
output: {

0 commit comments

Comments
 (0)