<!doctype html> <html class="text-slate-700"> <head> <title>[New/Edit] Project - Kickstarter for Time</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Tailwind --> <script src="https://cdn.tailwindcss.com?plugins=forms"></script> <!-- Font Awesome --> <script src="https://kit.fontawesome.com/2396c18fde.js" crossorigin="anonymous"></script> <link href="css/main.css" rel="stylesheet"> </head> <body> <!-- CONTENT --> <section id="Content" class="p-6 pb-24"> <!-- Breadcrumb --> <div id="ViewBreadcrumb" class="mb-8"> <h1 class="text-lg text-center font-light relative px-7"> <!-- Cancel --> <a href="project-view.html" class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"><i class="fa-solid fa-chevron-left fa-fw"></i></a> [New/Edit] Project </h1> </div> <!-- Project Details --> <form> <!-- Image - Empty --> <!-- div class="relative px-4 py-12 mb-4 rounded-md text-xl text-center font-light italic text-slate-500 bg-slate-100 border-dashed border border-slate-400"> Tap to upload an image… </div --> <!-- Image - Populated --> <div class="relative mb-4 rounded-md overflow-hidden"> <div class="absolute top-3 right-3 flex gap-2"> <button class="text-md font-bold uppercase bg-blue-600 text-white px-3 py-2 rounded"><i class="fa-solid fa-pen fa-fw"></i></button> <button class="text-md font-bold uppercase bg-red-600 text-white px-3 py-2 rounded"><i class="fa-solid fa-trash-can fa-fw"></i></button> </div> <img src="https://picsum.photos/800/400" class="w-full" /> </div> <input type="text" placeholder="Project Name" class="block w-full rounded border-slate-400 mb-4" /> <textarea placeholder="Description" class="block w-full rounded border-slate-400 mb-4" rows="5"></textarea> <div class="text-xs text-slate-500 italic -mt-3 mb-4">88/500 max. characters</div> <div class="mt-8"> <button type="submit" class="block w-full text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-2"> <!-- SHOW if in idle state --> <span class="hidden">Save Project</span> <!-- SHOW if in saving state; DISABLE button while in saving state --> <span class=""><i class="fa-solid fa-spinner fa-spin-pulse"></i> Saving…</span> </button> <button type="button" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md">Cancel</button> </div> </form> </section> </body> </html>