reza-gh's picture
ADD MULTI OTHER SECTION...
28c0b6b verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create New Proposal | ProposalCraft</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<div class="container mx-auto px-4 py-12 max-w-6xl">
<div class="flex items-center justify-between mb-8">
<h1 class="text-3xl font-bold text-gray-800">Create New Proposal</h1>
<button class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded-lg font-medium flex items-center gap-2">
<i data-feather="save"></i> Save Draft
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="grid md:grid-cols-4">
<!-- Sidebar -->
<div class="bg-gray-50 p-6 border-r border-gray-200">
<div class="mb-6">
<h2 class="font-medium text-gray-500 mb-2">PROPOSAL TYPE</h2>
<select class="w-full p-2 border border-gray-300 rounded-md">
<option>Business Proposal</option>
<option>Project Proposal</option>
<option>Grant Proposal</option>
<option>Research Proposal</option>
<option>Sales Proposal</option>
</select>
</div>
<div class="mb-6">
<h2 class="font-medium text-gray-500 mb-2">TEMPLATE</h2>
<div class="grid grid-cols-2 gap-2">
<div class="cursor-pointer border-2 border-transparent hover:border-purple-500 rounded-md overflow-hidden">
<img src="http://static.photos/technology/320x240/1" alt="Template" class="w-full h-auto">
</div>
<div class="cursor-pointer border-2 border-transparent hover:border-purple-500 rounded-md overflow-hidden">
<img src="http://static.photos/technology/320x240/2" alt="Template" class="w-full h-auto">
</div>
<div class="cursor-pointer border-2 border-transparent hover:border-purple-500 rounded-md overflow-hidden">
<img src="http://static.photos/technology/320x240/3" alt="Template" class="w-full h-auto">
</div>
<div class="cursor-pointer border-2 border-transparent hover:border-purple-500 rounded-md overflow-hidden">
<img src="http://static.photos/technology/320x240/4" alt="Template" class="w-full h-auto">
</div>
</div>
<button class="mt-2 text-purple-600 text-sm font-medium flex items-center gap-1">
<i data-feather="plus" class="w-4 h-4"></i> Browse More
</button>
</div>
<div>
<h2 class="font-medium text-gray-500 mb-2">SECTIONS</h2>
<ul class="space-y-2">
<li class="flex items-center gap-2 text-gray-700">
<i data-feather="file-text" class="w-4 h-4 text-purple-500"></i>
<span>Cover Page</span>
</li>
<li class="flex items-center gap-2 text-gray-700">
<i data-feather="users" class="w-4 h-4 text-blue-500"></i>
<span>Executive Summary</span>
</li>
<li class="flex items-center gap-2 text-gray-700">
<i data-feather="target" class="w-4 h-4 text-green-500"></i>
<span>Objectives</span>
</li>
<li class="flex items-center gap-2 text-gray-700">
<i data-feather="dollar-sign" class="w-4 h-4 text-yellow-500"></i>
<span>Budget</span>
</li>
<li class="flex items-center gap-2 text-gray-700">
<i data-feather="clock" class="w-4 h-4 text-red-500"></i>
<span>Timeline</span>
</li>
</ul>
</div>
</div>
<!-- Main Editor -->
<div class="md:col-span-3 p-8">
<div class="mb-8">
<input type="text" placeholder="Proposal Title" class="text-3xl font-bold w-full border-none focus:ring-0 p-0">
<div class="flex items-center gap-4 mt-2">
<div class="flex items-center gap-2 text-gray-500">
<i data-feather="calendar" class="w-4 h-4"></i>
<span>Created: ${new Date().toLocaleDateString()}</span>
</div>
<div class="flex items-center gap-2 text-gray-500">
<i data-feather="user" class="w-4 h-4"></i>
<span>Author: You</span>
</div>
</div>
</div>
<div class="prose max-w-none">
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Executive Summary</h3>
<textarea class="w-full p-4 border border-gray-300 rounded-md min-h-[200px]" placeholder="Write a compelling summary that highlights the key points of your proposal..."></textarea>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Project Objectives</h3>
<textarea class="w-full p-4 border border-gray-300 rounded-md min-h-[200px]" placeholder="Clearly define what you aim to achieve with this project..."></textarea>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Budget Breakdown</h3>
<div class="overflow-x-auto">
<table class="min-w-full border">
<thead>
<tr class="bg-gray-100">
<th class="p-3 text-left">Item</th>
<th class="p-3 text-left">Description</th>
<th class="p-3 text-left">Cost</th>
</tr>
</thead>
<tbody>
<tr class="border-t">
<td class="p-3"><input type="text" class="border-none w-full" placeholder="Item 1"></td>
<td class="p-3"><input type="text" class="border-none w-full" placeholder="Description"></td>
<td class="p-3"><input type="text" class="border-none w-full" placeholder="$0.00"></td>
</tr>
<tr class="border-t">
<td class="p-3"><button class="text-purple-600 flex items-center gap-1"><i data-feather="plus" class="w-4 h-4"></i> Add Item</button></td>
<td class="p-3"></td>
<td class="p-3"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Methodology</h3>
<textarea class="w-full p-4 border border-gray-300 rounded-md min-h-[200px]" placeholder="Describe your approach and methods for completing the project..."></textarea>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Timeline</h3>
<div class="space-y-4">
<div class="flex items-start gap-4">
<div class="bg-purple-100 p-2 rounded-lg">
<i data-feather="calendar" class="text-purple-600"></i>
</div>
<div class="flex-1">
<input type="text" class="font-medium border-none w-full" placeholder="Phase 1 Title">
<input type="text" class="text-sm text-gray-500 w-full mt-1 border-none" placeholder="Start Date - End Date">
<textarea class="w-full p-3 border border-gray-300 rounded-md mt-2 min-h-[80px]" placeholder="Phase description..."></textarea>
</div>
</div>
<button class="text-purple-600 flex items-center gap-1 mt-2">
<i data-feather="plus" class="w-4 h-4"></i> Add Another Phase
</button>
</div>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Team</h3>
<div class="grid md:grid-cols-2 gap-4">
<div class="border rounded-lg p-4">
<div class="flex items-center gap-4">
<img src="http://static.photos/people/100x100/1" alt="Team member" class="w-12 h-12 rounded-full">
<div>
<input type="text" class="font-medium border-none w-full" placeholder="Name">
<input type="text" class="text-sm text-gray-500 w-full mt-1 border-none" placeholder="Role">
</div>
</div>
<textarea class="w-full p-3 border border-gray-300 rounded-md mt-3 min-h-[80px]" placeholder="Bio/Experience..."></textarea>
</div>
<div class="border rounded-lg p-4">
<div class="flex items-center gap-4">
<img src="http://static.photos/people/100x100/2" alt="Team member" class="w-12 h-12 rounded-full">
<div>
<input type="text" class="font-medium border-none w-full" placeholder="Name">
<input type="text" class="text-sm text-gray-500 w-full mt-1 border-none" placeholder="Role">
</div>
</div>
<textarea class="w-full p-3 border border-gray-300 rounded-md mt-3 min-h-[80px]" placeholder="Bio/Experience..."></textarea>
</div>
</div>
<button class="text-purple-600 flex items-center gap-1 mt-4">
<i data-feather="plus" class="w-4 h-4"></i> Add Team Member
</button>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4">Appendices</h3>
<div class="border rounded-lg p-4">
<div class="flex items-center gap-4 mb-4">
<div class="bg-gray-100 p-3 rounded-lg">
<i data-feather="file" class="text-gray-600"></i>
</div>
<div class="flex-1">
<input type="text" class="font-medium border-none w-full" placeholder="Document Title">
<div class="flex gap-2 mt-2">
<button class="text-sm text-gray-600 border px-3 py-1 rounded-md">Upload File</button>
<button class="text-sm text-gray-600 border px-3 py-1 rounded-md">Link Document</button>
</div>
</div>
</div>
<button class="text-purple-600 flex items-center gap-1">
<i data-feather="plus" class="w-4 h-4"></i> Add Another Appendix
</button>
</div>
</div>
<div class="flex justify-between items-center mt-12">
<button class="text-purple-600 flex items-center gap-2">
<i data-feather="arrow-left" class="w-4 h-4"></i> Back to Sections
</button>
<div class="flex gap-4">
<button class="border border-gray-300 px-6 py-2 rounded-lg font-medium hover:bg-gray-50">
Preview
</button>
<button class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded-lg font-medium">
Generate PDF
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>