Skip to content

feat(placeholder): Implement static site with optimized hero animation and rendering - #1

Merged
Alex-Dolid merged 4 commits into
mainfrom
feature/v1
Aug 4, 2026
Merged

feat(placeholder): Implement static site with optimized hero animation and rendering#1
Alex-Dolid merged 4 commits into
mainfrom
feature/v1

Conversation

@Alex-Dolid

Copy link
Copy Markdown
Contributor

This pull request sets up the foundational infrastructure and documentation for the Alexis Technologies website project. It introduces a static Astro site with a custom toolchain, adds CI, and documents both the technical stack and project conventions. The most important changes are grouped below.


Project Setup and Configuration:

  • Adds astro.config.mjs to configure Astro for static output, always inlining stylesheets, disabling CSS code splitting, and integrating the sitemap generator. ([astro.config.mjsR1-R18](https://github.com/Alexis-Technologies/website/pull/1/files#diff-e0f0c5adbe0b9ca5d0b57caf5cea33a8d88899fd02a43df1e9862b185f8a1e5fR1-R18))
  • Pins Node.js version to 24 in .nvmrc and enforces Node >=22.12.0 in package.json engines. ([[1]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-2c8effdf840690ccb88c7e21e56148978c6adb2c6926530c58ff0e47a9588b44R1), [[2]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R12-R52))
  • Updates dependencies and devDependencies in package.json and pnpm-lock.yaml to include Astro, three.js, oxlint, oxfmt, and supporting libraries for 3D font generation and WebGL animation. ([[1]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R12-R52), [[2]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR17-R19), [[3]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL27-R41), [[4]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR51-R53), [[5]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL424-R437), [[6]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR994-R996), [[7]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR1021-R1032), [[8]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR1348-R1350), [[9]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR1534-R1536), [[10]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR1600-R1603), [[11]](https://github.com/Alexis-Technologies/website/pull/1/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR1793-R1795))

Continuous Integration:

  • Adds a GitHub Actions workflow (.github/workflows/ci.yml) to run installation, type-checking, linting, formatting, and build on every push to main and on pull requests. ([.github/workflows/ci.ymlR1-R32](https://github.com/Alexis-Technologies/website/pull/1/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR1-R32))

Documentation and Conventions:

  • Completely rewrites README.md to detail the tech stack, setup instructions, scripts, animation details, asset handling, code style, and deployment process. ([README.mdL1-R141](https://github.com/Alexis-Technologies/website/pull/1/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L1-R141))
  • Adds CLAUDE.md with explicit guidance for working in the repo, including package manager, toolchain, animation details, asset handling, and commit conventions. ([CLAUDE.mdR1-R123](https://github.com/Alexis-Technologies/website/pull/1/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7R1-R123))

Tooling and Formatting:

  • Configures .oxfmtrc.json to ignore formatting for generated 3D font assets. ([.oxfmtrc.jsonL8-R8](https://github.com/Alexis-Technologies/website/pull/1/files#diff-ba6bdb5315b18041509bd0925c6394aa9250917b715ab46ca0a36231c566c8e5L8-R8))
  • Adds new scripts in package.json for linting, formatting, and regenerating the typeface asset; updates keywords for discoverability. ([package.jsonR12-R52](https://github.com/Alexis-Technologies/website/pull/1/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R12-R52))

These changes establish a robust, well-documented foundation for the project, ensuring consistency in tooling, automation, and development practices.

Adds the full static site: Astro config, BaseLayout, Hero with WebGL wordmark animation, LogoMark, SiteFooter, global styles, brand assets (logo.svg, favicon.svg), robots.txt, CI workflow, CLAUDE.md guidance, and the offline font subsetting script with committed typeface.json.
Reworks `hero-animation.ts` into a faithful port of zadvorsky’s original effect: switches to BAS-style bezier math in the vertex shader, restores original timing/control-point ranges, adds per-vertex delay jitter, and implements GSAP-equivalent yoyo playback with drag scrubbing and timeScale easing. It also fixes glyph spacing by applying runtime tracking to account for bevel expansion, keeps the original fixed camera framing behavior, and adds pointer listener cleanup on destroy. `CLAUDE.md` was updated to document these constraints and the intent to keep the port exact.
Derive camera distance from the h1 fallback's computed font-size so the canvas and fallback render at the same type size. Reflow to two centred lines when the em size drops below MIN_SINGLE_LINE_EM_PX. Scale bezier arcs with uArcScale (z / REFERENCE_CAMERA_Z) so the debris field always fills the stage. Introduce REST_SCALE to account for the shader's 2× resting position offset in all camera-fit formulas.
Defer the hero animation until the page is loaded, visible, and idle, and lazy-load the animation module so the font and document win the initial network and main-thread budget. The wordmark build is now async and chunked to reduce blocking, avoids rebuilding the wrong line layout on first paint, and drops unused geometry attributes before upload. This also preloads the Archivo Latin font for a stable LCP, switches the hero wrapper to `<main>`, improves faint text contrast, and documents the hero boot/perf constraints in `CLAUDE.md`.
@Alex-Dolid
Alex-Dolid merged commit 54bdcb1 into main Aug 4, 2026
1 check passed
@Alex-Dolid
Alex-Dolid deleted the feature/v1 branch August 4, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant