Skip to content

Commit 8013445

Browse files
committed
build: added prettier for checking files formatting
1 parent e8713ed commit 8013445

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4057
-3264
lines changed

.github/workflows/node.js.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: ["main", "dev"]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: ["main", "dev"]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
@@ -20,12 +19,11 @@ jobs:
2019
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120

2221
steps:
23-
- uses: actions/checkout@v4
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: "npm"
28+
- run: npm ci
29+
- run: npm run prettier:ci

CONTRIBUTING.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Contribution Guideline
22

3-
43
## How do I make a contribution to this project?
54

6-
75
Never made an open source contribution before? Wondering how contributions work in the in our project? Here's a quick rundown!
86

97
## **Here's a quick rundown on how to make a contribution to my project:**
@@ -12,10 +10,8 @@ Never made an open source contribution before? Wondering how contributions work
1210

1311
1. Find an issue that you are interested in addressing or a feature that you would like to add.
1412

15-
1613
2. Fork the repository associated with the issue to your local GitHub organization. This means that you will have a copy of the repository `underyour-GitHub-username/repository-name.`
1714

18-
1915
3. Clone the repository to your local machine using:
2016

2117
```
@@ -39,12 +35,11 @@ Never made an open source contribution before? Wondering how contributions work
3935
```
4036
git switch -c branch-name-here
4137
```
42-
7. Make the appropriate changes for the issue you are trying to address or the feature that you want to add
4338

39+
7. Make the appropriate changes for the issue you are trying to address or the feature that you want to add
4440

4541
8. Add the changes to the staging are and commit them to the branch you are working on
4642

47-
4843
9. Push the changes to the remote repository using:
4944

5045
```
@@ -53,10 +48,8 @@ Never made an open source contribution before? Wondering how contributions work
5348

5449
10. Submit a **pull request** to the upstream repository
5550

56-
5751
11. Title the **pull request** with a short description of the changes made
5852

59-
6053
12. Wait for the pull request to be reviewed by a maintainer
6154

6255
13. Make changes to the pull request if the reviewing maintainer recommends them

autumn/404.html

+36-19
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,44 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
3+
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script
6+
async
7+
src="https://www.googletagmanager.com/gtag/js?id=G-1752YPLP7H"
8+
></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag() {
12+
dataLayer.push(arguments);
13+
}
14+
gtag("js", new Date());
15+
16+
gtag("config", "G-1752YPLP7H");
17+
</script>
18+
19+
<meta charset="UTF-8" />
20+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
21+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
722
<title>Autumn | tsParticles 404</title>
823
<link type="text/css" rel="stylesheet" href="styles/404.css" />
924
<title>Autumn 404</title>
10-
<link rel="icon" type="image/x-icon" href="../images/tsParticles-64.png">
11-
</head>
12-
<body>
25+
<link rel="icon" type="image/x-icon" href="../images/tsParticles-64.png" />
26+
</head>
27+
<body>
1328
<div class="container">
14-
<div id="tsparticles"></div>
29+
<div id="tsparticles"></div>
1530

