<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Thyme Crunch Home</title>
  <link rel="stylesheet" th:href="@{css/home.css}">
</head>
<body>

<header class="top-header">
    <img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
    <h1 class="site-name">Thyme Crunch</h1>
    <img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
  </header>

 <div class="container">
    <!--Navigation Bar -->
    <nav class="sidebar-left">
      <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Explore</a></li>
        <li><a href="#">Profile</a></li>
        <li><a href="#">Saved</a></li>
        <li><a href="#"> <img src="images/logout_icon.png" alt="Log Out Icon" class="nav_icon"></a></li>
      </ul>
    </nav>


</nav>

<a href="#" target="_blank" class="create_icon">
    <img src="images/create_icon.png" alt="Description of the icon">
</a>


    <!-- Main Content -->
    <main class="main-content">
      <div class="recipe-card">

  	<div class="card" th:each="recipe : ${recipes}">
     <div class="card-text">
        <h2 th:text="${recipe.title}"></h2>
        <p th:text="${recipe.description}"></p>
     </div>
     <div class="card-right">
        <img th:src="@{${recipe.imageUrl}}" alt="${recipe.imageAltText}">
        <p th:text="${recipe.cost}"></p>
     </div>
    </div>
      </div>

    </main>

<div class="container">
    <!--New Bar -->
    <nav class="sidebar-right">
      <h1> NEW </h1>
    </nav>

  </div>


</body>
</html>
