-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
52 lines (52 loc) · 2.36 KB
/
Copy path404.html
File metadata and controls
52 lines (52 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!doctype html>
<html class="preload" lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="noindex,follow" name="robots" />
<meta content="#070A12" name="theme-color" />
<meta content="strict-origin-when-cross-origin" name="referrer" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'; script-src 'self' 'sha256-OgUh3YouHqSqwluBZ8Bu4TCs9v/H1oay5zbavr85faE='; script-src-attr 'none'; style-src 'self'; style-src-attr 'none'; style-src-elem 'self'; img-src 'self' data:; font-src 'self' data:; connect-src 'self'; manifest-src 'self'; form-action 'self'; upgrade-insecure-requests"
/>
<script>
(() => {
try {
const k = 'tm_theme';
const stored = localStorage.getItem(k);
const mq = window.matchMedia ? window.matchMedia('(prefers-color-scheme: light)') : null;
const theme =
stored === 'light' || stored === 'dark' ? stored : mq && mq.matches ? 'light' : 'dark';
if (theme === 'light') document.documentElement.setAttribute('data-theme', 'light');
else document.documentElement.removeAttribute('data-theme');
const meta = document.querySelector('meta[name="theme-color"]');
if (meta) meta.setAttribute('content', theme === 'light' ? '#f7f9ff' : '#070a12');
} catch {
return;
}
})();
</script>
<link href="styles.css?v=20260507_final_release" rel="stylesheet" />
<title>Page Not Found — Tarek Masryo</title>
</head>
<body>
<main class="section error-shell">
<div class="container">
<section class="card error-card" aria-labelledby="errorTitle">
<p class="error-code">404</p>
<h1 id="errorTitle">Page Not Found</h1>
<p class="error-copy">
This route does not exist. The portfolio is a single-page site, so the best path is to
return home or jump to the main sections below.
</p>
<div class="cta error-actions">
<a class="btn primary" href="/">Back Home</a>
<a class="btn" href="/#projects">Projects</a>
<a class="btn" href="/#contact">Contact</a>
</div>
</section>
</div>
</main>
</body>
</html>