From 2ad24c6b0dbb01daea1fa4814ad0c5324bb8d998 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 4 Jul 2016 21:55:58 -0400 Subject: [PATCH] General Featured Content improvements --- dist.zip | Bin 2467408 -> 2467450 bytes js/page/claim_code.js | 2 +- js/page/home.js | 31 ++++++++++++++++++------------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/dist.zip b/dist.zip index bfd2bc9bbda43b16c869735212f849ea8d0edb83..c8862f27b3c7352b7205ebfd0275248c3d599a14 100644 GIT binary patch delta 8188 zcmZ`;2RPN=8^6ePuf4~;HeXRjLn5oJjATcY?3KMUy4jM1@U?f-UR{wD8e~S<$*RcA zO2z-)?0*1T6jM(Py!0SfOE0pJPh$; zi--}XtwC~#9EShFX)RyC`N(#)AZIO{3oLvA=Y{~fUcmjKsWj{0B_w;nYeFKeCb+o} zL{-efUr9k!06&>60-|Pw$to!zDnpV?haRGq)yeYMAPTf1YvX~a%_n4*eBkRRWTJcQ zJwAwv>L5EW3{ibQ$&v|L7eNFwVWLQLL_9U5<#0tv(?XQVErbsPM7?>8Xki4;3L-eb z)DVD*6k1^{PP)nn=^N@0YUdydhxlDGNeW2`l1L(%AQ4&;2`9o+;H)_kjg^-|J|%_} z-=&ei0EogV+73Y!)&{9Xm>ubZq=($FoW97XgxK1{kx^8TolyePlOXHLMLy+)WC5+n z2S|wG??Rr3d?TE@k+?yQ8x*)fi5pb7L5&+UxIv2>bhtr}8w|L?h#O3}!HgR$Sm$n5 zb1w+5SDEc%2So8PpyUJ~%1R2wqXtot!Keaa3S1!?>g9SG!eETxcpM51UJgUiL3*b! z)J0Nguj`{wgk>VWgJL0rl?C?}Js-LjyFP@;vi6B?E0u(eGSXY3` z!`GliA&U3^*I;@fN{r$_g@SYw>}XJSgP#keEkZ%%1DezFw}9V@P=tKwi&6T2@PQEI zrb$iy1UV_SoAdl(bW5oL+!Keu|IRp$&pkp`ofLp+YA$ER9&NR%f zasUx0=K$p=*$JzxHp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zEW3lpc|X1XHtCn!fEdgEDF5#!1qI>&dCEN=Sd|SN2f;W18li$oY4}4m9=GQkkDffE-OvRt>Jq!(gPTgy4C>G_ky<*}qCrF4G1TG&)U(3Qr zkO1zT6G-JVxYyHAhzfW2`VZnI-u=(k=s?o+y;B1T=%)WC>x8ENo(@<+P7N~vM+j)m z0PGIJ(7dnvVd;jN!_x@ooPWS&)89H$4{@(owSvZlocfsH>G?y$~T4sRsu+g@fsbFet-xAWQb%NrU`3WFHh6YFENN5AlGUgA#~>`8fv- z00*}YVQ3I)2Z!9fcDSFrf4SxYis;=}y4{gK;T$m&QQ?1CQ>QfkohgCJd4LG?K!Se* z0KM{n<2LE~0Fi^c=uInoJJDv@HodO#{(N~cJ3ZlZXSnBNEQI1oWGq8MBME>Jgz(2A9jO}N0c}YtSSIl zp?hf=KR)|=qu{3k0L3}wabV`)V}OvH
-
+
diff --git a/js/page/home.js b/js/page/home.js index 73bbcb384..850c065ca 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -118,13 +118,14 @@ var SearchResultRow = React.createClass({ var featuredContentItemStyle = { fontSize: '0.95em', marginBottom: '10px', + minHeight: '130px', }, featuredContentItemImgStyle = { maxHeight: '90px', + maxWidth: '126px', display: 'block', marginLeft: 'auto', marginRight: 'auto', marginTop: '5px', - float: 'left', }, featuredContentItemDescriptionStyle = { color: '#444', marginBottom: '5px', @@ -143,6 +144,7 @@ var FeaturedContentItem = React.createClass({ return { metadata: null, title: null, + amount: 0.0, }; }, componentWillMount: function() { @@ -152,6 +154,11 @@ var FeaturedContentItem = React.createClass({ title: metadata.title || ('lbry://' + this.props.name), }) }); + lbry.search(this.props.name, (results) => { + this.setState({ + amount: results[0].cost_est + }); + }); }, render: function() { if (this.state.metadata == null) { @@ -173,7 +180,7 @@ var FeaturedContentItem = React.createClass({ { ' ' } -
+
); @@ -189,17 +196,15 @@ var FeaturedContent = React.createClass({ return (

Featured content

-
- {/* When ready, change to one/two/three/four/five/six */} - - +
+ + +
+
+ + +
-
- - - -
-
); } }); @@ -268,7 +273,7 @@ var Discover = React.createClass({ { this.state.searching ? : null } { !this.state.searching && this.state.query && this.state.results.length ? : null } { !this.state.searching && this.state.query && !this.state.results.length ? : null } - {/* !this.state.query && !this.state.searching ? : null */} + { !this.state.query && !this.state.searching ? : null } ); }