Compare commits
No commits in common. "acabb2cdd4a266f85f1c5a8eea8352a542ca0c8a" and "232855e95213d86d955aefd009f71f32846e01e1" have entirely different histories.
acabb2cdd4
...
232855e952
|
@ -8,6 +8,10 @@
|
||||||
a living world
|
a living world
|
||||||
</li>
|
</li>
|
||||||
<li>building Pantalaimon, an AI agent system (coming soon)</li>
|
<li>building Pantalaimon, an AI agent system (coming soon)</li>
|
||||||
|
<li>
|
||||||
|
finishing up a little
|
||||||
|
<a href="https://gomoku.sepiatones.xyz">gomoku!</a> webapp
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Dormant Interests/Projects</h3>
|
<h3>Dormant Interests/Projects</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
<article>
|
|
||||||
<h2>Projects</h2>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="https://gomoku.sepiatones.xyz">Gomoku!</a> - a simple multiplayer
|
|
||||||
implementation of the game Gomoku
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://civ.plus">Civ+</a> - a sandbox MMORPG where players build
|
|
||||||
nations
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://sepiatones.xyz">sepiatones.xyz</a>
|
|
||||||
- the website you're on
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="https://git.sepiatones.xyz/sepia/pantalaimon">Pantalaimon</a> -
|
|
||||||
an AI coding agent
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</article>
|
|
|
@ -27,8 +27,6 @@ a:visited {
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
background-color: var(--background-overlay);
|
background-color: var(--background-overlay);
|
||||||
max-width: 30%;
|
|
||||||
padding: var(--line-height) 1ch;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
aside:empty {
|
aside:empty {
|
||||||
|
|
|
@ -35,20 +35,6 @@ const app = new Elysia()
|
||||||
return "Internal server error";
|
return "Internal server error";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.get("/projects", async ({ set }) => {
|
|
||||||
try {
|
|
||||||
const content = await fs.readFile(
|
|
||||||
path.join(process.cwd(), "data/pages/projects.html"),
|
|
||||||
"utf8",
|
|
||||||
);
|
|
||||||
return renderTemplate("index.html", { content });
|
|
||||||
} catch (error) {
|
|
||||||
console.error("Error serving main page: ", error);
|
|
||||||
set.status = 500;
|
|
||||||
set.headers["Content-Type"] = "text/plain";
|
|
||||||
return "Internal server error";
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.get("/posts/:post_name", async ({ params, set }) => {
|
.get("/posts/:post_name", async ({ params, set }) => {
|
||||||
try {
|
try {
|
||||||
const filePath = path.join(
|
const filePath = path.join(
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
<h1>sepiatones.xyz</h1>
|
<h1>sepiatones.xyz</h1>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/">about</a>
|
<a href="/">about</a>
|
||||||
<a href="/projects">projects</a>
|
|
||||||
<a href="https://git.sepiatones.xyz/sepia">code</a>
|
<a href="https://git.sepiatones.xyz/sepia">code</a>
|
||||||
<a
|
<a
|
||||||
hx-get="/recent_posts"
|
hx-get="/recent_posts"
|
||||||
|
@ -24,7 +23,10 @@
|
||||||
</header>
|
</header>
|
||||||
<main id="primary" style="display: flex; justify-content: space-between;">
|
<main id="primary" style="display: flex; justify-content: space-between;">
|
||||||
{{{content}}}
|
{{{content}}}
|
||||||
<aside id="sidebar"></aside>
|
<aside
|
||||||
|
id="sidebar"
|
||||||
|
style="width: 60ch; padding: var(--line-height) 1ch;"
|
||||||
|
></aside>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue