2
+
import Layout from "../layouts/Layout.astro"
4
+
const urlPathname = Astro.url.pathname
5
+
const urlOrigin = Astro.url.origin
6
+
const userAgent = Astro.request.headers.get('User-Agent') || 'Unknown User-Agent';
7
+
const astroGenerator = Astro.generator
8
+
const currentISODate = new Date().toISOString();
12
+
<section class="h-svh items-center flex pl-32 pr-32 ">
13
+
<div class="flex justify-between gap-8 w-full items-end">
14
+
<span class="text-9xl w-min">404 Not Found</span>
15
+
<div class="text-ctp-overlay0 flex flex-col items-end text-base p-4">
16
+
<span>HTTP/1.1 404 Not Found</span>
17
+
<span>Server: {astroGenerator}</span>
18
+
<span>Connection: keep-alive</span>
19
+
<span>Date: {currentISODate}</span>
20
+
<span>Content-Type: text/html; charset=utf-8</span>
21
+
<span>X-Request-Path: {urlPathname}</span>
22
+
<span>X-User-Agent: {userAgent}</span>
23
+
<span>X-Request-Origin: {urlOrigin}</span>