diff --git a/manifest.json b/manifest.json
index 638e90e0..52176027 100644
--- a/manifest.json
+++ b/manifest.json
@@ -10,7 +10,7 @@
"theme_color": "#120f1d",
"icons": [
{
- "src": "public/android-chrome-192x192.png",
+ "src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
@@ -22,7 +22,7 @@
"purpose": "any"
},
{
- "src": "public/android-chrome-192x192.png",
+ "src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
diff --git a/public/lightbar-images/git.png b/public/lightbar-images/git.png
new file mode 100644
index 00000000..c02a064a
Binary files /dev/null and b/public/lightbar-images/git.png differ
diff --git a/public/lightbar-images/ts.png b/public/lightbar-images/ts.png
new file mode 100644
index 00000000..b27b1c7b
Binary files /dev/null and b/public/lightbar-images/ts.png differ
diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json
index d363f80c..23d39742 100644
--- a/src/assets/locales/en.json
+++ b/src/assets/locales/en.json
@@ -177,6 +177,7 @@
"notFound": {
"badge": "Not found",
"goHome": "Back to home",
+ "reloadButton": "Try again",
"message": "We looked everywhere: under the bins, in the closet, behind the proxy but ultimately couldn't find the page you are looking for. (ಥ﹏ಥ)",
"title": "Couldn't find that page"
},
diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx
index 54303245..f7f33f97 100644
--- a/src/components/utils/Lightbar.tsx
+++ b/src/components/utils/Lightbar.tsx
@@ -32,7 +32,7 @@ class Particle {
canvas: HTMLCanvasElement,
options: LightbarOptions = {
horizontalMotion: false,
- sizeRange: [10, 10],
+ sizeRange: [10, 15],
},
) {
if (options.imgSrc) {
@@ -54,7 +54,7 @@ class Particle {
this.direction = (Math.random() * Math.PI) / 2 + Math.PI / 4;
this.speed = 0.02 + Math.random() * 0.085;
- const second = 60;
+ const second = 75;
this.lifetime = second * 3 + Math.random() * (second * 30);
this.size = this.options.sizeRange
@@ -220,7 +220,7 @@ function ParticlesCanvas() {
}
// Kitty easter egg
- const shouldShowCat = Math.random() < 0.3; // 30%
+ const shouldShowCat = Math.random() < 0.25; // 25%
if (shouldShowCat) {
imageOverride = [
{
@@ -244,7 +244,7 @@ function ParticlesCanvas() {
sizeRange: [18, 27] as [number, number],
},
];
- imageParticleCount = particleCount / 7.5;
+ imageParticleCount = particleCount / 7.85;
}
// Chicken easter egg
@@ -267,6 +267,22 @@ function ParticlesCanvas() {
imageParticleCount = particleCount / 9;
}
+ // Dev easter egg
+ const shouldShowCode = Math.random() < 0.9; // 25%
+ if (shouldShowCode) {
+ imageOverride = [
+ {
+ image: "/lightbar-images/ts.png",
+ sizeRange: [20, 32] as [number, number],
+ },
+ {
+ image: "/lightbar-images/git.png",
+ sizeRange: [20, 28] as [number, number],
+ },
+ ];
+ imageParticleCount = particleCount / 9;
+ }
+
// HOIST THE SAIL (of particles)!
for (let i = 0; i < particleCount; i += 1) {
const isImageParticle = imageOverride && i <= imageParticleCount;
diff --git a/src/pages/parts/errors/NotFoundPart.tsx b/src/pages/parts/errors/NotFoundPart.tsx
index cbe93778..91f85229 100644
--- a/src/pages/parts/errors/NotFoundPart.tsx
+++ b/src/pages/parts/errors/NotFoundPart.tsx
@@ -24,14 +24,24 @@ export function NotFoundPart() {