feat(footer): add isometric Three.js contact scene

This commit is contained in:
2026-09-07 22:27:44 +03:30
parent 71f55b465a
commit 0ed36b3c32
4 changed files with 673 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
import assert from 'node:assert/strict';
import { readFile } from 'node:fs/promises';
import test from 'node:test';
test('the Three.js footer scene preserves the real contact destinations', async () => {
const contacts = await readFile('src/components/footerContacts.ts', 'utf8');
const scene = await readFile('src/components/scenes/FooterScene.tsx', 'utf8');
assert.match(contacts, /tel:\+989388263077/);
assert.match(contacts, /linkedin\.com\/in\/amiirkhl/);
assert.match(contacts, /https:\/\/git\.amiirkhl\.ir/);
assert.match(contacts, /https:\/\/t\.me\/amiirkhl/);
assert.match(scene, /Raycaster/);
assert.match(scene, /FooterContactId/);
});