diff --git a/.env b/.env index 8599fdd..f29de0a 100644 --- a/.env +++ b/.env @@ -10,3 +10,4 @@ REACT_APP_GOOGLE_PLAY_LINK='https://apps.apple.com/us/app/float-mobility/id14653 REACT_APP_AUX_ENDPOINT='https://float-gat.dev.chiefsoft.net/en/floatweb/api/v1/' +REACT_APP_IMAGE_LINK='https://blog.float.sg/wp-content/uploads/' diff --git a/public/assets/css/style.css b/public/assets/css/style.css index dc1a00a..5afc1b1 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -4714,8 +4714,8 @@ h5.posts-category { .featured-badge { z-index: 70; position: absolute; - top: 20px; - right: 20px; + top: 10px; + right: 10px; width: 45px; height: 45px; -webkit-border-radius: 100%; diff --git a/src/App.js b/src/App.js index 62f40f0..1aa3b1b 100644 --- a/src/App.js +++ b/src/App.js @@ -39,12 +39,12 @@ function App() { try { const res = await siteApi.blogData(); if(res.status == 200 /* && res.data.status > 0*/){ - console.log(res.data.payload, res.data); + console.log(res.data); setBlogData(res.data) return } }catch(error) { - setBlogData({payload: {blogdata: []}}) + setBlogData({blogdata: []}) } }; diff --git a/src/components/BlogItems.js b/src/components/BlogItems.js index 4699e3c..c5ea798 100644 --- a/src/components/BlogItems.js +++ b/src/components/BlogItems.js @@ -27,23 +27,27 @@ const BlogItems = ({blogData}) => { return (
- {/*
*/}
+
+ {/*
*/}
+
- NordEx News
- {/* Post Link */} -Aliqum mullam blandit vitae and tempor sapien and donec lipsum gravida a porta - undo velna dolor in cubilia laoreet -
- {/* Post Meta */} -
12 min read
-Float News
+ {/* Post Link */} +Aliqum mullam blandit vitae and tempor sapien and donec lipsum gravida a porta + undo velna dolor in cubilia laoreet +
*/} + + {/* Post Meta */} +
12 min read
+