Skip to content

Commit e5791c2

Browse files
committed
reorganized posts categories
1 parent 277d381 commit e5791c2

10 files changed

+31
-30
lines changed

posts/Added-security-when-Dangerously-setting-innerHtml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Add protection when dangerously setting html in React"
33
date: "September, 14, 2022"
44
excerpt: "This will show you how to use one of the most under used npm packages out there"
55
cover_image: "/images/posts/img7.jpg"
6-
category: "Utilities"
6+
category: "ClientSide"
77
author: "WayneCarl"
88
author_image: "/images/wayneswildworldImages/waterfall.jpg"
99
---

posts/Getting-bootstrap-in-unbounce.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Unbounce'
33
date: 'September, 14, 2022'
44
excerpt: 'This article will show you how to implement bootstrap in Unbounce'
55
cover_image: '/images/posts/img7.jpg'
6-
category: 'Utilities'
6+
category: 'ClientSide'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---
@@ -14,4 +14,4 @@ author_image: '/images/wayneswildworldImages/waterfall.jpg'
1414
```javascript
1515
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
1616
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
17-
```
17+
```
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
2-
title: "Making Array only have 1 of each items"
3-
date: 'May 7, 2022'
4-
excerpt: 'This is an easy 1 liner for making an array only unique values'
5-
cover_image: ''
6-
category: 'Styles'
7-
author: 'WayneCarl'
8-
author_image: '/images/wayneswildworldImages/waterfall.jpg'
2+
title: "Making Array only have unique items"
3+
date: "May 7, 2022"
4+
excerpt: "This is an easy 1 liner for making an array only unique values"
5+
cover_image: ""
6+
category: "Utilities"
7+
author: "WayneCarl"
8+
author_image: "/images/wayneswildworldImages/waterfall.jpg"
99
---
1010

1111
# Making Array only have 1 of each items
12-
**uniqueCategories should be the name of the array**
12+
13+
**uniqueCategories should be the name of the array**
1314

1415
```javascript
15-
const uniqueCategories = [...new Set(categories)]
16-
```
16+
const uniqueCategories = [...new Set(categories)];
17+
```

posts/Making-a-PWA.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "How to turn your web app into a PWA"
33
date: "September, 12, 2022"
44
excerpt: "Companies like twitter understand the value of making there website a pwa learn more about this topic here"
55
cover_image: "/images/posts/img7.jpg"
6-
category: "Utilities"
6+
category: "ClientSide"
77
author: "WayneCarl"
88
author_image: "/images/wayneswildworldImages/waterfall.jpg"
99
---
@@ -157,7 +157,7 @@ useEffect(() => {
157157
// You may want to customize the UI prompt accordingly.
158158
if (
159159
confirm(
160-
"A newer version of this web app is available, reload to update?"
160+
"A newer version of this web app is available, reload to update?",
161161
)
162162
) {
163163
wb.addEventListener("controlling", (event) => {
@@ -168,7 +168,7 @@ useEffect(() => {
168168
wb.messageSkipWaiting();
169169
} else {
170170
console.log(
171-
"User rejected to reload the web app, keep using old version. New version will be automatically load when user open the app next time."
171+
"User rejected to reload the web app, keep using old version. New version will be automatically load when user open the app next time.",
172172
);
173173
}
174174
};
@@ -252,7 +252,7 @@ self.addEventListener("install", (evt) => {
252252
caches.open(staticCacheName).then((cache) => {
253253
//console.log("caching shell assets");
254254
cache.addAll(assets);
255-
})
255+
}),
256256
);
257257
});
258258

@@ -265,9 +265,9 @@ self.addEventListener("activate", (evt) => {
265265
return Promise.all(
266266
keys
267267
.filter((key) => key !== staticCacheName && key !== dynamicCacheName)
268-
.map((key) => caches.delete(key))
268+
.map((key) => caches.delete(key)),
269269
);
270-
})
270+
}),
271271
);
272272
});
273273

@@ -299,7 +299,7 @@ self.addEventListener("fetch", (evt) => {
299299
) {
300300
return caches.match("/offline.html");
301301
}
302-
})
302+
}),
303303
);
304304
}
305305
});
@@ -319,7 +319,7 @@ self.addEventListener("push", (event) => {
319319

320320
event
321321
.waitUntil(
322-
self.registration.showNotification(notificationData.title, options)
322+
self.registration.showNotification(notificationData.title, options),
323323
)
324324
.then(() => {
325325
alert("Notification shown");
@@ -342,7 +342,7 @@ self.addEventListener("notificationclick", (event) => {
342342
```
343343

344344
```html
345-
<!DOCTYPE html>
345+
<!doctype html>
346346
<html lang="en">
347347
<head>
348348
<meta charset="UTF-8" />

posts/MongoDB-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'MongoDB'
33
date: 'September 22, 2022'
44
excerpt: "MongoDB is an excellent noSQL database it's a must learn"
55
cover_image: ''
6-
category: 'FrameWorks'
6+
category: 'Database'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---

posts/SQL-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'SQL'
33
date: 'September 22, 2022'
44
excerpt: 'SQL is the gold standard in databases should be every noobies first database'
55
cover_image: ''
6-
category: 'FrameWorks'
6+
category: 'Database'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---

posts/Using-a-rich-text-editor-in-react.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Implement a rich text editor on your website'
33
date: 'September, 14, 2022'
44
excerpt: 'A rich text editor allows people to style text before submitting'
55
cover_image: '/images/posts/img5.jpg'
6-
category: 'Utilities'
6+
category: 'ClientSide'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---
@@ -63,4 +63,4 @@ export default MyComponent;
6363
```
6464

6565
# You will probably need to use html-react-parser and isomorphic-dompurify
66-
**see those articles in the Utilities category**
66+
**see those articles in the Utilities category**

posts/Using-markdown-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Build a site with markdown'
33
date: 'September, 14, 2022'
44
excerpt: 'This will show you the basics of what I used to make this website'
55
cover_image: '/images/posts/img7.jpg'
6-
category: 'Utilities'
6+
category: 'ClientSide'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---

posts/Using-react-mapbox-gl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Create a custom interactive map'
33
date: 'September, 14, 2022'
44
excerpt: 'This will show you how to use react-map-gl'
55
cover_image: '/images/posts/img7.jpg'
6-
category: 'Utilities'
6+
category: 'ClientSide'
77
author: 'WayneCarl'
88
author_image: '/images/wayneswildworldImages/waterfall.jpg'
99
---
@@ -159,4 +159,4 @@ export default function NewMapBoxMap({ allEvents }) {
159159
</>
160160
)
161161
}
162-
```
162+
```

projects/Wellruntournaments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ author_image: '/images/wayneswildworldImages/waterfall.jpg'
1111
<!-- Markdown generator - https://jaspervdj.be/lorem-markdownum/ -->
1212

1313

14-
# [<span style="text-decoration: underline; word-wrap: break-word;">Click to view full site</span>](https://www.wrestlingtournaments.com/)
14+
# [<span style="text-decoration: underline; word-wrap: break-word;">Click to view full site</span>](https://wellruntournaments.vercel.app/)
1515

1616
## What was included in this project
1717
> - #### A main page that displays all vents on a map with various filters that the user can use to refine the search (*Main Photo*)

0 commit comments

Comments
 (0)