New features and HTML structure for new layout

in #utopian-io7 years ago (edited)

image.png

New plans have been made to make 1UP more interactive for users.
@andrejcibik proposed an awesome layout, that required some changes in the code

image.png

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:

image.png

"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!

@stoodkev



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

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

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

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

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.032
BTC 59435.06
ETH 2521.75
USDT 1.00
SBD 2.42