This is the frontend website for Humber's Roboboat Team, SeaForge, built using React, TypeScript, and Vite. This project provides a modern, fast, and type-safe web application with Hot Module Replacement (HMR) and ESLint configured.
- Built with React + TypeScript for robust and scalable code
- Powered by Vite for fast development build and reload times
- ESLint configured with type-aware lint rules and React-specific plugins
- Easy to extend and maintain for future enhancements
Follow these steps to get a local copy of the SeaForge website for development and testing:
- Install Node.js (version 18 or higher recommended)
- Have Git installed
- A code editor like Visual Studio Code
Open your terminal and run:
git clone [email protected]:HumberASV/HumberASV-Website.git
cd HumberASV-WebsiteInstall the required packages:
pnpm installStart the local development server:
pnpm run devThe site should now be running at http://localhost:5173
Team rosters live in data/team-members.xlsx, one tab per competition year. Old tabs are the archive behind the Past Teams page (/team/past), so don't delete them. The workbook's "How to" tab has the same steps.
To add a new year:
- Put that year's photos in
src/assets/team/<year>/: one headshot per member, plusbanner-leads.jpg(the leadership photo at the top of the page) andbanner-team.jpg(the whole-team photo). - Copy the newest year tab, rename the copy to the new year, and edit the rows. Row order is display order. Set
SectiontoLeadershiporTeam. - Add the year to the
Yearstab with its banner file names. MoveCurrent = TRUEto it when it should become the team shown on/team. - Export and commit:
pnpm update:membersThis regenerates src/data/team.json, which is what the site reads. Commit both the workbook and the JSON. The script stops with an error if the workbook is malformed, and warns about any photo file it can't find.
To fix a member's info later, edit their row in that year's tab and run pnpm update:members again.
Original full-size photos are kept in assets-raw/, outside src, so they aren't bundled into the site.