pull the terminal styling back and add an ASCII backdrop
The first pass applied terminal decoration to everything, which read as costume rather than design. Strip it back to a few deliberate cues and let an animated backdrop carry the character instead: - Drop the prefix glyphs from links, tags, nav items, badges and headings, and restore plain section names in place of snake_case. - Keep one prompt in the hero, the ~/ on the wordmark, ISO dates and status dots; everything else is ordinary type. - Restore depth: acrylic surfaces over soft radial light, 6px radii, and an accent glow on the primary action and status dots. - Draw a dithered ASCII field behind the page. A fixed per-cell dither value decides which cells are lit so coverage stays even, while slow interfering waves move brightness through it. It idles when the tab is hidden and stays still under prefers-reduced-motion. - Remove the nested panel boxes on the projects page and size the entry page to its article column. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8595290318
commit
54c00bf16f
10 files changed
+693
-698
No files matched your search
@@ -134,12 +134,12 @@
|
||||
|
||||
const renderLinks = (entry, className) => {
|
||||
const links = [];
|
||||
const sourceLabel = entry.github && entry.github.includes("git.sowinski.dev") ? "gitea" : "github";
|
||||
const sourceLabel = entry.github && entry.github.includes("git.sowinski.dev") ? "Gitea" : "GitHub";
|
||||
|
||||
links.push(`<a class="${className} ${className}-primary" href="./entry.html?type=${encodeURIComponent(entry.type)}&slug=${encodeURIComponent(entry.slug)}">details</a>`);
|
||||
links.push(`<a class="${className} ${className}-primary" href="./entry.html?type=${encodeURIComponent(entry.type)}&slug=${encodeURIComponent(entry.slug)}">Details</a>`);
|
||||
|
||||
if (entry.demo) {
|
||||
links.push(`<a class="${className}" href="${escapeHtml(entry.demo)}" target="_blank" rel="noopener noreferrer">live</a>`);
|
||||
links.push(`<a class="${className}" href="${escapeHtml(entry.demo)}" target="_blank" rel="noopener noreferrer">Live</a>`);
|
||||
} else if (entry.github) {
|
||||
links.push(`<a class="${className}" href="${escapeHtml(entry.github)}" target="_blank" rel="noopener noreferrer">${sourceLabel}</a>`);
|
||||
}
|
||||
@@ -224,7 +224,7 @@
|
||||
card.classList.toggle("is-hidden", !expanded && index >= defaultVisibleCount);
|
||||
});
|
||||
|
||||
toggleButton.textContent = expanded ? "show fewer projects" : "show more projects";
|
||||
toggleButton.textContent = expanded ? "Show fewer projects" : "Show more projects";
|
||||
toggleButton.setAttribute("aria-expanded", String(expanded));
|
||||
};
|
||||
|
||||
@@ -306,7 +306,7 @@
|
||||
<div class="entry-empty">
|
||||
<p class="eyebrow">Not found</p>
|
||||
<h1 class="entry-title">This entry could not be loaded.</h1>
|
||||
<a class="entry-back" href="./projects.html">cd ../projects</a>
|
||||
<a class="entry-back" href="./projects.html">← Back to projects</a>
|
||||
</div>
|
||||
`;
|
||||
return;
|
||||
@@ -332,7 +332,7 @@
|
||||
|
||||
shell.innerHTML = `
|
||||
<div class="entry-header">
|
||||
<a class="entry-back" href="./projects.html">cd ../projects</a>
|
||||
<a class="entry-back" href="./projects.html">← Back to projects</a>
|
||||
<div class="entry-meta">
|
||||
<span class="entry-pill entry-pill-primary">${escapeHtml(entry.label || entry.type)}</span>
|
||||
${entry.date ? `<span class="entry-pill entry-pill-secondary">${escapeHtml(formatDate(entry.date))}</span>` : ""}
|
||||
@@ -342,8 +342,8 @@
|
||||
<p class="entry-summary">${escapeHtml(entry.summary || "")}</p>
|
||||
${renderTags(entry.tags || [], "entry-tag-list")}
|
||||
<div class="entry-links">
|
||||
${entry.demo ? `<a class="inline-button inline-button-primary" href="${escapeHtml(entry.demo)}" target="_blank" rel="noopener noreferrer">live</a>` : ""}
|
||||
${entry.github ? `<a class="inline-button" href="${escapeHtml(entry.github)}" target="_blank" rel="noopener noreferrer">${entry.github.includes("git.sowinski.dev") ? "gitea" : "github"}</a>` : ""}
|
||||
${entry.demo ? `<a class="inline-button inline-button-primary" href="${escapeHtml(entry.demo)}" target="_blank" rel="noopener noreferrer">Live</a>` : ""}
|
||||
${entry.github ? `<a class="inline-button" href="${escapeHtml(entry.github)}" target="_blank" rel="noopener noreferrer">${entry.github.includes("git.sowinski.dev") ? "Gitea" : "GitHub"}</a>` : ""}
|
||||
</div>
|
||||
</div>
|
||||
<article class="entry-content">
|
||||
@@ -355,7 +355,7 @@
|
||||
<div class="entry-empty">
|
||||
<p class="eyebrow">Not found</p>
|
||||
<h1 class="entry-title">${escapeHtml(error.message)}</h1>
|
||||
<a class="entry-back" href="./projects.html">cd ../projects</a>
|
||||
<a class="entry-back" href="./projects.html">← Back to projects</a>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user