Inserting html and SVGs

Yes, the error is:

no function clause matching in Phoenix.Endpoint.Supervisor.static_path/2

I’ve also fixed the code in my initial post which wasn’t rendering correctly, but here’s the _static-section.html.eex

<div class="card">
    <div class="card-image"> 
        <img src="<%= Routes.static_path(@conn, '/images/calendar.svg') %>" alt="Calendar">
    </div>
</div>