Skip to content

About

Just a test frontend ai slop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Northbridge — marketing site

A React + Vite single-page site for an IT services company. Dark navy theme, scroll/hover motion, and a hand-built interactive 3D network diagram in the hero. No backend — everything is static and driven by plain data files.

Run it

npm install
npm run dev       # local dev server, http://localhost:5173
npm run build     # production build → /dist
npm run preview   # preview the production build locally

Where things live

src/
  data/                  ← EDIT THESE — all seeded content lives here
    services.js          the Services grid
    team.js               the Team grid + photos
    projects.js           the Projects / portfolio grid
    company.js             name, tagline, email, phone, address, social links, nav labels

  components/            one folder per section, each with its own .jsx + .css
  hooks/                  small reusable behaviors (scroll-spy nav, 3D tilt on hover)
  styles/
    tokens.css            EDIT THIS to re-theme the whole site (colors, fonts, spacing)
    global.css             base resets, buttons, section/eyebrow helpers

public/
  team/                   drop team photos in here

Common edits

Add or remove a service Open src/data/services.js and add/remove an object from the array. The grid is auto-fit based, so it reflows automatically — no layout code to touch. icon must be a name exported by lucide-react; if you use a new icon name, add it to the small map at the top of src/components/Services/ServiceCard.jsx.

Add or replace a team member's photo

  1. Drop the image file into public/team/ (e.g. jane-doe.jpg).
  2. In src/data/team.js, set that person's photo field to /team/jane-doe.jpg.

Any image size or aspect ratio works — the card crops to a square automatically (object-fit: cover), so nothing breaks. The six people already in the file are placeholders (generated avatars); replace the photo path and name/role/bio fields with real ones whenever you're ready — nothing else needs to change.

Add or remove a project Same pattern as services — edit src/data/projects.js. accent picks a color for the card's top panel: 'signal' (blue), 'pulse' (teal), or 'amber'.

Change the color theme Everything traces back to the named variables at the top of src/styles/tokens.css (e.g. --signal, --bg-void). Change a value once there and it updates everywhere it's used.

Change fonts Also in tokens.css (--font-display, --font-body, --font-mono). If you swap in different Google Fonts, update the <link> tag in index.html to match.

Change nav links / social links / contact info All in src/data/company.js. Set any social URL to '' to hide that icon from the footer.

The 3D piece

The rotating node network in the hero (src/components/NetworkSphere/) is a custom, dependency-free 3D scene: points are distributed on a sphere, projected to 2D each frame with basic perspective math, and rendered as absolutely-positioned dots + SVG lines. Drag it with a mouse or a finger — it also auto-rotates gently when idle, and respects prefers-reduced-motion.

Notes

  • Built with React 18 + Vite, framer-motion for scroll/entry animation, lucide-react for icons. No CSS framework — plain CSS with variables, so there's nothing extra to learn to make a change.
  • Fully responsive: header collapses to a slide-in mobile menu below ~860px, all grids reflow down to a single column on small phones.
  • No backend/database. Team photos and copy are edited directly in the source files listed above and committed like any other code change.

About

Just a test frontend ai slop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages