How vibirdinternational/vbird works
Purpose and Top-Level Shape
This repository contains a mostly static Vbird marketing/information site plus a nested Sanity CMS project. The root site serves public pages for the homepage, about, learning, privacy, and terms; vibird/ is the content-management workspace.
Key public entry points:
• index.html
• about/index.html
• learn/index.html
• privacy/index.html
• terms/index.html
Static Site Delivery
The root is an HTML-first site with page-local entry documents and shared compiled styling/scripts. It does not expose an application server or API layer in the visible tree.
Shared presentation/runtime assets:
• src/css/tailwind-input.css
• src/css/tailwind.css
• src/js/main.js
vercel.json indicates deployment is configured for Vercel, likely serving the root’s static documents and assets.
Client-Side Behavior and Observability
Browser behavior is centralized in the root JavaScript rather than framework component code. main.js is the likely location for navigation, animations, interaction handling, and DOM initialization. Performance telemetry is separated into its own browser module.
Relevant paths:
• src/js/main.js
• src/js/speed-insights.js
• vercel.json
Control flow: HTML page loads shared CSS and JavaScript; JavaScript enhances the static DOM and may initialize Vercel Speed Insights or equivalent client analytics.
Styling and Design System
Tailwind is the central styling pipeline. Source styles are authored in the Tailwind input file and emitted to a consumable stylesheet; Tailwind configuration defines the project-wide design tokens/content scanning rules.
Relevant paths:
• src/css/tailwind-input.css
• src/css/tailwind.css
• tailwind.config.js
The generated CSS is an important boundary: public pages should consume tailwind.css, while design changes should generally originate in the input/configuration layer.
Asset Organization
Visual content is stored under src/Images, organized by page or subject area. This supports static asset references from HTML/CSS rather than dynamic media delivery.
Representative paths:
• src/Images/Background
• src/Images/Products
• src/Images/about/About story.avif
• src/Images/other/logo.avif
The AVIF asset usage suggests image optimization is handled at asset-preparation time, not by a visible runtime image service.
Sanity CMS Workspace
vibird/ is an independent TypeScript Sanity project, with its own dependencies, CLI setup, static directory, and schema registration. It is architecturally separate from the root site in the current tree; no visible root integration code fetches Sanity content.
Relevant paths:
• vibird/sanity.config.ts
• vibird/sanity.cli.ts
• vibird/schemaTypes/index.ts
• vibird/package.json
The CMS boundary is Sanity’s hosted content platform: schema definitions determine editable document types, and Studio configuration connects the local workspace to the Sanity project/dataset. Future dynamic-content work would need an explicit client/build integration from root pages to this CMS.
Deployment and Runtime Boundaries
Two distinct Node-managed workspaces exist:
• Root workspace: static-site build dependencies and Tailwind pipeline in package.json.
• CMS workspace: Sanity Studio tooling in vibird/package.json.
Infrastructure/services:
• Vercel deployment configuration: vercel.json
• Sanity Studio/content backend configuration: vibird/sanity.config.ts
The principal operational flow is: build root CSS/assets → deploy static pages to Vercel; separately run/deploy Sanity Studio to manage structured content.
Main entry points: sanity.config.ts Sanity Studio · index.html Public pages · tailwind.css Compiled stylesheet · package.json Root build workspace
Components 14
Static marketing site
Public HTML-first site served from the repository root.
- Public pages · Homepage, about, learn, privacy, and terms entry pages.
index.html - Static images · Page-organized AVIF and other visual assets.
src/Images - Browser enhancements · Initializes navigation, animation, and DOM interactions.
src/js/main.js - Performance telemetry · Client-side performance insights initialization.
src/js/speed-insights.js - Vercel deployment · Deploys the root static site.
vercel.json - Root build workspace · Provides static-site and Tailwind build dependencies.
package.json
Styling pipeline
Tailwind source and generated stylesheet boundary.
- Tailwind source · Authored styles and Tailwind directives.
src/css/tailwind-input.css - Tailwind configuration · Defines design tokens and content scanning.
tailwind.config.js - Compiled stylesheet · Consumable stylesheet used by public pages.
src/css/tailwind.css
Sanity CMS workspace
Independent content-authoring project under vibird/.
- Sanity Studio · Local authoring workspace connected to Sanity.
vibird/sanity.config.ts - Sanity CLI setup
vibird/sanity.cli.ts - Document schemas · Registers editable structured content types.
vibird/schemaTypes/index.ts - CMS dependencies · Sanity Studio dependencies and scripts.
vibird/package.json - Sanity content platform · Stores content for the configured project and dataset.
Connections 14
- Tailwind source → Compiled stylesheet: compiled to
- Tailwind configuration → Compiled stylesheet: configures build
- Root build workspace → Tailwind source: runs build tooling
- Compiled stylesheet → Public pages: styles
- Static images → Public pages: referenced by
- Browser enhancements → Public pages: enhances
- Performance telemetry → Browser enhancements: initialized by
- Public pages → Vercel deployment: deployed to
- Root build workspace → Vercel deployment: builds for
- CMS dependencies → Sanity Studio: provides tooling
- Sanity CLI setup → Sanity Studio: supports
- Document schemas → Sanity Studio: registered by
- Sanity Studio → Sanity content platform: connects to
- Sanity Studio → Public pages: no visible integration · The root static pages do not visibly fetch CMS content.