feat: project scaffold, Worker router, and type definitions
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
3
src/render/not-found.ts
Normal file
3
src/render/not-found.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function renderNotFound(): string {
|
||||
return "<!DOCTYPE html><html><body><h1>404</h1><p>Not found.</p></body></html>";
|
||||
}
|
||||
4
src/render/show-detail.ts
Normal file
4
src/render/show-detail.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import type { Show, Preferences } from "../types";
|
||||
export function renderShowDetail(_show: Show, _prefs: Preferences): string {
|
||||
return "<!DOCTYPE html><html><body>show</body></html>";
|
||||
}
|
||||
4
src/render/week-page.ts
Normal file
4
src/render/week-page.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import type { Show, Preferences } from "../types";
|
||||
export function renderWeekPage(_shows: Show[], _prefs: Preferences): string {
|
||||
return "<!DOCTYPE html><html><body>week</body></html>";
|
||||
}
|
||||
Reference in New Issue
Block a user