File size: 15,005 Bytes
28c0b6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!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>