You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constCTA=h('a',{href: 'document/new',target: '_blank'},[h('button.home-intro-cta','Add my article')]);
298
280
299
281
constContactPopover=(props)=>{
300
282
returnh(Popover,{
@@ -412,11 +394,7 @@ class Home extends Component {
412
394
]),
413
395
` supported by their results, letting researchers explore a firsthand account of an article’s findings and connect to related articles and knowledge. `
414
396
]),
415
-
h(CTAPopover,{
416
-
placement: 'bottom'
417
-
},[
418
-
h('button.home-intro-cta','Add my article')
419
-
])
397
+
CTA
420
398
]),
421
399
h('div.home-intro-figure'),
422
400
h('div.home-explore#home-explore',[
@@ -426,11 +404,7 @@ class Home extends Component {
@@ -470,11 +444,7 @@ class Home extends Component {
470
444
h('h3',`Don’t let your research get left behind`),
471
445
h('p',`Research is increasingly online, interactive, and interconnected. Biofactoid helps you connect your research to the world.`),
472
446
h('p.home-cta-p',[
473
-
h(CTAPopover,{
474
-
placement: 'bottom'
475
-
},[
476
-
h('button.home-cta-alt-button','Add my article')
477
-
]),
447
+
CTA,
478
448
h('a',{
479
449
target: '_blank',
480
450
href: `/document/${SAMPLE_DOC_ID}`
@@ -498,11 +468,7 @@ class Home extends Component {
498
468
])
499
469
]),
500
470
h('p.home-cta-p',[
501
-
h(CTAPopover,{
502
-
placement: 'bottom'
503
-
},[
504
-
h('button.home-cta-alt-button','Add my article')
505
-
]),
471
+
CTA,
506
472
h('a',{
507
473
target: '_blank',
508
474
href: `/document/${SAMPLE_DOC_ID}`
@@ -522,11 +488,7 @@ class Home extends Component {
522
488
h('h3',`Easy sharing `),
523
489
h('p',`Want your colleagues to know about an interesting report? Share an interactive graphical abstract via social media or email with just a click.`),
524
490
h('p.home-cta-p',[
525
-
h(CTAPopover,{
526
-
placement: 'bottom'
527
-
},[
528
-
h('button.home-cta-alt-button','Add my article')
529
-
]),
491
+
CTA,
530
492
h('a',{
531
493
target: '_blank',
532
494
href: `/document/${SAMPLE_DOC_ID}`
@@ -540,11 +502,7 @@ class Home extends Component {
0 commit comments