Skip to content

Commit 617089a

Browse files
committed
chore: bump version to 0.26.0 and clear 24 lint warnings
1 parent 673e151 commit 617089a

9 files changed

Lines changed: 10 additions & 65 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fezcodex",
3-
"version": "0.25.1",
3+
"version": "0.26.0",
44
"private": true,
55
"homepage": "https://fezcode.com",
66
"dependencies": {

src/pages/apps/github-thumbnail/themes/constructivist.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const seedRng = (seed) => {
1919

2020
export const constructivist = (ctx, width, height, scale, data) => {
2121
const {
22-
primaryColor, secondaryColor, bgColor,
22+
primaryColor, secondaryColor,
2323
repoOwner, repoName, description, language, stars, forks, supportUrl,
2424
showPattern,
2525
} = data;
@@ -295,7 +295,6 @@ export const constructivist = (ctx, width, height, scale, data) => {
295295
ctx.font = `900 ${11 * scale}px "JetBrains Mono", monospace`;
296296
ctx.fillText('AUTHOR', 0, -28 * scale);
297297
ctx.fillText('───', 0, -16 * scale);
298-
const ownerFontStack = `900 28px "Syne", "Bebas Neue", "Oswald", sans-serif`;
299298
// Fit owner
300299
const ownerUpper = (repoOwner || '').toUpperCase();
301300
let ownerSize = 28 * scale;

src/pages/apps/github-thumbnail/themes/heraldic.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,28 +53,6 @@ const guilloche = (ctx, cx, cy, rInner, rOuter, petals, color, lw, alpha) => {
5353
ctx.restore();
5454
};
5555

56-
// Banknote-style border of tiny fleurs between two rules.
57-
const ornamentBand = (ctx, x, y, w, h, primary, gold, ink, scale) => {
58-
ctx.save();
59-
// Outer/inner hairlines
60-
ctx.strokeStyle = ink;
61-
ctx.lineWidth = 1.2 * scale;
62-
ctx.strokeRect(x, y, w, h);
63-
ctx.lineWidth = 0.6 * scale;
64-
ctx.strokeRect(x + 5 * scale, y + 5 * scale, w - 10 * scale, h - 10 * scale);
65-
// Fleur repeats along top/bottom
66-
const step = 18 * scale;
67-
ctx.fillStyle = primary;
68-
ctx.font = `${12 * scale}px "EB Garamond", serif`;
69-
ctx.textAlign = 'center';
70-
ctx.textBaseline = 'middle';
71-
for (let px = x + step / 2; px < x + w; px += step) {
72-
ctx.fillText('⚜', px, y + h / 2);
73-
ctx.fillText('⚜', px, y + h / 2);
74-
}
75-
ctx.restore();
76-
};
77-
7856
// Shield path — classic "heater" profile.
7957
const shieldPath = (ctx, cx, cy, w, h) => {
8058
const hw = w / 2;

src/pages/apps/github-thumbnail/themes/illuminatedManuscript.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { wrapText } from '../utils';
2-
31
/*
42
* ILLUMINATED_MANUSCRIPT — two-column codex folio on aged vellum. Dense
53
* acanthus vine marginalia fills the border; the historiated initial holds
@@ -190,7 +188,7 @@ const interlaceKnot = (ctx, cx, cy, size, color, bgCol, scale) => {
190188

191189
export const illuminatedManuscript = (ctx, width, height, scale, data) => {
192190
const {
193-
primaryColor, secondaryColor, bgColor,
191+
primaryColor, secondaryColor,
194192
repoOwner, repoName, description, language, stars, forks, supportUrl,
195193
showPattern,
196194
} = data;
@@ -347,7 +345,6 @@ export const illuminatedManuscript = (ctx, width, height, scale, data) => {
347345
const tx = fIn + 60 * scale;
348346
const ty = fIn + 26 * scale;
349347
const tw = width - (fIn + 60 * scale) * 2;
350-
const th = height - (fIn + 26 * scale) * 2;
351348

352349
ctx.save();
353350
ctx.fillStyle = ruby;

src/pages/apps/github-thumbnail/themes/macMiller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const macMiller = (ctx, width, height, scale, data) => {
2626
: '#F4C9A8';
2727
const sunsetMid = '#E8A38E';
2828
const sunsetBottom = '#A8B8C4';
29-
const cream = '#F2E4D2';
3029
const ink = '#2B2522';
3130
const inkSoft = '#5C504A';
3231
const inkFaint = '#8A7E76';

src/pages/apps/github-thumbnail/themes/royalBanner.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { wrapText } from '../utils';
2-
31
/*
42
* ROYAL_BANNER — a draped ceremonial flag hanging on a marble wall.
53
* Folds are built from many overlapping transparent light/shadow bands,
@@ -22,10 +20,6 @@ const hexRgb = (hex) => {
2220
const f = c.length === 3 ? c.split('').map((x) => x + x).join('') : c;
2321
return [parseInt(f.slice(0, 2), 16) || 0, parseInt(f.slice(2, 4), 16) || 0, parseInt(f.slice(4, 6), 16) || 0];
2422
};
25-
const rgba = (hex, a) => {
26-
const [r, g, b] = hexRgb(hex);
27-
return `rgba(${r},${g},${b},${a})`;
28-
};
2923
const shade = (hex, k) => {
3024
const [r, g, b] = hexRgb(hex);
3125
const f = Math.max(0, 1 + k);

src/pages/apps/github-thumbnail/themes/squarified.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export const squarified = (ctx, width, height, scale, data) => {
99
primaryColor,
1010
secondaryColor,
1111
bgColor,
12-
repoOwner,
13-
repoName,
1412
description,
1513
language,
1614
stars,

src/pages/apps/github-thumbnail/themes/tarotCard.js

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { wrapText } from '../utils';
2-
31
/*
42
* TAROT_CARD — occult card rendered with sacred geometry, hand-drawn stroke
53
* variation, dense starfield, ornate gilt border with repeating tracery, and
@@ -26,20 +24,6 @@ const toRoman = (num) => {
2624
return out;
2725
};
2826

29-
// Hand-drawn line: break into many tiny segments with slight jitter.
30-
const sketchLine = (ctx, x1, y1, x2, y2, rng, jitter = 1) => {
31-
const segs = Math.max(4, Math.floor(Math.hypot(x2 - x1, y2 - y1) / 8));
32-
ctx.beginPath();
33-
ctx.moveTo(x1, y1);
34-
for (let i = 1; i <= segs; i++) {
35-
const t = i / segs;
36-
const x = x1 + (x2 - x1) * t + (rng() - 0.5) * jitter;
37-
const y = y1 + (y2 - y1) * t + (rng() - 0.5) * jitter;
38-
ctx.lineTo(x, y);
39-
}
40-
ctx.stroke();
41-
};
42-
4327
// Star at (cx,cy) filled
4428
const star = (ctx, cx, cy, rOut, rIn, points = 5) => {
4529
ctx.beginPath();
@@ -55,7 +39,7 @@ const star = (ctx, cx, cy, rOut, rIn, points = 5) => {
5539

5640
export const tarotCard = (ctx, width, height, scale, data) => {
5741
const {
58-
primaryColor, secondaryColor, bgColor,
42+
primaryColor, bgColor,
5943
repoOwner, repoName, description, language, stars, forks, supportUrl,
6044
showPattern,
6145
} = data;
@@ -208,9 +192,7 @@ export const tarotCard = (ctx, width, height, scale, data) => {
208192

209193
// --- Inner card area ---
210194
const iPad = 38 * scale;
211-
const iX = cardX + iPad;
212195
const iY = cardY + iPad;
213-
const iW = cardW - iPad * 2;
214196

215197
// --- Top: Roman numeral between two filigree dividers ---
216198
const numeral = toRoman(stars || forks || repoName.length);

src/pages/brutalist-views/BrutalistSeriesPage.jsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { useParams, Link } from 'react-router-dom';
33
import { motion, AnimatePresence } from 'framer-motion';
44
import {
55
ArrowLeftIcon,
6-
TagIcon,
76
BookOpenIcon,
8-
CalendarIcon,
97
CircleIcon,
108
CaretRightIcon,
119
TerminalIcon,
@@ -285,7 +283,7 @@ const BrutalistSeriesPage = () => {
285283
})}
286284
{seriesPosts.length === 0 && (
287285
<li className="px-8 py-14 text-center font-mono text-[11px] uppercase tracking-[0.2em] text-white/40">
288-
// No transmission archived under this identifier.
286+
{'// No transmission archived under this identifier.'}
289287
</li>
290288
)}
291289
</ul>
@@ -411,11 +409,11 @@ const BrutalistSeriesPage = () => {
411409
{[0, 1].map((k) => (
412410
<span key={k} className="flex items-center gap-6 px-6 text-white/40">
413411
<span>▲ STREAM_OK</span>
414-
<span>// SERIES · {seriesTitle.toUpperCase()}</span>
415-
<span>// PACKETS · {pad(seriesPosts.length, 3)}</span>
416-
<span>// LAST · {activePost ? formatEpoch(activePost.updated || activePost.date) : '—'}</span>
417-
<span>// MISSION · {missionCode}</span>
418-
<span>// COORD · {coordinates}</span>
412+
<span>{'//'} SERIES · {seriesTitle.toUpperCase()}</span>
413+
<span>{'//'} PACKETS · {pad(seriesPosts.length, 3)}</span>
414+
<span>{'//'} LAST · {activePost ? formatEpoch(activePost.updated || activePost.date) : '—'}</span>
415+
<span>{'//'} MISSION · {missionCode}</span>
416+
<span>{'//'} COORD · {coordinates}</span>
419417
<span>◆ FEZCODEX_OS v0.24.31</span>
420418
</span>
421419
))}

0 commit comments

Comments
 (0)