@@ -8,30 +8,30 @@ class Corpora extends Component {
88 < div className = { this . props . className } >
99 < h1 > Corpora</ h1 >
1010 {
11- this . props . corpora . map ( ( connection ) => {
12- let website = connection . get ( 'website' ) || ''
13- if ( connection . get ( 'searchKeywords' ) ) {
14- website = `${ website } /search/${ connection . get ( 'searchKeywords' ) } `
15- } else {
16- website = `${ website } /search`
17- }
18- return (
19- < div className = 'media' key = { connection . get ( 'dbname' ) } >
20- < Link to = { website } className = 'pull-left' >
21- < img src = { 'https://secure.gravatar.com/avatar/' + connection . get ( 'gravatar' ) + '.jpg?s=96&d=retro&r=pg' } alt = 'Corpus image' className = 'media-object' />
22- </ Link >
23- < div className = 'media-body' >
24- < h4 className = 'media-heading' >
25- < Link to = { website } >
26- { connection . get ( 'title' ) }
11+ this . props . corpora . map ( ( connection ) => {
12+ let website = connection . get ( 'website' ) || ''
13+ if ( connection . get ( 'searchKeywords' ) ) {
14+ website = `${ website } /search/${ connection . get ( 'searchKeywords' ) } `
15+ } else {
16+ website = `${ website } /search`
17+ }
18+ return (
19+ < div className = 'media' key = { connection . get ( 'dbname' ) } >
20+ < Link to = { website } className = 'pull-left' >
21+ < img src = { 'https://secure.gravatar.com/avatar/' + connection . get ( 'gravatar' ) + '.jpg?s=96&d=retro&r=pg' } alt = 'Corpus image' className = 'media-object' />
2722 </ Link >
28- </ h4 >
29- < p > { connection . get ( 'description' ) } </ p >
30- </ div >
31- </ div >
32- )
33- } )
34- }
23+ < div className = 'media-body' >
24+ < h4 className = 'media-heading' >
25+ < Link to = { website } >
26+ { connection . get ( 'title' ) }
27+ </ Link >
28+ </ h4 >
29+ < p > { connection . get ( 'description' ) } </ p >
30+ </ div >
31+ </ div >
32+ )
33+ } )
34+ }
3535 </ div >
3636 )
3737 }
0 commit comments