summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx')
-rw-r--r--vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx11
1 files changed, 0 insertions, 11 deletions
diff --git a/vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx b/vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx
deleted file mode 100644
index 52b695e5..00000000
--- a/vhosts/blog/nuldoc-src/components/StaticStylesheet.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import { join } from "@std/path";
-import { Config } from "../config.ts";
-import { calculateFileHash } from "./utils.ts";
-
-export default async function StaticStylesheet(
- { fileName, config }: { fileName: string; config: Config },
-) {
- const filePath = join(Deno.cwd(), config.locations.staticDir, fileName);
- const hash = await calculateFileHash(filePath);
- return <link rel="stylesheet" href={`${fileName}?h=${hash}`} />;
-}