Keeping description consistent across app

This commit is contained in:
Jeff Avallone 2018-02-11 07:11:16 -05:00
parent eef5d50436
commit bdf54945fe
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "regexper", "name": "regexper",
"version": "1.0.0", "version": "1.0.0",
"description": "Regular expression visualization tool", "description": "Regular expression visualization tool using railroad diagrams",
"homepage": "http://regexper.com", "homepage": "http://regexper.com",
"author": { "author": {
"name": "Jeffrey Avallone", "name": "Jeffrey Avallone",

View File

@ -2,6 +2,8 @@ import 'babel-register';
import React from 'react'; import React from 'react';
import ReactDOMServer from 'react-dom/server'; import ReactDOMServer from 'react-dom/server';
import pkg from '../package.json';
import Message from './components/Message'; import Message from './components/Message';
import AlertIcon from 'feather-icons/dist/icons/alert-octagon.svg'; import AlertIcon from 'feather-icons/dist/icons/alert-octagon.svg';
import GithubIcon from 'feather-icons/dist/icons/github.svg'; import GithubIcon from 'feather-icons/dist/icons/github.svg';
@ -11,7 +13,7 @@ module.exports = '<!DOCTYPE html>' + ReactDOMServer.renderToString(
<head> <head>
<meta charSet="utf-8" /> <meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="Regular expression visualizer using railroad diagrams" /> <meta name="description" content={ pkg.description } />
<link rel="author" href="/humans.txt" /> <link rel="author" href="/humans.txt" />