File tree Expand file tree Collapse file tree 6 files changed +28
-56
lines changed
Expand file tree Collapse file tree 6 files changed +28
-56
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " lsj-js" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.2 " ,
44 "private" : true ,
55 "homepage" : " https://perseids-project.github.io/lsj-js/" ,
66 "dependencies" : {
3636 "jest-dom" : " ^1.11.0" ,
3737 "localforage" : " ^1.7.2" ,
3838 "object-assign" : " 4.1.1" ,
39+ "perseids-react-components" : " ^0.0.2" ,
3940 "postcss-flexbugs-fixes" : " 3.2.0" ,
4041 "postcss-loader" : " 2.0.8" ,
4142 "promise" : " 8.0.1" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { BrowserRouter as Router , Route } from 'react-router-dom' ;
3+ import { PerseidsHeader , PerseidsFooter } from 'perseids-react-components' ;
4+
5+ import 'perseids-react-components/build/css/index.css' ;
36
47import AsyncLookup from './AsyncLookup' ;
5- import Footer from './Footer' ;
68
79const App = ( ) => (
810 < React . Fragment >
11+ < PerseidsHeader >
12+ LSJ Lexicon
13+ </ PerseidsHeader >
914 < div className = "container text-center" >
1015 < header >
1116 < h1 className = "h3 pt-4 mb-1 font-weight-normal" >
12- Liddell-Scott-Jones Greek-English Lexicon (beta)
17+ Liddell-Scott-Jones Greek-English Lexicon
1318 </ h1 >
14- < h5 className = "h5 mb-3 font-weight-normal" >
15- Type a word with Greek or Latin characters below
16- </ h5 >
1719 </ header >
1820 < main >
1921 < div className = "mb-4" >
@@ -23,9 +25,10 @@ const App = () => (
2325 </ div >
2426 </ main >
2527 </ div >
26- < footer >
27- < Footer />
28- </ footer >
28+ < PerseidsFooter
29+ github = "https://github.com/perseids-project/lsj-js"
30+ report = "https://github.com/perseids-project/lsj-js/issues"
31+ />
2932 </ React . Fragment >
3033) ;
3134
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ it('renders without crashing', () => {
1111it ( 'renders title' , ( ) => {
1212 const { getByText } = render ( < App /> ) ;
1313
14- expect ( getByText ( 'Liddell-Scott-Jones Greek-English Lexicon (beta) ' ) ) . toBeInTheDocument ( ) ;
14+ expect ( getByText ( 'Liddell-Scott-Jones Greek-English Lexicon' ) ) . toBeInTheDocument ( ) ;
1515} ) ;
1616
1717it ( 'looks up a word' , ( ) => {
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4974,6 +4974,13 @@ obuf@^1.0.0, obuf@^1.1.1:
49744974 version "1.1.2"
49754975 resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
49764976
4977+ octicons@^8.1.3 :
4978+ version "8.1.3"
4979+ resolved "https://registry.yarnpkg.com/octicons/-/octicons-8.1.3.tgz#a6780e4025b714be9629ac407bd8b06e6360b9ad"
4980+ integrity sha512-i4niyiKz5NF+I66XtvJRK+P5LeDcDKNksa/ch8+pAONK8ru1PopD4cXf2pMWraOZTqiRIaR4uDSUIkT35pb24w==
4981+ dependencies :
4982+ object-assign "^4.1.1"
4983+
49774984on-finished@~2.3.0 :
49784985 version "2.3.0"
49794986 resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
@@ -5221,6 +5228,13 @@ performance-now@^2.1.0:
52215228 version "2.1.0"
52225229 resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
52235230
5231+ perseids-react-components@^0.0.2 :
5232+ version "0.0.2"
5233+ resolved "https://registry.yarnpkg.com/perseids-react-components/-/perseids-react-components-0.0.2.tgz#3d718b519042efdc04d74ced36e08e65908419f0"
5234+ integrity sha512-IMQt3YcE5YnnG/gb5k6/d9o3ivT1nfYNaw6oyK9M8e7XOh5ABYY3qv7GfgXVNh7He7+JFCH6VCOgx+3XUgClAQ==
5235+ dependencies :
5236+ octicons "^8.1.3"
5237+
52245238pify@^2.0.0, pify@^2.3.0 :
52255239 version "2.3.0"
52265240 resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
You can’t perform that action at this time.
0 commit comments