ancasimon / travel-diary

This project is an online journal that allows users to keep track of destinations on their bucket list and then capture diary entries when they actually get to visit these sites. It was further practice with using data from multiple collections in a Firebase database.
https://traveldiary-78295.web.app/#
1 stars 0 forks source link

Build diary entry #26

Closed ancasimon closed 4 years ago

ancasimon commented 4 years ago

User Story

As a user, when I am on the Home Page, I can see a Diary section and each entry includes the following details: the name of the location from the card the user was typing in, the text that was in the text box from that card, timestamp for when the diary entry was created.

AC

WHEN I look at a the Diary section below the Destinations section, THEN I see a list of diary entries, AND each diary entry displays the following: location name, timestamp of when I created it/ clicked Submit, and the notes I entered in the input box.

Dev Notes

ancasimon commented 4 years ago

Mockups in exercise indicated these diary entries should be horizontal cards - here is the Bootstrap code for horizontal cards:

<div class="card mb-3" style="max-width: 540px;">
  <div class="row no-gutters">
    <div class="col-md-4">
      <img src="..." class="card-img" alt="...">
    </div>
    <div class="col-md-8">
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
      </div>
    </div>
  </div>
</div>