-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpress.html
369 lines (311 loc) · 13.8 KB
/
press.html
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Techscrïbe</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600&family=Inter:wght@700;800&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
}
#press-release-container {
width: 92%;
margin: 0 auto;
padding: 20px;
position: relative;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#press-release {
border: 1px solid #ccc;
padding: 20px;
position: relative;
}
.highlighted {
background-color: yellow;
}
.tip-container {
display: none;
position: absolute;
padding: 10px;
background-color: yellow;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
z-index: 1;
}
.tip-text {
margin: 0;
}
.tip-arrow {
display: none;
position: absolute;
font-size: 20px;
color: yellow;
z-index: 0;
}
#next-button {
display: block;
margin: 20px auto;
padding: 10px 20px;
background-color: #c06c04;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#next-button:hover {
background-color: #0056b3;
}
h1 {
text-align: center;
}
h2 {
font-size: 1.5em;
margin-top: 20px;
}
p {
margin: 0 0 15px;
}
</style>
</head>
<body>
<div class="container-xxl bg-white p-0">
<!-- Spinner Start -->
<div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<!-- Spinner End -->
<!-- Navbar & Hero Start -->
<div class="container-xxl position-relative p-0">
<nav class="navbar navbar-expand-lg navbar-light px-4 px-lg-5 py-3 py-lg-0">
<a href="index.html" class="navbar-brand p-0">
<h1 class="m-0">Techscrïbe</h1>
<!-- <img src="img/logo.png" alt="Logo"> -->
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="fa fa-bars"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav ms-auto py-0">
<a href="index.html" class="nav-item nav-link">Home</a>
<a href="blog.html" class="nav-item nav-link">Blog</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle active" data-bs-toggle="dropdown">Formats</a>
<div class="dropdown-menu m-0">
<a href="letter.html" class="dropdown-item">Letter</a>
<a href="email.html" class="dropdown-item">Email</a>
<a href="memo.html" class="dropdown-item">Memo</a>
<a href="resume.html" class="dropdown-item">Resume</a>
<a href="sop.html" class="dropdown-item">SOP</a>
<a href="user.html" class="dropdown-item">User Manual</a>
<a href="report.html" class="dropdown-item">Report</a>
<a href="press.html" class="dropdown-item">Press release</a>
<a href="proposal.html" class="dropdown-item">Proposal</a>
</div>
</div>
<a href="calculator.html" class="nav-item nav-link">Calculator</a>
</div>
<a href="" class="btn btn-light rounded-pill text-primary py-2 px-4 ms-lg-5">SCRÏBE </a>
</div>
</nav>
<div class="container-xxl bg-primary hero-header">
<div class="container">
<h1 style="text-align: center;">Press Release</h1>
</div>
</div>
</div>
</div>
<!-- Navbar & Hero End -->
<!-- About End -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Press Release Correction Example</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
}
#press-release-container {
width: 92%;
margin: 0 auto;
padding: 20px;
position: relative;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#press-release {
border: 1px solid #ccc;
padding: 20px;
position: relative;
}
.highlighted {
background-color: yellow;
}
.mistake-container {
display: none;
position: absolute;
padding: 10px;
background-color: yellow;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
z-index: 1;
}
.mistake-text {
margin: 0;
}
.mistake-arrow {
display: none;
position: absolute;
font-size: 20px;
color: yellow;
z-index: 0;
}
#next-button {
display: block;
margin: 20px auto;
padding: 10px 20px;
background-color: #c06c0c;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#next-button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div id="press-release-container">
<h1>Press Release</h1>
<div id="press-release">
<p>
FOR IMMEDIATE RELEASE<br>
September 25, 20<br>
Company Name Press Release
</p>
<div class="mistake-container" style="top: 50px; left: 150px;">
<div class="mistake-arrow" style="top: -10px; left: 10px;">▲</div>
<p class="mistake-text">Mistake: Incorrect Date Format - The original press release uses an incorrect and ambiguous date format ("September 25, 20"). The corrected version uses a full date format ("September 25, 20XX").</p>
</div>
<p>
[City, State] - Company Name is excited 2 announce that we're expanding are product line. Their going 2 add a variety of new items to there inventory. It's great news for our customers.
</p>
<div class="mistake-container" style="top: 90px; left: 150px;">
<div class="mistake-arrow" style="top: -10px; left: 10px;">▲</div>
<p class="mistake-text">Mistake: Spelling and Grammar Errors - The original press release contains multiple spelling and grammar errors ("are" instead of "our," "their" instead of "they're," "2" instead of "to," "you're" instead of "your," "couldn't of" instead of "couldn't have," "2" instead of "to," "their" instead of "there"). The corrected version fixes these errors.</p>
</div>
<p>
We here at Company Name appreciate you're loyalty and couldn't of done it without you. Your support is invaluable 2 us.
</p>
<div class="mistake-container" style="top: 150px; left: 150px;">
<div class="mistake-arrow" style="top: -10px; left: 10px;">▲</div>
<p class="mistake-text">Mistake: Lack of Clarity - The original press release lacks clarity and uses informal language. The corrected version provides a clear and professional announcement.</p>
</div>
<p>
We look forward 2 the future and what it holds. Their will be more information coming soon, so stay tuned.
</p>
<div class="mistake-container" style="top: 210px; left: 150px;">
<div class="mistake-arrow" style="top: -10px; left: 10px;">▲</div>
<p class="mistake-text">Mistake: Ambiguity - The phrase "stay tuned" is informal and should be replaced with a more professional tone in the corrected version.</p>
</div>
</div>
<button id="next-button">Next</button>
</div>
<script>
// JavaScript to control press release correction and next button
const mistakeContainers = document.querySelectorAll('.mistake-container');
const mistakeArrows = document.querySelectorAll('.mistake-arrow');
const nextButton = document.getElementById('next-button');
let currentIndex = -1;
// Hide all mistake highlights initially
mistakeContainers.forEach((container) => {
container.style.display = 'none';
});
// Define the list of mistakes and corrections for the press release
const mistakes = [
"Incorrect Date Format",
"Spelling and Grammar Errors",
"Lack of Clarity",
"Ambiguity",
];
// Corresponding corrected content for the press release
const correctedPressRelease = [
"FOR IMMEDIATE RELEASE<br>September 25, 20XX<br>Company Name Press Release",
"[City, State] - Company Name is excited to announce that we're expanding our product line. We will be adding a variety of new items to our inventory. This is great news for our customers.",
"We, at Company Name, appreciate your loyalty and couldn't have done it without you. Your support is invaluable to us.",
"We look forward to the future and what it holds. There will be more information coming soon, so stay tuned.",
];
nextButton.addEventListener('click', () => {
// Hide the previous displayed mistake, if any
if (currentIndex >= 0) {
mistakeContainers[currentIndex].style.display = 'none';
mistakeArrows[currentIndex].style.display = 'none';
}
// Show the next mistake, if available
if (currentIndex < mistakes.length - 1) {
currentIndex++;
// Show the current mistake
mistakeContainers[currentIndex].style.display = 'block';
mistakeArrows[currentIndex].style.display = 'block';
// Delay the correction by 1 second
setTimeout(() => {
// Update the press release content with the corrected version for the current mistake
document.querySelector("#press-release p:nth-child(" + (currentIndex * 2 + 1) + ")").innerHTML = correctedPressRelease[currentIndex];
}, 1000);
} else {
// Hide the "Next" button when all mistakes are shown.
nextButton.style.display = 'none';
}
});
</script>
<p class="centr">Click the button to download a sample file:</p>
<a href="https://docs.google.com/document/d/1Rnz7QQGO3rcRxAYacUDbJ-XBaYc_B_ZjSUOUee01Css/edit" download="sample-file.docx">
<button class="download-button">Download word Doc</button>
</a>
</body>
</html>
<!-- <p>Click the link below to download a sample file:</p>
<a href="/Users/dp/Downloads/bizconsult-1.0.0/8-JqXFfRCH6DnFmnc.png" download="sample-file.pdf">Download Sample PDF</a> -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a>
</div>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
</html>