<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>giver.eu </title>
    <style>
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
        }
        .item {
            flex-basis: 69%; /* Adjust based on your preference */
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            margin: 10px;
            padding: 20px;
            box-sizing: border-box;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        @media (max-width: 800px) {
            .item {
                flex-basis: 45%; /* Adjust for smaller screens */
            }
        }
        @media (max-width: 500px) {
            .item {
                flex-basis: 90%; /* Adjust for very small screens */
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <% FOREACH item IN knot.knot_id.get_children %>
        <div class="item">
            <img src="<% item.img_url %>" alt="<% item.knot_name %>">
            <h2><% item.knot_name %></h2>
            <p><% item.knot_content %></p>
	    <p>Price: <% item.price %> <a href=https://solscan.io/token/UGYkQ1FjWDEZhL8Sgqh1KwgKFgnHkHJqWWWtewDk6t4>GANESH</a></p>
        </div>
        <% END %>
    </div>
</body>
</html>
