summaryrefslogtreecommitdiff
path: root/src/pages/NotFound.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-22 13:39:50 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:07 +0200
commitd628e0ac5162bb1baeb16fcf21b688d37bbff758 (patch)
treea26163a319e60e2a99893aadfe7f1cd6fad9363f /src/pages/NotFound.js
parent5633c36d49c4ffd61688b0d05182934973fdd3ce (diff)
Implement dynamic web page document title change
Diffstat (limited to 'src/pages/NotFound.js')
-rw-r--r--src/pages/NotFound.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pages/NotFound.js b/src/pages/NotFound.js
index 51141c3e..4120e285 100644
--- a/src/pages/NotFound.js
+++ b/src/pages/NotFound.js
@@ -1,11 +1,14 @@
import React from 'react';
+import DocumentTitle from "react-document-title";
import TerminalWindow from "../components/not-found/TerminalWindow";
import './NotFound.css';
const NotFound = () => (
- <div className="not-found-backdrop">
- <TerminalWindow/>
- </div>
+ <DocumentTitle title="Page Not Found - OpenDC">
+ <div className="not-found-backdrop">
+ <TerminalWindow/>
+ </div>
+ </DocumentTitle>
);
export default NotFound;