16-
<div class="wrapper">
17-
<img src="/autumn/images/pumpkin.png"></img>
18-
<h1>404</h1>
19-
<h3>Uh-oh, page not found :(</h3>
20-
<a href="#"><button class="link">Go Back</button></a>
21-
</div>
31+
<div class="wrapper">
32+
<img src="/autumn/images/pumpkin.png" />
33+
<h1>404</h1>
34+
<h3>Uh-oh, page not found :(</h3>
35+
<a href="#"><button class="link">Go Back</button></a>
36+
</div>
2237
</div>
23-
<script type="text/javascript"
24-
src="https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.slim.bundle.min.js"></script>
38+
<script
39+
type="text/javascript"
40+
src="https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.slim.bundle.min.js"
41+
></script>
2542
<script type="text/javascript" defer="defer" src="scripts/404.js"></script>
26-
</body>
27-
</html>
43+
</body>
44+
</html>

autumn/scripts/404.js

+76-76
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
11
tsParticles.load("tsparticles", {
2-
fpsLimit: 60,
3-
fullScreen: {
4-
enable: true
2+
fpsLimit: 60,
3+
fullScreen: {
4+
enable: true,
5+
},
6+
interactivity: {
7+
detectsOn: "window",
8+
events: {
9+
resize: true,
10+
onHover: {
11+
enable: true,
12+
mode: "bubble",
13+
},
514
},
6-
interactivity: {
7-
detectsOn: "window",
8-
events: {
9-
resize: true,
10-
onHover: {
11-
enable: true,
12-
mode: "bubble"
13-
}
14-
},
15-
modes: {
16-
bubble: { distance: 100, duration: 2, opacity: 1, size: 40, speed: 3 },
17-
grab: { distance: 400, links: { opacity: 1 } },
18-
push: { quantity: 4 },
19-
remove: { quantity: 2 },
20-
repulse: { distance: 200, duration: 0.4 }
21-
}
15+
modes: {
16+
bubble: { distance: 100, duration: 2, opacity: 1, size: 40, speed: 3 },
17+
grab: { distance: 400, links: { opacity: 1 } },
18+
push: { quantity: 4 },
19+
remove: { quantity: 2 },
20+
repulse: { distance: 200, duration: 0.4 },
2221
},
23-
particles: {
24-
color: { value: "random" },
25-
links: {
26-
color: "random",
27-
distance: 150,
28-
enable: false,
29-
opacity: 1,
30-
width: 1
31-
},
32-
move: {
33-
attract: { enable: false, rotateX: 600, rotateY: 1200 },
34-
bounce: false,
35-
direction: "none",
36-
enable: true,
37-
out_mode: "out",
38-
random: false,
39-
speed: 3,
40-
straight: false
41-
},
42-
rotate: {
43-
animation: {
44-
enable: true,
45-
speed: 10,
46-
sync: false
47-
}
48-
},
49-
number: { density: { enable: true, area: 800 }, value: 100 },
50-
opacity: {
51-
animation: { enable: true, minimumValue: 1, speed: 1, sync: false },
52-
random: false,
53-
value: 1
54-
},
55-
shape: {
56-
character: [
57-
{
58-
fill: true,
59-
font: "Verdana",
60-
value: ["🍂", "🍁"],
61-
style: "",
62-
weight: 400
63-
}
64-
],
65-
image: {
66-
height: 100,
67-
replace_color: true,
68-
src: "images/github.svg",
69-
width: 100
70-
},
71-
polygon: { nb_sides: 5 },
72-
stroke: { color: "random", width: 1 },
73-
type: "char"
22+
},
23+
particles: {
24+
color: { value: "random" },
25+
links: {
26+
color: "random",
27+
distance: 150,
28+
enable: false,
29+
opacity: 1,
30+
width: 1,
31+
},
32+
move: {
33+
attract: { enable: false, rotateX: 600, rotateY: 1200 },
34+
bounce: false,
35+
direction: "none",
36+
enable: true,
37+
out_mode: "out",
38+
random: false,
39+
speed: 3,
40+
straight: false,
41+
},
42+
rotate: {
43+
animation: {
44+
enable: true,
45+
speed: 10,
46+
sync: false,
47+
},
48+
},
49+
number: { density: { enable: true, area: 800 }, value: 100 },
50+
opacity: {
51+
animation: { enable: true, minimumValue: 1, speed: 1, sync: false },
52+
random: false,
53+
value: 1,
54+
},
55+
shape: {
56+
character: [
57+
{
58+
fill: true,
59+
font: "Verdana",
60+
value: ["🍂", "🍁"],
61+
style: "",
62+
weight: 400,
7463
},
75-
size: {
76-
anim: { enable: true, minimumValue: 8, speed: 20, sync: false },
77-
random: { minimumValue: 8, enable: true },
78-
value: 32
79-
}
64+
],
65+
image: {
66+
height: 100,
67+
replace_color: true,
68+
src: "images/github.svg",
69+
width: 100,
70+
},
71+
polygon: { nb_sides: 5 },
72+
stroke: { color: "random", width: 1 },
73+
type: "char",
74+
},
75+
size: {
76+
anim: { enable: true, minimumValue: 8, speed: 20, sync: false },
77+
random: { minimumValue: 8, enable: true },
78+
value: 32,
8079
},
81-
detectRetina: true
80+
},
81+
detectRetina: true,
8282
});

0 commit comments

Comments
 (0)