@@ -2,6 +2,7 @@ const html = require('choo/html')
22const css = require ( 'sheetify' )
33const footer = require ( '../../elements/footer' )
44const datIcon = require ( '../../elements/icon' )
5+ const importButton = require ( '../../elements/import-button' )
56const homeSection = require ( '../../elements/home-section' )
67const panel = require ( '../../components/auth/user-panel' )
78const loginButton = require ( '../../components/login-button' )
@@ -10,100 +11,110 @@ const message = require('../../elements/message')
1011module . exports = function ( state , emit ) {
1112 const splash = css `
1213 :host {
13- background-repeat: repeat-y;
14- background-position: center -75px;
14+ background-repeat: no-repeat;
15+ background-position: center -50px;
16+ background-size:100%;
1517
1618 @media screen and (min-width: 30em) {
1719 /* ns - not small breakpoint from tachyons */
18- background-position: center -175px ;
20+ background-position: center -200px ;
1921 }
2022 }
2123 `
2224 const backgroundImageUrl = '/public/img/bg-landing-page.svg'
23- const hex = datIcon ( 'hexagon-up' , { class : 'color-green-darker ' } )
25+ const hex = datIcon ( 'hexagon-up' , { class : 'color-green-disabled ' } )
2426 return html `
25- < div class ="min-vh-100 pb7 ">
26- < div class ="absolute w-100 ">
27+ < div class ="home ">
28+ < div class ="absolute dt w-100 ">
2729 ${ message ( state . message ) }
28- < div class ="tr pa2 ph4-l ">
30+ < div class ="dtc v-mid w-75 pa2 ph4-l ">
31+ ${ importButton ( emit ) }
32+ </ div >
33+ < div class ="dtc v-mid w-25 tr pa2 ph4-l ">
2934 ${ loginButton ( state , emit ) }
3035 ${ panel ( state , emit ) }
3136 </ div >
3237 </ div >
33- < div class ="${ splash } pb6-ns pb4 w-100 center " style ="background-image: url(${ backgroundImageUrl } ) ">
34- < section class ="tc pa3 pt5-ns ">
35- < h1 class ="f3 f2-m f1-l fw2 black-90 mv3 tracked ">
38+ < div class ="bg-neutral color-white ${ splash } pb4 w-100 center " style ="background-image: url(${ backgroundImageUrl } ) ">
39+ < section class ="tc pa3 pt6 ">
40+ < h1 class ="f3 f2-m f1-l fw2 mv3 tracked ">
3641 < span class ="dib grow w2 h2 hex-title-icon ">
3742 ${ hex }
3843 </ span > datBase
3944 </ h1 >
40- < h2 class ="f5 fw2 color-neutral-60 mb4 lh-copy ">
41- Search for data preprints on DatBase!
45+ < h2 class ="f4 fw3 color-neutral-10 mb4 lh-copy ">
46+ Open data powered by Dat< br >
47+ Future-friendly apps for your research data pipeline
4248 </ h2 >
43- < div class ="w-90 w-50-l center ">
44- ${ search ( ) }
45- </ div >
46- </ section >
47- < section class ="bg-white mt4 mt3-ns mw7-ns center pa3 ph5-ns ">
48- < p class ="f4 lh-copy measure-wide ">
49- Research papers are becoming increasingly accessible through open access and preprint servers.
50- Research data is still behind locked custom APIs, confusing interfaces, or slow HTTP servers.
51- We dream of world when all this data can be accessed as easy as the web.
52- < a href ="# "> Imagine with us</ a > .
53- </ p >
54- < p class ="f3 lh-copy measure-wide ">
55- DatBase is distributed preprints for data!
56- Built by < a href ="http://datproject.org "> Dat Project</ a > .
57- </ p >
5849 </ section >
5950 </ div >
60- < section class ="pa3 w-100 bg-neutral-04 ">
61- < div class ="mw7 center ">
62- < div class ="pa4-l ">
63- < form class ="mb0 pa4 br2-ns ba b--green ">
64- < fieldset class ="cf bn ma0 pa0 ">
65- < legend class ="pa0 f5 f4-ns mb3 black-80 "> Get updates! We promise to only send the very exciting stuff.</ legend >
66- < div class ="cf ">
67- < label class ="clip " for ="email-address "> Email Address</ label >
68- < input class ="f6 f5-l input-reset bn fl black-80 bg-white pa3 lh-solid w-100 w-75-m w-80-l br2-ns br--left-ns " placeholder ="Your Email Address " type ="text " name ="email-address " value ="" id ="email-address ">
69- < input class ="f6 f5-l button-reset fl pv3 tc bn bg-animate bg-black-70 hover-bg-black white pointer w-100 w-25-m w-20-l br2-ns br--right-ns " type ="submit " value ="Subscribe ">
70- </ div >
71- </ fieldset >
72- </ form >
73- </ div >
74- </ div >
75- </ section >
7651 ${ homeSection ( {
77- 'title' : 'What are Data Preprints? ' ,
78- 'subtitle' : 'With data preprints you can make data public & shareable before you are ready to publish .' ,
52+ 'title' : 'Coming to a computer near you... ' ,
53+ 'subtitle' : 'Built on the Dat Protocol, we imagine existing research tools enhanced with data-first infrastructure .' ,
7954 'sections' : [
8055 {
81- 'title' : 'User Friendly ' ,
56+ 'title' : 'Try Dat ' ,
8257 'text' : `
83- Dat's simple to use command line tool works alognside apps like Dropbox or Google Drive.
84- Keep data private until you are ready to prepublish without changing your data management software.
58+ See what it is like to use Dat!
59+ The Try Dat workshop will walk you through sharing and downloading data.
60+ It showcases unique properties of the Dat Protocol.
61+ <br>
62+ <a class="f5 b w-auto dib mt3 color-green hover-color-green-hover ba b--green pv2 ph3 link" href="http://try-dat.com">
63+ Try Dat Now!
64+ </a>
8565 `
8666 } ,
8767 {
88- 'title' : 'Reproducible History ' ,
68+ 'title' : 'Dat in the Lab ' ,
8969 'text' : `
90- Dat uses cryptographic registers to certify data ownership and track changes over time.
91- A history of changes improves data reproducibility and transparency.
70+ A collaboration with the California Digitial Library, funded by the Moore Foundation.
71+ Learn more about our pilot to integrate Dat into research data workflows.
72+ <br>
73+ <a class="f5 b w-auto dib mt3 color-green hover-color-green-hover ba b--green pv2 ph3 link" href="http://blog.datproject.org/tag/science">
74+ Follow on our Blog
75+ </a>
9276 `
9377 } ,
9478 {
95- 'title' : 'One-Click Publish ' ,
79+ 'title' : 'About Dat Project ' ,
9680 'text' : `
97- In the future, DatBase will have one-click publishing to data repositories such as Zenodo or Dataverse.
98- Dat's innovative storage makes it the perfect intermediate between files on your computer and data publishing sites.
81+ Dat is a nonprofit-backed community & open protocol for building apps of the future.
82+ We set out to improve access to public data and created the Dat Protocol along the way.
83+ <br>
84+ <a class="f5 b w-auto dib mt3 color-green hover-color-green-hover ba b--green pv2 ph3 link" href="http://datproject.org">
85+ Learn About Dat
86+ </a>
9987 `
10088 }
101- ] ,
102- 'cta' : {
103- 'link' : 'http://datproject.org' ,
104- 'text' : 'Learn more about Dat Project'
105- }
89+ ]
10690 } ) }
91+ < section class ="pa3 w-100 bg-neutral-04 ">
92+ < div class ="mw7 center ">
93+ < div class ="pa4-l ">
94+ <!-- Begin MailChimp Signup Form -->
95+ < div id ="mc_embed_signup ">
96+ < form action ="//datproject.us16.list-manage.com/subscribe/post?u=993df3c1e35c9b224b64ccf72&id=128a796b8e " method ="post " id ="mc-embedded-subscribe-form " name ="mc-embedded-subscribe-form " class ="mb0 pa4 br2-ns ba b--green validate " target ="_blank " novalidate >
97+ < div class ="cf bn ma0 pa0 ">
98+ < legend class ="pa0 f5 f4-ns mb3 color-neutral-90 "> Get updates! Join our newsletter to receive annoucements.</ legend >
99+ < div >
100+ < label class ="clip " for ="mce-EMAIL "> Email Address </ label >
101+ < input class ="f6 f5-l input-reset bn fl black-80 bg-white pa3 lh-solid w-100 w-75-m w-80-l br2-ns br--left-ns " placeholder ="Your Email Address " type ="email " value ="" name ="EMAIL " id ="mce-EMAIL ">
102+ </ div >
103+ < div id ="mce-responses " class ="clear ">
104+ < div class ="response " id ="mce-error-response " style ="display:none "> </ div >
105+ < div class ="response " id ="mce-success-response " style ="display:none "> </ div >
106+ </ div >
107+ < div style ="position: absolute; left: -5000px; " aria-hidden ="true "> < input type ="text " name ="b_993df3c1e35c9b224b64ccf72_128a796b8e " tabindex ="-1 " value =""> </ div >
108+ < div class ="clear ">
109+ < input type ="submit " value ="Subscribe " name ="subscribe " id ="mc-embedded-subscribe " class ="f6 f5-l button-reset fl pv3 tc bn bg-animate bg-green hover-bg-green-hover white pointer w-100 w-25-m w-20-l br2-ns br--right-ns " >
110+ </ div >
111+ </ div >
112+ </ form >
113+ </ div >
114+ <!--End mc_embed_signup-->
115+ </ div >
116+ </ div >
117+ </ section >
107118 ${ footer ( ) }
108119 </ div >
109120 `
0 commit comments