generated from nhcarrigan/template
feat: remove games and koikatsu
This commit is contained in:
parent
acff4ea44e
commit
6fe4d600fe
41
koikatsu.js
41
koikatsu.js
@ -1,41 +0,0 @@
|
||||
import { writeFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
|
||||
const fileReq = await fetch('https://cdn.nhcarrigan.com?prefix=koikatsu');
|
||||
const files = await fileReq.text();
|
||||
const keys = files.matchAll(/<Key>(.*?)<\/Key>/g);
|
||||
const keyNames = [...keys].map((key) => key[1]?.replace("koikatsu/", "")).filter(key => key);
|
||||
const keyHtml = keyNames.map((key) => `<div
|
||||
style="
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
border: 2px solid var(--foreground);
|
||||
"
|
||||
>
|
||||
<a href="https://cdn.nhcarrigan.com/koikatsu/${key}" target="_blank">
|
||||
<img
|
||||
style="height: 250px; max-width: 250px; object-fit: contain"
|
||||
src="https://cdn.nhcarrigan.com/koikatsu/${key}"
|
||||
alt="Digital art of Naomi."
|
||||
/>
|
||||
</a>
|
||||
</div>`);
|
||||
|
||||
const html = `<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>NHCarrigan</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Naomi</h1>
|
||||
<p>For an interactive 3D reference, visit <a href="https://hub.vroid.com/en/characters/6033404747153826650/models/3483506204509065121" target="_blank" rel="noopener noreferrer">VRoid Hub</a>.</p>
|
||||
<section style="display: grid; grid-template-columns: 1fr 1fr 1fr">
|
||||
${keyHtml.join('')}
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
<script src="https://cdn.nhcarrigan.com/headers/index.js"></script>
|
||||
</html>`;
|
||||
|
||||
await writeFile(join(import.meta.dirname, "site", "koikatsu.html"), html, "utf-8");
|
1232
site/games.html
1232
site/games.html
File diff suppressed because it is too large
Load Diff
@ -11,8 +11,9 @@
|
||||
style="width: 150px; border-radius: 50%"
|
||||
alt="NHCarrigan Logo"
|
||||
/>
|
||||
<p style="font-size: 1.2rem;">Software Engineering and Community Management Consulting Firm</p>
|
||||
<p>You can click these!</p>
|
||||
<p style="font-size: 1.2rem">
|
||||
Software Engineering and Community Management Consulting Firm
|
||||
</p>
|
||||
<div style="display: flex; justify-content: center">
|
||||
<a href="https://git.nhcarrigan.com" target="_blank" style="width: 50%"
|
||||
><img
|
||||
@ -87,30 +88,26 @@
|
||||
alt="resume"
|
||||
/></a>
|
||||
</div>
|
||||
<hr style="border: 2px dashed var(--foreground); margin-top: 10px" />
|
||||
<h2>Naomi Carrigan</h2>
|
||||
<img
|
||||
src="https://cdn.nhcarrigan.com/profile.png"
|
||||
style="width: 150px; border-radius: 50%"
|
||||
alt="Naomi's Avatar"
|
||||
/>
|
||||
<p style="font-size: 1.2rem;">Founder and Lead Developer</p>
|
||||
<p>And these!</p>
|
||||
<p style="font-size: 1.2rem">Founder and Lead Developer</p>
|
||||
<div style="display: flex; justify-content: center">
|
||||
<a href="./koikatsu" style="width: 50%"
|
||||
><img
|
||||
<img
|
||||
src="https://cdn.nhcarrigan.com/blinkies/home/cutie.gif"
|
||||
style="width: 100%"
|
||||
alt="total cutie"
|
||||
/></a>
|
||||
<a href="./games" style="width: 50%"
|
||||
><img
|
||||
/>
|
||||
<img
|
||||
src="https://cdn.nhcarrigan.com/blinkies/home/gamer.gif"
|
||||
style="width: 100%"
|
||||
alt="gamer"
|
||||
/></a>
|
||||
/>
|
||||
</div>
|
||||
<hr style="border: 2px dashed var(--foreground); margin-bottom: 10px;"/>
|
||||
<p>But not these...</p>
|
||||
<div style="display: flex; justify-content: center">
|
||||
<img
|
||||
src="https://cdn.nhcarrigan.com/blinkies/home/technomancer.gif"
|
||||
@ -159,8 +156,7 @@
|
||||
alt="vampire"
|
||||
/>
|
||||
</div>
|
||||
<hr style="border: 2px dashed var(--foreground); margin-top: 10px;"/>
|
||||
<p>This one, though!</p>
|
||||
<hr style="border: 2px dashed var(--foreground); margin-top: 10px" />
|
||||
<a href="https://sitemap.nhcarrigan.com" target="_blank">
|
||||
<img
|
||||
src="https://cdn.nhcarrigan.com/blinkies/home/sitemap.gif"
|
||||
|
2396
site/koikatsu.html
2396
site/koikatsu.html
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user