brukip commited on
Commit
139f484
·
verified ·
1 Parent(s): 61d42b9

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +736 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Jamaa
3
- emoji: 🏆
4
- colorFrom: purple
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: jamaa
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,736 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Domestic Building Contracts Made Clear | SFB</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ navy: '#002147',
15
+ gold: '#FFD700',
16
+ }
17
+ }
18
+ }
19
+ }
20
+ </script>
21
+ <style>
22
+ .hero-bg {
23
+ background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
24
+ background-size: cover;
25
+ background-position: center;
26
+ }
27
+
28
+ .contract-flow {
29
+ width: 100%;
30
+ max-width: 800px;
31
+ margin: 0 auto;
32
+ }
33
+
34
+ .flow-step {
35
+ position: relative;
36
+ padding-left: 40px;
37
+ margin-bottom: 20px;
38
+ }
39
+
40
+ .flow-step:before {
41
+ content: '';
42
+ position: absolute;
43
+ left: 15px;
44
+ top: 0;
45
+ height: 100%;
46
+ width: 2px;
47
+ background: #FFD700;
48
+ }
49
+
50
+ .flow-step:last-child:before {
51
+ height: 50%;
52
+ }
53
+
54
+ .flow-step-number {
55
+ position: absolute;
56
+ left: 0;
57
+ top: 0;
58
+ width: 30px;
59
+ height: 30px;
60
+ border-radius: 50%;
61
+ background: #002147;
62
+ color: white;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ font-weight: bold;
67
+ border: 2px solid #FFD700;
68
+ }
69
+
70
+ .accordion-content {
71
+ max-height: 0;
72
+ overflow: hidden;
73
+ transition: max-height 0.3s ease-out;
74
+ }
75
+
76
+ .calculator-input {
77
+ -webkit-appearance: none;
78
+ width: 100%;
79
+ height: 8px;
80
+ border-radius: 5px;
81
+ background: #e0e0e0;
82
+ outline: none;
83
+ }
84
+
85
+ .calculator-input::-webkit-slider-thumb {
86
+ -webkit-appearance: none;
87
+ appearance: none;
88
+ width: 20px;
89
+ height: 20px;
90
+ border-radius: 50%;
91
+ background: #002147;
92
+ cursor: pointer;
93
+ border: 2px solid #FFD700;
94
+ }
95
+ </style>
96
+ </head>
97
+ <body class="font-sans bg-gray-50">
98
+ <!-- Sticky Header -->
99
+ <header class="sticky top-0 z-50 bg-navy text-white shadow-md">
100
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
101
+ <div class="flex items-center">
102
+ <div class="bg-white p-2 rounded mr-3">
103
+ <span class="text-navy font-bold text-xl">SFB</span>
104
+ </div>
105
+ <h1 class="text-xl font-bold hidden md:block">Domestic Building Contracts</h1>
106
+ </div>
107
+ <nav class="hidden md:block">
108
+ <ul class="flex space-x-6">
109
+ <li><a href="#home" class="hover:text-gold transition">Home</a></li>
110
+ <li><a href="#principles" class="hover:text-gold transition">Principles</a></li>
111
+ <li><a href="#faqs" class="hover:text-gold transition">FAQs</a></li>
112
+ <li><a href="#resources" class="hover:text-gold transition">Resources</a></li>
113
+ <li><a href="#contact" class="hover:text-gold transition">Contact</a></li>
114
+ </ul>
115
+ </nav>
116
+ <button id="mobile-menu-button" class="md:hidden text-white focus:outline-none">
117
+ <i class="fas fa-bars text-2xl"></i>
118
+ </button>
119
+ </div>
120
+ <!-- Mobile Menu -->
121
+ <div id="mobile-menu" class="hidden md:hidden bg-navy pb-4 px-4">
122
+ <ul class="flex flex-col space-y-3">
123
+ <li><a href="#home" class="block hover:text-gold transition">Home</a></li>
124
+ <li><a href="#principles" class="block hover:text-gold transition">Principles</a></li>
125
+ <li><a href="#faqs" class="block hover:text-gold transition">FAQs</a></li>
126
+ <li><a href="#resources" class="block hover:text-gold transition">Resources</a></li>
127
+ <li><a href="#contact" class="block hover:text-gold transition">Contact</a></li>
128
+ </ul>
129
+ </div>
130
+ </header>
131
+
132
+ <!-- Hero Section -->
133
+ <section id="home" class="hero-bg text-white py-20 md:py-32 px-4">
134
+ <div class="container mx-auto text-center">
135
+ <h1 class="text-4xl md:text-5xl font-bold mb-6">Domestic Building Contracts Made Clear</h1>
136
+ <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">
137
+ Understanding your building contract protects your rights and ensures a smooth construction process under Queensland law.
138
+ </p>
139
+ <a href="#principles" class="bg-gold text-navy font-bold py-3 px-8 rounded-full text-lg hover:bg-yellow-200 transition inline-block">
140
+ Start Here <i class="fas fa-arrow-down ml-2"></i>
141
+ </a>
142
+ </div>
143
+ </section>
144
+
145
+ <!-- Contract Principles -->
146
+ <section id="principles" class="py-16 bg-white">
147
+ <div class="container mx-auto px-4">
148
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">Key Contract Principles</h2>
149
+
150
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
151
+ <!-- Card 1 -->
152
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
153
+ <div class="bg-navy text-white p-4">
154
+ <h3 class="text-xl font-bold">Scope of Work</h3>
155
+ </div>
156
+ <div class="p-6">
157
+ <p class="mb-6">Understand what "domestic building work" covers including houses, units, garages and renovations under Queensland legislation.</p>
158
+ <button onclick="toggleLearnMore('scope')" class="text-navy font-semibold hover:text-gold transition flex items-center">
159
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
160
+ </button>
161
+ <div id="scope-more" class="accordion-content">
162
+ <div class="mt-4 pt-4 border-t border-gray-200">
163
+ <p>In Queensland, domestic building work includes:</p>
164
+ <ul class="list-disc pl-5 mt-2 space-y-1">
165
+ <li>Construction of a home (house, townhouse, or unit)</li>
166
+ <li>Renovations, alterations or extensions</li>
167
+ <li>Construction of garages, carports, and sheds</li>
168
+ <li>Swimming pools and associated structures</li>
169
+ </ul>
170
+ <p class="mt-2">Any work valued over $3,300 requires a compliant contract.</p>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- Card 2 -->
177
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
178
+ <div class="bg-navy text-white p-4">
179
+ <h3 class="text-xl font-bold">Pricing & Payments</h3>
180
+ </div>
181
+ <div class="p-6">
182
+ <p class="mb-6">Know the rules about deposit limits, progress payments, and trust-account requirements to protect your money.</p>
183
+ <button onclick="toggleLearnMore('pricing')" class="text-navy font-semibold hover:text-gold transition flex items-center">
184
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
185
+ </button>
186
+ <div id="pricing-more" class="accordion-content">
187
+ <div class="mt-4 pt-4 border-t border-gray-200">
188
+ <p>Queensland law strictly regulates payments:</p>
189
+ <ul class="list-disc pl-5 mt-2 space-y-1">
190
+ <li>Maximum 5% deposit for contracts under $20,000</li>
191
+ <li>Maximum 10% deposit for contracts over $20,000</li>
192
+ <li>Progress payments must reflect work completed</li>
193
+ <li>Deposits must be held in trust until work begins</li>
194
+ </ul>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ </div>
199
+
200
+ <!-- Card 3 -->
201
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
202
+ <div class="bg-navy text-white p-4">
203
+ <h3 class="text-xl font-bold">Timelines & Variations</h3>
204
+ </div>
205
+ <div class="p-6">
206
+ <p class="mb-6">Learn about start/completion dates, extensions, and the formal process for making changes to your contract.</p>
207
+ <button onclick="toggleLearnMore('timelines')" class="text-navy font-semibold hover:text-gold transition flex items-center">
208
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
209
+ </button>
210
+ <div id="timelines-more" class="accordion-content">
211
+ <div class="mt-4 pt-4 border-t border-gray-200">
212
+ <p>Key points about timelines and variations:</p>
213
+ <ul class="list-disc pl-5 mt-2 space-y-1">
214
+ <li>Contract must specify start and completion dates</li>
215
+ <li>Extensions allowed for weather delays or unforeseen circumstances</li>
216
+ <li>All variations must be in writing and signed by both parties</li>
217
+ <li>Variation costs must be reasonable and justified</li>
218
+ </ul>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+
224
+ <!-- Card 4 -->
225
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
226
+ <div class="bg-navy text-white p-4">
227
+ <h3 class="text-xl font-bold">Legal Requirements</h3>
228
+ </div>
229
+ <div class="p-6">
230
+ <p class="mb-6">Essential legal protections including written contracts, consumer guides, and mandatory Home Warranty insurance.</p>
231
+ <button onclick="toggleLearnMore('legal')" class="text-navy font-semibold hover:text-gold transition flex items-center">
232
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
233
+ </button>
234
+ <div id="legal-more" class="accordion-content">
235
+ <div class="mt-4 pt-4 border-t border-gray-200">
236
+ <p>Mandatory legal protections include:</p>
237
+ <ul class="list-disc pl-5 mt-2 space-y-1">
238
+ <li>Written contract for work over $3,300</li>
239
+ <li>QBCC Home Warranty Insurance for work over $3,300</li>
240
+ <li>Consumer building guide must be provided</li>
241
+ <li>Cooling-off period of 5 business days</li>
242
+ </ul>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ </div>
247
+
248
+ <!-- Card 5 -->
249
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
250
+ <div class="bg-navy text-white p-4">
251
+ <h3 class="text-xl font-bold">Licensing</h3>
252
+ </div>
253
+ <div class="p-6">
254
+ <p class="mb-6">Ensure your builder is properly licensed and understand the dispute resolution process if issues arise.</p>
255
+ <button onclick="toggleLearnMore('licensing')" class="text-navy font-semibold hover:text-gold transition flex items-center">
256
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
257
+ </button>
258
+ <div id="licensing-more" class="accordion-content">
259
+ <div class="mt-4 pt-4 border-t border-gray-200">
260
+ <p>Licensing and dispute resolution:</p>
261
+ <ul class="list-disc pl-5 mt-2 space-y-1">
262
+ <li>Builders must hold current QBCC license for the work</li>
263
+ <li>Check license details on QBCC website</li>
264
+ <li>Disputes first go to QBCC for resolution</li>
265
+ <li>Can escalate to QCAT if unresolved</li>
266
+ </ul>
267
+ </div>
268
+ </div>
269
+ </div>
270
+ </div>
271
+
272
+ <!-- Card 6 -->
273
+ <div class="bg-gray-50 rounded-lg shadow-md overflow-hidden border border-gray-200 hover:shadow-lg transition">
274
+ <div class="bg-navy text-white p-4">
275
+ <h3 class="text-xl font-bold">Dispute Resolution</h3>
276
+ </div>
277
+ <div class="p-6">
278
+ <p class="mb-6">Steps to take if problems occur with your builder, including QBCC mediation and QCAT processes.</p>
279
+ <button onclick="toggleLearnMore('disputes')" class="text-navy font-semibold hover:text-gold transition flex items-center">
280
+ Learn More <i class="fas fa-chevron-down ml-2"></i>
281
+ </button>
282
+ <div id="disputes-more" class="accordion-content">
283
+ <div class="mt-4 pt-4 border-t border-gray-200">
284
+ <p>Dispute resolution pathway:</p>
285
+ <ol class="list-decimal pl-5 mt-2 space-y-1">
286
+ <li>Attempt direct negotiation with builder</li>
287
+ <li>Contact QBCC for assistance</li>
288
+ <li>Formal complaint to QBCC if unresolved</li>
289
+ <li>Application to QCAT for orders if needed</li>
290
+ </ol>
291
+ </div>
292
+ </div>
293
+ </div>
294
+ </div>
295
+ </div>
296
+ </div>
297
+ </section>
298
+
299
+ <!-- Contract Flowchart -->
300
+ <section class="py-16 bg-gray-100">
301
+ <div class="container mx-auto px-4">
302
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">The Building Contract Process</h2>
303
+
304
+ <div class="contract-flow bg-white p-6 rounded-lg shadow-md">
305
+ <div class="flow-step">
306
+ <div class="flow-step-number">1</div>
307
+ <div class="flow-content">
308
+ <h3 class="text-xl font-bold text-navy">Initial Agreement</h3>
309
+ <p class="mt-2">Builder provides quote and contract documents including consumer guide.</p>
310
+ </div>
311
+ </div>
312
+
313
+ <div class="flow-step">
314
+ <div class="flow-step-number">2</div>
315
+ <div class="flow-content">
316
+ <h3 class="text-xl font-bold text-navy">Signing Contract</h3>
317
+ <p class="mt-2">Both parties sign the contract after 5-day cooling-off period (if applicable).</p>
318
+ </div>
319
+ </div>
320
+
321
+ <div class="flow-step">
322
+ <div class="flow-step-number">3</div>
323
+ <div class="flow-content">
324
+ <h3 class="text-xl font-bold text-navy">Construction Begins</h3>
325
+ <p class="mt-2">Builder starts work according to agreed timeline and specifications.</p>
326
+ </div>
327
+ </div>
328
+
329
+ <div class="flow-step">
330
+ <div class="flow-step-number">4</div>
331
+ <div class="flow-content">
332
+ <h3 class="text-xl font-bold text-navy">Progress Payments</h3>
333
+ <p class="mt-2">Payments made at agreed stages as work is completed and inspected.</p>
334
+ </div>
335
+ </div>
336
+
337
+ <div class="flow-step">
338
+ <div class="flow-step-number">5</div>
339
+ <div class="flow-content">
340
+ <h3 class="text-xl font-bold text-navy">Practical Completion</h3>
341
+ <p class="mt-2">Final inspection and handover with defects period (usually 6 months).</p>
342
+ </div>
343
+ </div>
344
+
345
+ <div class="flow-step">
346
+ <div class="flow-step-number">6</div>
347
+ <div class="flow-content">
348
+ <h3 class="text-xl font-bold text-navy">Final Payment</h3>
349
+ <p class="mt-2">Final payment made after all work is completed to satisfaction.</p>
350
+ </div>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ </section>
355
+
356
+ <!-- Cost Calculator -->
357
+ <section class="py-16 bg-white">
358
+ <div class="container mx-auto px-4">
359
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">Contract Cost Estimator</h2>
360
+
361
+ <div class="max-w-2xl mx-auto bg-gray-50 p-8 rounded-lg shadow-md">
362
+ <div class="mb-6">
363
+ <label for="contract-sum" class="block text-navy font-semibold mb-2">Contract Sum ($)</label>
364
+ <input type="range" id="contract-sum" min="3300" max="500000" value="150000" step="1000" class="calculator-input">
365
+ <div class="flex justify-between mt-2">
366
+ <span>$3,300</span>
367
+ <span id="contract-sum-value" class="font-bold">$150,000</span>
368
+ <span>$500,000</span>
369
+ </div>
370
+ </div>
371
+
372
+ <div class="mb-6">
373
+ <label for="deposit-percent" class="block text-navy font-semibold mb-2">Deposit Percentage</label>
374
+ <input type="range" id="deposit-percent" min="5" max="10" value="5" class="calculator-input">
375
+ <div class="flex justify-between mt-2">
376
+ <span>5%</span>
377
+ <span id="deposit-percent-value" class="font-bold">5%</span>
378
+ <span>10%</span>
379
+ </div>
380
+ </div>
381
+
382
+ <div class="mb-8">
383
+ <label for="variation-cost" class="block text-navy font-semibold mb-2">Estimated Variation Costs ($)</label>
384
+ <input type="range" id="variation-cost" min="0" max="50000" value="5000" step="500" class="calculator-input">
385
+ <div class="flex justify-between mt-2">
386
+ <span>$0</span>
387
+ <span id="variation-cost-value" class="font-bold">$5,000</span>
388
+ <span>$50,000</span>
389
+ </div>
390
+ </div>
391
+
392
+ <div class="bg-navy text-white p-6 rounded-lg">
393
+ <h3 class="text-xl font-bold mb-4">Estimated Costs</h3>
394
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
395
+ <div>
396
+ <p class="text-gray-300">Deposit Amount:</p>
397
+ <p id="deposit-amount" class="text-2xl font-bold text-gold">$7,500</p>
398
+ </div>
399
+ <div>
400
+ <p class="text-gray-300">Total Contract Value:</p>
401
+ <p id="total-contract" class="text-2xl font-bold text-gold">$155,000</p>
402
+ </div>
403
+ </div>
404
+ <div class="mt-4 pt-4 border-t border-gray-600">
405
+ <p class="text-sm">Note: These are estimates only. Actual costs may vary based on specific contract terms.</p>
406
+ </div>
407
+ </div>
408
+ </div>
409
+ </div>
410
+ </section>
411
+
412
+ <!-- FAQs -->
413
+ <section id="faqs" class="py-16 bg-gray-100">
414
+ <div class="container mx-auto px-4">
415
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">Frequently Asked Questions</h2>
416
+
417
+ <div class="max-w-3xl mx-auto">
418
+ <div class="bg-white rounded-lg shadow-md overflow-hidden mb-4">
419
+ <button onclick="toggleAccordion('faq1')" class="w-full text-left p-6 bg-gray-50 hover:bg-gray-100 transition flex justify-between items-center">
420
+ <h3 class="text-lg font-semibold text-navy">Do QLD domestic building laws apply to apartments/units or just houses?</h3>
421
+ <i id="faq1-icon" class="fas fa-chevron-down text-gold"></i>
422
+ </button>
423
+ <div id="faq1-content" class="accordion-content">
424
+ <div class="p-6 pt-0">
425
+ <p class="text-gray-700">Yes—any residential building/renovation over $3,300 (including units) needs a compliant contract, insurance and protections under Queensland law. The Domestic Building Contracts Act applies to:</p>
426
+ <ul class="list-disc pl-5 mt-2 space-y-1">
427
+ <li>Freestanding houses</li>
428
+ <li>Townhouses and units</li>
429
+ <li>Duplexes and terrace homes</li>
430
+ <li>Any residential renovation work</li>
431
+ </ul>
432
+ <p class="mt-2">The same legal protections apply regardless of the dwelling type.</p>
433
+ </div>
434
+ </div>
435
+ </div>
436
+
437
+ <div class="bg-white rounded-lg shadow-md overflow-hidden mb-4">
438
+ <button onclick="toggleAccordion('faq2')" class="w-full text-left p-6 bg-gray-50 hover:bg-gray-100 transition flex justify-between items-center">
439
+ <h3 class="text-lg font-semibold text-navy">What if my builder goes into liquidation—am I protected?</h3>
440
+ <i id="faq2-icon" class="fas fa-chevron-down text-gold"></i>
441
+ </button>
442
+ <div id="faq2-content" class="accordion-content">
443
+ <div class="p-6 pt-0">
444
+ <p class="text-gray-700">You can claim under QBCC Home Warranty Insurance which provides protection if your builder becomes insolvent. The insurance covers:</p>
445
+ <ul class="list-disc pl-5 mt-2 space-y-1">
446
+ <li>Recovery of your deposit (up to 10% of contract price)</li>
447
+ <li>Completion of the work by another builder</li>
448
+ <li>Rectification of defective work</li>
449
+ </ul>
450
+ <p class="mt-2">To make a claim, you'll need to provide your contract and evidence of payments made. QBCC will assess your claim and arrange for the work to be completed.</p>
451
+ </div>
452
+ </div>
453
+ </div>
454
+
455
+ <div class="bg-white rounded-lg shadow-md overflow-hidden mb-4">
456
+ <button onclick="toggleAccordion('faq3')" class="w-full text-left p-6 bg-gray-50 hover:bg-gray-100 transition flex justify-between items-center">
457
+ <h3 class="text-lg font-semibold text-navy">Can I make changes to the contract after signing?</h3>
458
+ <i id="faq3-icon" class="fas fa-chevron-down text-gold"></i>
459
+ </button>
460
+ <div id="faq3-content" class="accordion-content">
461
+ <div class="p-6 pt-0">
462
+ <p class="text-gray-700">Yes, but all changes must be documented as formal variations to the contract. Key points about variations:</p>
463
+ <ul class="list-disc pl-5 mt-2 space-y-1">
464
+ <li>Must be in writing and signed by both parties</li>
465
+ <li>Should clearly describe the change and any cost implications</li>
466
+ <li>Builder must provide reasonable cost breakdown for variations</li>
467
+ <li>You have the right to reject unreasonable variation costs</li>
468
+ </ul>
469
+ <p class="mt-2">Never agree to verbal variations as these are not enforceable and may void your insurance protections.</p>
470
+ </div>
471
+ </div>
472
+ </div>
473
+
474
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
475
+ <button onclick="toggleAccordion('faq4')" class="w-full text-left p-6 bg-gray-50 hover:bg-gray-100 transition flex justify-between items-center">
476
+ <h3 class="text-lg font-semibold text-navy">What happens if the work is defective?</h3>
477
+ <i id="faq4-icon" class="fas fa-chevron-down text-gold"></i>
478
+ </button>
479
+ <div id="faq4-content" class="accordion-content">
480
+ <div class="p-6 pt-0">
481
+ <p class="text-gray-700">Queensland law provides strong protections for defective work through:</p>
482
+ <ol class="list-decimal pl-5 mt-2 space-y-1">
483
+ <li><strong>Defects Liability Period:</strong> Minimum 6 months where builder must fix defects</li>
484
+ <li><strong>Statutory Warranties:</strong> 6 years for structural defects, 1 year for non-structural</li>
485
+ <li><strong>QBCC Insurance:</strong> Covers defects if builder fails to rectify</li>
486
+ </ol>
487
+ <p class="mt-2">If you notice defects, document them in writing with photos and request repairs in writing. If the builder doesn't respond, contact QBCC for assistance.</p>
488
+ </div>
489
+ </div>
490
+ </div>
491
+ </div>
492
+ </div>
493
+ </section>
494
+
495
+ <!-- Resources -->
496
+ <section id="resources" class="py-16 bg-white">
497
+ <div class="container mx-auto px-4">
498
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">Helpful Resources</h2>
499
+
500
+ <div class="max-w-4xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-8">
501
+ <div class="bg-gray-50 p-6 rounded-lg shadow-md border border-gray-200">
502
+ <div class="flex items-start">
503
+ <div class="bg-navy text-white p-3 rounded-full mr-4">
504
+ <i class="fas fa-file-pdf text-xl"></i>
505
+ </div>
506
+ <div>
507
+ <h3 class="text-xl font-bold text-navy mb-2">Contract Summary Guide</h3>
508
+ <p class="mb-4">Download our one-page PDF summary of key contract points to keep as a reference during your building project.</p>
509
+ <button class="bg-navy text-white py-2 px-6 rounded-full hover:bg-blue-900 transition flex items-center">
510
+ <i class="fas fa-download mr-2"></i> Download PDF
511
+ </button>
512
+ </div>
513
+ </div>
514
+ </div>
515
+
516
+ <div class="bg-gray-50 p-6 rounded-lg shadow-md border border-gray-200">
517
+ <div class="flex items-start">
518
+ <div class="bg-navy text-white p-3 rounded-full mr-4">
519
+ <i class="fas fa-balance-scale text-xl"></i>
520
+ </div>
521
+ <div>
522
+ <h3 class="text-xl font-bold text-navy mb-2">Legislation Links</h3>
523
+ <p class="mb-4">Access the full text of relevant Queensland legislation governing domestic building contracts.</p>
524
+ <div class="space-y-2">
525
+ <a href="https://www.legislation.qld.gov.au/view/html/inforce/current/act-2000-016" class="text-navy font-semibold hover:text-gold transition block">
526
+ <i class="fas fa-external-link-alt mr-2"></i> Domestic Building Contracts Act 2000
527
+ </a>
528
+ <a href="https://www.legislation.qld.gov.au/view/html/inforce/current/act-1991-100" class="text-navy font-semibold hover:text-gold transition block">
529
+ <i class="fas fa-external-link-alt mr-2"></i> Queensland Building and Construction Commission Act 1991
530
+ </a>
531
+ </div>
532
+ </div>
533
+ </div>
534
+ </div>
535
+ </div>
536
+ </div>
537
+ </section>
538
+
539
+ <!-- Contact Form -->
540
+ <section id="contact" class="py-16 bg-gray-100">
541
+ <div class="container mx-auto px-4">
542
+ <h2 class="text-3xl font-bold text-navy mb-12 text-center">Contact Us</h2>
543
+
544
+ <div class="max-w-2xl mx-auto bg-white p-8 rounded-lg shadow-md">
545
+ <form id="contact-form">
546
+ <div class="mb-6">
547
+ <label for="name" class="block text-navy font-semibold mb-2">Your Name</label>
548
+ <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-navy" required>
549
+ </div>
550
+
551
+ <div class="mb-6">
552
+ <label for="email" class="block text-navy font-semibold mb-2">Email Address</label>
553
+ <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-navy" required>
554
+ </div>
555
+
556
+ <div class="mb-6">
557
+ <label for="query" class="block text-navy font-semibold mb-2">Your Question</label>
558
+ <textarea id="query" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-navy" required></textarea>
559
+ </div>
560
+
561
+ <div class="mb-6 flex items-center">
562
+ <input type="checkbox" id="callback" class="mr-2">
563
+ <label for="callback" class="text-navy">Request a callback</label>
564
+ </div>
565
+
566
+ <button type="submit" class="bg-navy text-white py-3 px-8 rounded-full text-lg hover:bg-blue-900 transition w-full md:w-auto">
567
+ Submit Query
568
+ </button>
569
+ </form>
570
+
571
+ <div class="mt-8 pt-8 border-t border-gray-200">
572
+ <h3 class="text-xl font-bold text-navy mb-4">Other Ways to Reach Us</h3>
573
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
574
+ <div class="flex items-center">
575
+ <div class="bg-navy text-white p-3 rounded-full mr-4">
576
+ <i class="fas fa-phone"></i>
577
+ </div>
578
+ <div>
579
+ <p class="text-gray-600">Phone</p>
580
+ <a href="tel:+61470499567" class="text-navy font-semibold hover:text-gold transition">+61 470 499 567</a>
581
+ </div>
582
+ </div>
583
+ <div class="flex items-center">
584
+ <div class="bg-navy text-white p-3 rounded-full mr-4">
585
+ <i class="fas fa-envelope"></i>
586
+ </div>
587
+ <div>
588
+ <p class="text-gray-600">Email</p>
589
+ <a href="mailto:joseph.moke@griffithuni.edu.au" class="text-navy font-semibold hover:text-gold transition">joseph.moke@griffithuni.edu.au</a>
590
+ </div>
591
+ </div>
592
+ </div>
593
+ </div>
594
+ </div>
595
+ </div>
596
+ </section>
597
+
598
+ <!-- Footer -->
599
+ <footer class="bg-navy text-white py-8">
600
+ <div class="container mx-auto px-4">
601
+ <div class="flex flex-col md:flex-row justify-between items-center">
602
+ <div class="mb-4 md:mb-0">
603
+ <div class="flex items-center">
604
+ <div class="bg-white p-2 rounded mr-3">
605
+ <span class="text-navy font-bold text-xl">SFB</span>
606
+ </div>
607
+ <p class="text-sm">Domestic Building Contracts Made Clear</p>
608
+ </div>
609
+ </div>
610
+
611
+ <div class="text-center md:text-right">
612
+ <p class="text-sm">© 2025 SFB. All rights reserved.</p>
613
+ <p class="text-sm mt-1">Queensland, Australia</p>
614
+ </div>
615
+ </div>
616
+ </div>
617
+ </footer>
618
+
619
+ <script>
620
+ // Mobile menu toggle
621
+ const mobileMenuButton = document.getElementById('mobile-menu-button');
622
+ const mobileMenu = document.getElementById('mobile-menu');
623
+
624
+ mobileMenuButton.addEventListener('click', () => {
625
+ mobileMenu.classList.toggle('hidden');
626
+ });
627
+
628
+ // Accordion functionality
629
+ function toggleAccordion(id) {
630
+ const content = document.getElementById(`${id}-content`);
631
+ const icon = document.getElementById(`${id}-icon`);
632
+
633
+ if (content.style.maxHeight) {
634
+ content.style.maxHeight = null;
635
+ icon.classList.remove('fa-chevron-up');
636
+ icon.classList.add('fa-chevron-down');
637
+ } else {
638
+ content.style.maxHeight = content.scrollHeight + "px";
639
+ icon.classList.remove('fa-chevron-down');
640
+ icon.classList.add('fa-chevron-up');
641
+ }
642
+ }
643
+
644
+ // Learn more toggles for principle cards
645
+ function toggleLearnMore(id) {
646
+ const content = document.getElementById(`${id}-more`);
647
+
648
+ if (content.style.maxHeight) {
649
+ content.style.maxHeight = null;
650
+ } else {
651
+ content.style.maxHeight = content.scrollHeight + "px";
652
+ }
653
+ }
654
+
655
+ // Cost calculator functionality
656
+ const contractSumSlider = document.getElementById('contract-sum');
657
+ const depositPercentSlider = document.getElementById('deposit-percent');
658
+ const variationCostSlider = document.getElementById('variation-cost');
659
+
660
+ const contractSumValue = document.getElementById('contract-sum-value');
661
+ const depositPercentValue = document.getElementById('deposit-percent-value');
662
+ const variationCostValue = document.getElementById('variation-cost-value');
663
+
664
+ const depositAmount = document.getElementById('deposit-amount');
665
+ const totalContract = document.getElementById('total-contract');
666
+
667
+ function updateCalculator() {
668
+ const contractSum = parseInt(contractSumSlider.value);
669
+ const depositPercent = parseInt(depositPercentSlider.value);
670
+ const variationCost = parseInt(variationCostSlider.value);
671
+
672
+ // Update displayed values
673
+ contractSumValue.textContent = `$${contractSum.toLocaleString()}`;
674
+ depositPercentValue.textContent = `${depositPercent}%`;
675
+ variationCostValue.textContent = `$${variationCost.toLocaleString()}`;
676
+
677
+ // Calculate results
678
+ const deposit = contractSum * (depositPercent / 100);
679
+ const total = contractSum + variationCost;
680
+
681
+ // Update result displays
682
+ depositAmount.textContent = `$${Math.round(deposit).toLocaleString()}`;
683
+ totalContract.textContent = `$${total.toLocaleString()}`;
684
+ }
685
+
686
+ // Add event listeners
687
+ contractSumSlider.addEventListener('input', updateCalculator);
688
+ depositPercentSlider.addEventListener('input', updateCalculator);
689
+ variationCostSlider.addEventListener('input', updateCalculator);
690
+
691
+ // Initialize calculator
692
+ updateCalculator();
693
+
694
+ // Form submission
695
+ const contactForm = document.getElementById('contact-form');
696
+
697
+ contactForm.addEventListener('submit', (e) => {
698
+ e.preventDefault();
699
+
700
+ // Get form values
701
+ const name = document.getElementById('name').value;
702
+ const email = document.getElementById('email').value;
703
+ const query = document.getElementById('query').value;
704
+ const callback = document.getElementById('callback').checked;
705
+
706
+ // In a real application, you would send this data to your server
707
+ alert(`Thank you, ${name}! Your query has been submitted. We will contact you at ${email}${callback ? ' or by phone if requested.' : '.'}`);
708
+
709
+ // Reset form
710
+ contactForm.reset();
711
+ });
712
+
713
+ // Smooth scrolling for anchor links
714
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
715
+ anchor.addEventListener('click', function (e) {
716
+ e.preventDefault();
717
+
718
+ const targetId = this.getAttribute('href');
719
+ const targetElement = document.querySelector(targetId);
720
+
721
+ if (targetElement) {
722
+ window.scrollTo({
723
+ top: targetElement.offsetTop - 80,
724
+ behavior: 'smooth'
725
+ });
726
+
727
+ // Close mobile menu if open
728
+ if (!mobileMenu.classList.contains('hidden')) {
729
+ mobileMenu.classList.add('hidden');
730
+ }
731
+ }
732
+ });
733
+ });
734
+ </script>
735
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=brukip/jamaa" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
736
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 1. Overall Purpose • Replace SFB’s in-person seminars with a single, self-guided digital tool. • Focus squarely on explaining domestic building contract principles under Queensland legislation. • Tailor tone and depth to a 30–55 y/o, tech-savvy, mid-income couple/family market in SE Queensland. 2. Structure & Navigation • Mobile-first, responsive layout that works on phones, tablets and desktops. • Sticky header with SFB logo and primary nav links: o Home / Introduction o Contract Principles o FAQs o Resources (PDF download / legislation links) o Contact • In-page anchor links or a slim side-bar for quick jumps to each major section. 3. Content Sections 3.1 Introduction / Hero • Brief tagline (“Domestic Building Contracts Made Clear”) • One-sentence overview of why contracts matter • “Start Here” CTA button that scrolls to the first principle 3.2 Key Contract Principles Break into 4–6 bite-sized cards or accordions, each with a 20–30 word blurb + “Learn More” link: 1. Scope of Work – What “domestic building work” covers (incl. houses, units, garages). 2. Pricing & Payments – Deposit limits, progress payments, trust-account rules. 3. Timelines & Variations – Start/completion dates, extensions, formal variation process. 4. Legal Requirements – Written contract thresholds, consumer guide, Home Warranty insurance. 5. (Optional) Licensing & Dispute Resolution 3.3 FAQs (Accordion Style) Embed two interactive accordions, default-collapsed: • Q1: Do QLD domestic building laws apply to apartments/units or just houses? • A1: Yes—any residential building/renovation over $3,300 (incl. units) needs a compliant contract, insurance and protections. • Q2: What if my builder goes into liquidation—am I protected? • A2: You can claim under QBCC Home Warranty Insurance: get deposits back, have work finished by another builder, and have defects remedied. 3.4 Multimedia & Interactive Elements • Infographic or SVG flowchart showing contract lifecycle. • Simple cost estimator widget (inputs: contract sum, deposit %, variation costs). 3.5 Resources & Download • Button to download a one-page PDF summary of key contract points. • Links to relevant Queensland legislation (legislation.qld.gov.au). 3.6 Contact / Next Steps • Simple contact form (Name, Email, Query) + “Request a Callback” checkbox. • SFB phone & email footer. 4. Design & Accessibility • On-brand palette: Navy (#002147), white, gold accents. • Typography: Clean sans-serif, clear hierarchy (H1, H2, H3). • Buttons & CTAs: 2xl rounded corners, soft shadows, ample padding. • WCAG 2.1 AA compliance: Alt text, keyboard-accessible accordions, 4.5:1 contrast. 5. Technical Specs • HTML5/CSS3 (Grid + Flexbox) and vanilla JS or React for accordions/calculator. • Static-site ready (e.g. Gatsby, Netlify) or simple CMS integration. • Performance: Minify assets, lazy-load media, responsive image breakpoints. Phone number +61470499567 email address joseph.moke@griffithuni.edu.au Location is Queensland, copyright 2025