diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-13 12:59:05 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-13 12:59:05 +0200 |
| commit | face4ce2d0e2316c9ed62b2eba9260a17e39572f (patch) | |
| tree | d15f5913fd585be287f7a3ad57ca49806ae2e6c4 /src/pages/404.astro | |
| parent | 5f18abf234a80b45ed6d1fd935c2f60b2599b87f (diff) | |
Backup
Diffstat (limited to 'src/pages/404.astro')
| -rw-r--r-- | src/pages/404.astro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..f5db977 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,15 @@ +--- +import TerminalBorder from "../components/TerminalBorder.astro" +import Terminal from "../layouts/Terminal.astro" + +const url = new URL(Astro.request.url).pathname.substring(1); +--- +<Terminal path="404"> + <TerminalBorder header="Shell" margin="0.5rem 0"> + <span> + <p>$ cd ~/{url}</p> + <p class="pt-3">"{url}": No such file or directory (os error 2)</p> + </span> + </TerminalBorder> +</Terminal> + |
