New features and HTML structure for new layout
New plans have been made to make 1UP more interactive for users.
@andrejcibik proposed an awesome layout, that required some changes in the code
New Features
I'm already in contact with @andrejcibik so that he can start working on the .css as soon as possible. In this update I ve added the following features:
- Top interactive menu that let the user chose beteween Now / Today / Yesterday / All time posts. The default tab is 'Now'. It shows all the posts that have been upvoted by neither the bot or the trail. The three other tabs will come later.
- The top contribution is put in highlight on top. I ve modified the steemjs query to include the post image.
- Other posts are encapsulated in a way that will make it easy to be displayed as a grid.
- The entire HTML of the page has been rewritten in this pull request
The result:
"OMG! @stoodkev, it looks like crap!"
No it doesn't! I mean, kind of but it s intended, no .css for now, that will be @andrejcibik work to make it look beautiful. All the necessary HTML and js is there.
Following work
I still need to do these 3 things to make it match with the proposed template:
- Prepare the Today / Yesterday / All time pages
- Code a counter to show when will be the next upvote
- Prepare the links on hover (see post number 3 on the screenshot)
All of these will come soon!
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Try to include some description in your pull requests, that is a good practice.
Good work.
You can contact us on Discord.
[utopian-moderator]
Thanks! Will do!
Yeah, we are getting closer! Thanks for all your work. :)
Yep, the backend will be ready soon, unless we also do the trail ourselves ;)
Keep the good stuff coming (-: Peace
Hey @stoodkev I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x