rust-yew-realworld-example-app icon indicating copy to clipboard operation
rust-yew-realworld-example-app copied to clipboard

Missing 'favorite button' and 'follow button' in article meta

Open aclueless opened this issue 2 years ago • 0 comments

The template for article-meta is as follow:

      <div class="article-meta">
        <a href=""><img src="http://i.imgur.com/Qr71crq.jpg" /></a>
        <div class="info">
          <a href="" class="author">Eric Simons</a>
          <span class="date">January 20th</span>
        </div>
        <button class="btn btn-sm btn-outline-secondary">
          <i class="ion-plus-round"></i>
          &nbsp;
          Follow Eric Simons <span class="counter">(10)</span>
        </button>
        &nbsp;&nbsp;
        <button class="btn btn-sm btn-outline-primary">
          <i class="ion-heart"></i>
          &nbsp;
          Favorite Post <span class="counter">(29)</span>
        </button>
      </div>

It includes a 'favorite button' and a 'follow button'.

The code here just creates edit and delete button in case of self-own article. No code for 'favorite' and 'follow'

aclueless avatar Aug 28 '21 02:08 aclueless