Skip to content

Commit 01624c8

Browse files
committed
feat: replaced download links to GitHub releases instead, dependency upgrades, format fixes, refactoring, Yarn upgrade
1 parent 79d23ff commit 01624c8

30 files changed

Lines changed: 1349 additions & 1210 deletions

File tree

Lines changed: 287 additions & 287 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.5.3.cjs
3+
yarnPath: .yarn/releases/yarn-4.6.0.cjs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ yarn build
2525

2626
This website is maintained by [CodeDead](https://codedead.com).
2727

28-
Copyright © 2024 CodeDead
28+
Copyright © 2025 CodeDead

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
1616
},
1717
"dependencies": {
18-
"@emotion/react": "^11.13.5",
19-
"@emotion/styled": "^11.13.5",
20-
"@fontsource/roboto": "^5.1.0",
21-
"@mui/icons-material": "^6.1.10",
22-
"@mui/material": "^6.1.10",
18+
"@emotion/react": "^11.14.0",
19+
"@emotion/styled": "^11.14.0",
20+
"@fontsource/roboto": "^5.1.1",
21+
"@mui/icons-material": "^6.4.0",
22+
"@mui/material": "^6.4.0",
2323
"axios": "^1.7.9",
24-
"gatsby": "^5.14.0",
24+
"gatsby": "^5.14.1",
2525
"gatsby-plugin-catch-links": "^5.14.0",
2626
"gatsby-plugin-google-gtag": "^5.14.0",
2727
"gatsby-plugin-image": "^3.14.0",
@@ -39,11 +39,11 @@
3939
"react-helmet": "^6.1.0"
4040
},
4141
"devDependencies": {
42-
"eslint": "^9.16.0",
42+
"eslint": "^9.18.0",
4343
"eslint-config-airbnb": "^19.0.4",
4444
"eslint-plugin-import": "^2.31.0",
4545
"eslint-plugin-jsx-a11y": "^6.10.2",
46-
"eslint-plugin-react": "^7.37.2",
46+
"eslint-plugin-react": "^7.37.4",
4747
"eslint-plugin-react-hooks": "^5.1.0"
4848
},
4949
"repository": {
@@ -53,5 +53,5 @@
5353
"bugs": {
5454
"url": "https://github.com/CodeDead/codedead.com/issues"
5555
},
56-
"packageManager": "yarn@4.5.3"
56+
"packageManager": "yarn@4.6.0"
5757
}

src/contexts/MainContextProvider/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import MainReducer from '../../reducers/MainReducer';
44
const themeIndex = typeof window !== 'undefined' && localStorage.themeIndex ? parseFloat(localStorage.themeIndex) : 0;
55
const themeColorIndex = typeof window !== 'undefined' && localStorage.themeColorIndex
66
? parseFloat(localStorage.themeColorIndex)
7-
: 0;
7+
: 6;
88
const hasAcceptedCookieNotice = typeof window !== 'undefined' && localStorage.hasAcceptedCookieNotice ? localStorage.hasAcceptedCookieNotice === 'true' : false;
99

