2 added 404, deployed to cf

This commit is contained in:
theamazing0 2025-07-22 18:42:47 -04:00
parent e8fd9bdef2
commit 080f96f2d3
5 changed files with 31 additions and 0 deletions

2
public/.assetsignore Normal file
View file

@ -0,0 +1,2 @@
_worker.js
_routes.json

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

19
src/pages/404.astro Normal file
View file

@ -0,0 +1,19 @@
---
import Layout from "../layouts/Layout.astro";
---
<Layout title="Samvid Konchada">
<h1
style="color: #e6fbd4; font-size: 3rem; margin-bottom: 0; font-weight: 800;"
>
404
</h1>
<p>This page either never existed or has been deleted ¯\_(ツ)_/¯</p>
<p>Check out my <a href="/">homepage</a> instead?</p>
</Layout>
<style>
p {
color: #c3d6b2;
}
</style>

0
src/pages/posts.astro Normal file
View file

10
wrangler.jsonc Normal file
View file

@ -0,0 +1,10 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "portfolio",
// Update to today's date
"compatibility_date": "2025-07-22",
"assets": {
"directory": "./dist",
"not_found_handling": "404-page", // If you have a custom `src/pages/404.astro` page
},
}