Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions crosbynews-worker/src/worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
const HTML = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CrosbyNews — Coming Soon</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #0f172a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: #f8fafc;
}

.card {
text-align: center;
padding: 3rem 2.5rem;
max-width: 480px;
width: 90%;
}

.icon {
font-size: 3.5rem;
margin-bottom: 1.5rem;
}

h1 {
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 0.75rem;
color: #f1f5f9;
}

.tagline {
font-size: 1.1rem;
color: #94a3b8;
margin-bottom: 2rem;
line-height: 1.6;
}

.badge {
display: inline-block;
background: #1e40af;
color: #bfdbfe;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 0.35rem 0.9rem;
border-radius: 999px;
}

.domain {
margin-top: 2.5rem;
font-size: 0.85rem;
color: #475569;
}
</style>
</head>
<body>
<div class="card">
<div class="icon">🚧</div>
<h1>CrosbyNews</h1>
<p class="tagline">We're working on something great.<br>Check back soon.</p>
<span class="badge">Under Construction</span>
<p class="domain">crosbynews.com</p>
</div>
</body>
</html>`;

export default {
fetch() {
return new Response(HTML, {
status: 200,
headers: { "Content-Type": "text/html;charset=UTF-8" },
});
},
};
6 changes: 6 additions & 0 deletions crosbynews-worker/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "crosbynews",
"main": "./src/worker.js",
"compatibility_date": "2026-02-24",
"account_id": "bfadb24d6e09a43ae3187aa145992b68"
}
Loading