1010
const initState = {

src/pages/about/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const AboutPage = () => {
9393
</Grid>
9494

9595
<Grid container spacing={2}>
96-
<Grid size={{xs: 12, md: 6, lg: 6}}>
96+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
9797
<Card sx={{
9898
mt: 3,
9999
height: '100%',
@@ -125,7 +125,7 @@ const AboutPage = () => {
125125
</CardActions>
126126
</Card>
127127
</Grid>
128-
<Grid size={{xs: 12, md: 6, lg: 6}}>
128+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
129129
<Card sx={{
130130
mt: 3,
131131
height: '100%',

src/pages/contact/index.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const ContactPage = () => {
5757
)
5858
: null}
5959
<Grid container spacing={2}>
60-
<Grid size={{xs: 12, md: 6, lg: 6}}>
60+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
6161
<Card sx={{
6262
mt: 5,
6363
}}
@@ -72,16 +72,16 @@ const ContactPage = () => {
7272
</Typography>
7373
</CardContent>
7474
<CardActions>
75-
<Button variant="outlined" onClick={openGithub} sx={{mb: 1}}>
75+
<Button variant="outlined" onClick={openGithub} sx={{ mb: 1 }}>
7676
GitHub
7777
</Button>
78-
<Button variant="outlined" onClick={() => setContactOpen(true)} sx={{mb: 1}}>
78+
<Button variant="outlined" onClick={() => setContactOpen(true)} sx={{ mb: 1 }}>
7979
Contact
8080
</Button>
8181
</CardActions>
8282
</Card>
8383
</Grid>
84-
<Grid size={{xs: 12, md: 6, lg: 6}}>
84+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
8585
<Card sx={{
8686
mt: 5,
8787
}}
@@ -96,7 +96,7 @@ const ContactPage = () => {
9696
</Typography>
9797
</CardContent>
9898
<CardActions>
99-
<Button variant="outlined" onClick={() => setContactOpen(true)} sx={{mb: 1}}>
99+
<Button variant="outlined" onClick={() => setContactOpen(true)} sx={{ mb: 1 }}>
100100
Contact
101101
</Button>
102102
</CardActions>

src/pages/donate/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const Donate = () => {
110110
</Grid>
111111

112112
<Grid container spacing={2} sx={{ mt: 3 }}>
113-
<Grid size={{xs: 12, md: 4, lg: 4}}>
113+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
114114
<Button
115115
variant="contained"
116116
color="primary"
@@ -122,7 +122,7 @@ const Donate = () => {
122122
Donate via PayPal
123123
</Button>
124124
</Grid>
125-
<Grid size={{xs: 12, md: 4, lg: 4}}>
125+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
126126
<Button
127127
variant="contained"
128128
color="primary"
@@ -134,7 +134,7 @@ const Donate = () => {
134134
GitHub Sponsor
135135
</Button>
136136
</Grid>
137-
<Grid size={{xs: 12, md: 4, lg: 4}}>
137+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
138138
<Button
139139
variant="contained"
140140
color="primary"

src/pages/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const Home = () => {
8282
>
8383
<CardContent>
8484
<Grid container spacing={2}>
85-
<Grid size={{xs: 12, md: 6, lg: 6}}>
85+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
8686
<Link to="/software/memplus">
8787
<GatsbyImage
8888
image={{
@@ -93,7 +93,7 @@ const Home = () => {
9393
/>
9494
</Link>
9595
</Grid>
96-
<Grid size={{xs: 12, md:6, lg: 6}}>
96+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
9797
<Typography variant="h6" color="textPrimary" component="p" gutterBottom>
9898
MemPlus
9999
</Typography>
@@ -116,7 +116,7 @@ const Home = () => {
116116
>
117117
<CardContent>
118118
<Grid container spacing={2}>
119-
<Grid size={{xs: 12, md: 6, lg: 6}}>
119+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
120120
<Link to="/software/deadhash">
121121
<GatsbyImage
122122
image={{
@@ -127,7 +127,7 @@ const Home = () => {
127127
/>
128128
</Link>
129129
</Grid>
130-
<Grid size={{xs: 12, md: 6, lg: 6}}>
130+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
131131
<Typography variant="h6" color="textPrimary" component="p" gutterBottom>
132132
DeadHash
133133
</Typography>
@@ -152,7 +152,7 @@ const Home = () => {
152152
>
153153
<CardContent>
154154
<Grid container spacing={2}>
155-
<Grid size={{xs: 12, md: 6, lg: 6}}>
155+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
156156
<Link to="/software/opal">
157157
<GatsbyImage
158158
image={{
@@ -163,7 +163,7 @@ const Home = () => {
163163
/>
164164
</Link>
165165
</Grid>
166-
<Grid size={{xs: 12, md: 6, lg: 6}}>
166+
<Grid size={{ xs: 12, md: 6, lg: 6 }}>
167167
<Typography variant="h6" color="textPrimary" component="p" gutterBottom>
168168
Opal
169169
</Typography>

src/pages/software/advanced-passgen/index.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const AdvancedPassGenPage = () => {
152152
</Grid>
153153

154154
<Grid container spacing={2} sx={{ mt: 5 }}>
155-
<Grid size={{ xs:12, md: 4, lg: 4 }}>
155+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
156156
<Typography variant="h6" align="center">
157157
Windows
158158
</Typography>
@@ -162,14 +162,14 @@ const AdvancedPassGenPage = () => {
162162
variant="contained"
163163
fullWidth
164164
onClick={() => {
165-
openLink('https://codedead.com/Software/Advanced%20PassGen/advanced-passgen_2.5.2_x64_en-US.msi');
165+
openLink('https://github.com/CodeDead/Advanced-PassGen/releases/download/v2.5.2/advanced-passgen_2.5.2_x64_en-US.msi');
166166
setDonateOpen(true);
167167
}}
168168
>
169169
Installer
170170
</Button>
171171
</Grid>
172-
<Grid size={{ xs:12, md: 4, lg: 4 }}>
172+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
173173
<Typography variant="h6" align="center">
174174
Linux
175175
</Typography>
@@ -179,7 +179,7 @@ const AdvancedPassGenPage = () => {
179179
variant="contained"
180180
fullWidth
181181
onClick={() => {
182-
openLink('https://codedead.com/Software/Advanced%20PassGen/advanced-passgen_2.5.2_amd64.AppImage');
182+
openLink('https://github.com/CodeDead/Advanced-PassGen/releases/download/v2.5.2/advanced-passgen_2.5.2_amd64.AppImage');
183183
setDonateOpen(true);
184184
}}
185185
>
@@ -196,7 +196,7 @@ const AdvancedPassGenPage = () => {
196196
variant="contained"
197197
fullWidth
198198
onClick={() => {
199-
openLink('https://codedead.com/Software/Advanced%20PassGen/advanced-passgen_2.5.2_aarch64.dmg');
199+
openLink('https://github.com/CodeDead/Advanced-PassGen/releases/download/v2.5.2/advanced-passgen_2.5.2_aarch64.dmg');
200200
setDonateOpen(true);
201201
}}
202202
>
@@ -285,7 +285,7 @@ const AdvancedPassGenPage = () => {
285285
</Grid>
286286

287287
<Grid container spacing={2} sx={{ mt: 5 }}>
288-
<Grid size={{ xs: 12, md: 4, lg: 4}}>
288+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
289289
<Button
290290
color="primary"
291291
variant="contained"
@@ -295,7 +295,7 @@ const AdvancedPassGenPage = () => {
295295
Requirements
296296
</Button>
297297
</Grid>
298-
<Grid size={{ xs: 12, md: 4, lg: 4}}>
298+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
299299
<Button
300300
color="primary"
301301
variant="contained"
@@ -306,7 +306,7 @@ const AdvancedPassGenPage = () => {
306306
License
307307
</Button>
308308
</Grid>
309-
<Grid size={{ xs: 12, md: 4, lg: 4}}>
309+
<Grid size={{ xs: 12, md: 4, lg: 4 }}>
310310
<Button
311311
color="primary"
312312
variant="contained"

0 commit comments

Comments
 (0)