@@ -22,46 +22,36 @@ export default function BlogsComponent() {
2222 } ;
2323
2424 return (
25- < div className = "main-container-with-margins" >
26- < div className = "container upper-container-with-margin-top" >
27- < div className = { "row row-with-margin-bottom" } >
28- < div
29- className = { "col col--8 col--offset-2" }
30- >
31- < div className = "flex-full-centered" >
32- < h1 className = "padding-none margin-none" >
33- Featured Posts by QuantStack Contributors
34- </ h1 >
35- < div style = { { padding :"0 10px" } } >
36- < a href = { "/atom.xml" } >
37- < AtomOrange width = { "42px" } height = { "42px" } />
38- </ a >
39- </ div >
40- </ div >
41- < div >
42- < input
43- className = { styles . search_input }
44- type = "search"
45- placeholder = "Search for blog posts"
46- onChange = { handleChange }
47- />
48- </ div >
49- </ div >
25+ < div className = "page-content upper-container-with-margin-top" >
26+ < div className = "flex-full-centered" style = { { marginBottom : "var(--ifm-spacing-lg)" } } >
27+ < h1 className = "padding-none margin-none" >
28+ Featured Posts by QuantStack Contributors
29+ </ h1 >
30+ < div style = { { padding : "0 10px" } } >
31+ < a href = { "/atom.xml" } >
32+ < AtomOrange width = { "42px" } height = { "42px" } />
33+ </ a >
5034 </ div >
51-
52- < ul className = { "row" + " " + "flex-full-centered" } >
53- { filteredBlogPosts . map ( ( blogpost , index ) => (
54- < li className = "cards-list" key = { index } >
55- < div className = "col" >
56- < BlogpostCard
57- blogpost = { blogpost }
58- timeIndex = { numberOfBlogs - index }
59- > </ BlogpostCard >
60- </ div >
61- </ li >
62- ) ) }
63- </ ul >
6435 </ div >
36+ < div >
37+ < input
38+ className = { styles . search_input }
39+ type = "search"
40+ placeholder = "Search for blog posts"
41+ onChange = { handleChange }
42+ />
43+ </ div >
44+
45+ < ul className = "cards-row" >
46+ { filteredBlogPosts . map ( ( blogpost , index ) => (
47+ < li key = { index } >
48+ < BlogpostCard
49+ blogpost = { blogpost }
50+ timeIndex = { numberOfBlogs - index }
51+ />
52+ </ li >
53+ ) ) }
54+ </ ul >
6555 </ div >
6656 ) ;
6757}
0 commit comments