-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
354 lines (333 loc) · 13.8 KB
/
about.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About - DIWTemplate</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #fff; /* Change background to white */
color: #000; /* Change text color to black */
margin: 0;
padding: 0;
}
header {
background-color: #000; /* Change header background to white */
color: #fff; /* Change header text to black */
padding: 5px 5px;
text-align: center;
}
header h1 {
font-size: 2em; /* Example header font size */
}
.share-icons {
margin-top: 10px;
text-align: center;
}
.share-icons a {
margin: 0 10px;
text-decoration: none;
color: #000;
}
.share-icons img {
width: 30px;
height: 30px;
}
.subscribe-icons {
margin-top: 10px;
text-align: center;
}
.subscribe-icons a {
margin: 0 10px;
text-decoration: none;
color: #000;
}
.subscribe-icons img {
width: 30px;
height: 30px;
}
main {
padding: 20px;
}
.content-box {
background-color: #fff; /* Change content box background to white */
color: #000; /* Change content box text to black */
padding: 0px 0px; /* Add more padding to the top and bottom */
text-align: center;
margin-bottom: 10px;
border-radius: 5px;
height: auto; /* Adjust height as needed */
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #ddd; /* Add border for better separation */
flex-direction: column;
}
.content-box h2 {
font-size: 2em; /* Match the header font size */
margin-bottom: 20px; /* Add space below the h2 */
}
.about-content-box { /* Specific class for About content box */
width: 80%; /* Set the width as needed */
margin: 0 auto; /* Center the box */
}
.carousel-section {
margin-bottom: 40px;
text-align: center;
display: flex;
align-items: center;
justify-content: center; /* Center the container */
}
.carousel-section img {
width: 30px; /* Size of the RSS icon */
height: 30px;
margin-right: 10px; /* Space between the icon and the title */
}
.carousel-container {
display: inline-block;
text-align: left;
width: 75%; /* Set the container width to 75% */
overflow: hidden;
position: relative;
}
.carousel-item {
background-color: #fff;
border-radius: 5px;
margin-bottom: 20px;
padding: 15px;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-shrink: 0;
width: 300px;
height: auto; /* Adjust height as needed */
box-sizing: border-box;
overflow: hidden; /* Ensure content doesn't overflow */
}
.carousel-item h3 {
margin: 0;
font-size: 1.1em;
}
.carousel-item p {
margin: 10px 0 0;
overflow: hidden;
text-overflow: ellipsis;
}
.carousel {
width: 100%;
max-width: 100%;
overflow-x: scroll; /* Ensure the scrollbar is visible */
white-space: nowrap;
display: flex;
position: relative;
}
.carousel-inner {
display: flex;
transition: transform 0.5s ease;
}
.carousel-item {
display: inline-block;
min-width: 300px;
box-sizing: border-box;
}
footer {
background-color: #fff; /* Change footer background to white */
color: #000; /* Change footer text to black */
padding: 20px 0;
text-align: center;
border-top: 1px solid #ddd; /* Add border for better separation */
}
.chatgpt-box {
width: 100%;
max-width: 800px;
margin: 0 auto 20px;
text-align: center;
}
.chatgpt-box img {
max-width: 50px; /* Reduce the size by 50% */
height: auto;
border-radius: 10px;
}
</style>
</head>
<body>
<header>
<h1>#MinimizeHomelessness</h1>
<div class="share-icons">
<span>Share this seed of Deep Inquiry on:</span>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://paulduplantis.github.io/DIWTemplate/" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg" alt="Facebook">
</a>
<a href="https://twitter.com/intent/tweet?text=Check%20out%20this%20site&url=https://paulduplantis.github.io/DIWTemplate/" target="_blank">
<img src="https://paulduplantis.github.io/DIWTemplate/x_logo.png" alt="X">
</a>
<a href="https://www.linkedin.com/sharing/share-offsite/?url=https://paulduplantis.github.io/DIWTemplate/" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/8/81/LinkedIn_icon.svg" alt="LinkedIn">
</a>
<a href="mailto:?subject=Deep%20Inquiry&body=Check%20out%20this%20site%20https://paulduplantis.github.io/DIWTemplate/" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/4e/Mail_%28iOS%29.svg" alt="Email">
</a>
<a href="https://mail.google.com/mail/?view=cm&su=Deep%20Inquiry&body=Check%20out%20this%20site%20https://paulduplantis.github.io/DIWTemplate/" target="_blank">
<img src="https://paulduplantis.github.io/DIWTemplate/gmail.png" alt="Gmail">
</a>
<span>Subscribe:</span>
<a href="http://www.testrssfeed.com" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg" alt="RSS">
</a>
<a href="mailto:[email protected]?subject=Subscribe&body=Please%20subscribe%20me%20to%20your%20newsletter" target="_blank">
<img src="https://paulduplantis.github.io/DIWTemplate/email-subscription.png" alt="Email">
</a>
</div>
</header>
<main>
<div class="content-box about-content-box">
<h2>About</h2>
<p>Prior to his current role, Ryan served as the Director of Sales - West at Computer Aided Technology, Inc., where he expanded the sales leadership role to include the Pacific Northwest region, leading a team of 10 outside sales executives. Under his leadership, territory revenues grew by 39%, and his team consistently surpassed net new revenue targets. Ryan's strategic use of Salesforce for customer insights and his dedication to training and development have solidified his reputation as a sales leader who drives performance and innovation. With a robust background in sales leadership, training, and development, and a keen focus on strategic planning and C-Level presentations, Ryan continues to push the status quo and achieve greater outcomes in the software sales industry.
</p>
<p><a href="index.html">Back to Home</a></p>
</div>
<section class="carousel-section">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg" alt="RSS Feed Icon">
<div class="carousel-container">
<h2>News Feed</h2>
<div class="carousel">
<div class="carousel-inner" id="carousel-inner-news">
<!-- News feed items will be dynamically inserted here -->
</div>
</div>
</div>
</section>
<section class="carousel-section">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg" alt="RSS Feed Icon">
<div class="carousel-container">
<h2>Audio Feed</h2>
<div class="carousel">
<div class="carousel-inner" id="carousel-inner-audio">
<!-- Audio feed items will be dynamically inserted here -->
</div>
</div>
</div>
</section>
<section class="carousel-section">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg" alt="RSS Feed Icon">
<div class="carousel-container">
<h2>Video Feed</h2>
<div class="carousel">
<div class="carousel-inner" id="carousel-inner-video">
<!-- Video feed items will be dynamically inserted here -->
</div>
</div>
</div>
</section>
<section class="carousel-section">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg" alt="RSS Feed Icon">
<div class="carousel-container">
<h2>Book Feed</h2>
<div class="carousel">
<div class="carousel-inner" id="carousel-inner-books">
<!-- Book feed items will be dynamically inserted here -->
</div>
</div>
</div>
</section>
</main>
<footer>
<p>To learn more about Deep Inquiry Websites, contact: [email protected]</p>
<p>To access the GitHub Repository to copy code and build your own Deep Inquiry website, visit <a href="https://github.com/paulduplantis/DIWTemplate" target="_blank">https://github.com/paulduplantis/DIWTemplate</a></p>
<p>Build and share to create a deeper human connection.</p>
<p><a href="about.html">About</a></p>
</footer>
<script>
const podcastFeedUrl = 'https://rss.app/feeds/t7XdGbL5yiqmUWzy.xml';
const excludedPodcastTitle = 'The Storm Before The Storm: Chapter 1- The Beasts of Italy';
async function fetchFeed(feedUrl, containerId, excludedTitle) {
try {
const response = await fetch(feedUrl);
if (!response.ok) {
console.error('Failed to fetch the RSS feed:', response.status, response.statusText);
return;
}
const text = await response.text();
const parser = new DOMParser();
const xml = parser.parseFromString(text, 'application/xml');
let items = Array.from(xml.querySelectorAll('item'));
// Reverse the items to show oldest first
items.reverse();
const carouselInner = document.getElementById(containerId);
if (items.length === 0) {
console.warn('No RSS feed items found.');
return;
}
items.forEach(item => {
const title = item.querySelector('title').textContent;
if (title === excludedTitle) {
return; // Skip this item
}
const link = item.querySelector('link').textContent;
const description = item.querySelector('description').textContent;
const carouselItem = document.createElement('div');
carouselItem.classList.add('carousel-item');
carouselItem.innerHTML = `
<div class="rss-item">
<h3>${title}</h3>
<p>${description}</p>
<a href="${link}" target="_blank">Listen Now</a>
</div>
`;
carouselInner.appendChild(carouselItem);
});
} catch (error) {
console.error('Error fetching or parsing RSS feed:', error);
}
}
function setupCarousel(containerId) {
const carouselInner = document.getElementById(containerId);
let index = 0;
function showSlide(i) {
const items = document.querySelectorAll(`#${containerId} .carousel-item`);
if (i >= items.length) index = 0;
if (i < 0) index = items.length - 1;
carouselInner.style.transform = `translateX(${-index * 300}px)`;
}
}
const books = [
{
title: 'SPQR: A History of Ancient Rome',
author: 'Mary Beard',
imageUrl: 'https://m.media-amazon.com/images/I/51DNaiWfllL.jpg',
link: 'https://www.amazon.com/dp/0670024870'
},
{
title: 'The History of Rome',
author: 'Livy',
imageUrl: 'https://m.media-amazon.com/images/I/41NGZX9G4ZL._SX326_BO1,204,203,200_.jpg',
link: 'https://www.amazon.com/dp/0140448098'
},
// Add more book data as needed
];
function loadBooks() {
const carouselInnerBooks = document.getElementById('carousel-inner-books');
books.forEach(book => {
const carouselItem = document.createElement('div');
carouselItem.classList.add('carousel-item');
carouselItem.innerHTML = `
<div>
<h3>${book.title}</h3>
<p>${book.author}</p>
<a href="${book.link}" target="_blank">View on Amazon</a>
</div>
`;
carouselInnerBooks.appendChild(carouselItem);
});
}
document.addEventListener('DOMContentLoaded', () => {
fetchFeed(podcastFeedUrl, 'carousel-inner-news', excludedPodcastTitle);
fetchFeed(podcastFeedUrl, 'carousel-inner-audio', excludedPodcastTitle);
fetchFeed(podcastFeedUrl, 'carousel-inner-video', excludedPodcastTitle);
loadBooks();
});
</script>
</body>
</html>