Copy + paste Consortium Event messages and programmatically generate weekly graphics!
- Navigate to the current deployment (https://icssc.link/create-weekly)
- Follow the on-screen instructions. This usually involves copy+pasting Discord messages, choosing background colors, and setting the graphic name.
- Click on the button to save the graphic (works best in Chromium-based browsers such as Brave), or use your browser's built-in screenshot tools (I like Arc's and Firefox's) to capture the graphic.
- Clone the repo
bun install(you can probably also get away with npm or pnpm, but I used bun to create this project)bun run dev(ornpm run devorpnpm dev)- Go to the URL logged in the console.
Club images are stored in public/club-logos/.
- For consistency, all images are 312x312 or 312x228.
Club names are mapped to images by removing a @ UCI or at UCI suffix. For example:
ICSSCwill look foricssc.pngAI@UCIwill look forai.pngAISUCI(no @) will look foraisuci.png
To add a club logo, simply add an image with size 312x312 or 312x228 to the public/club-logos folder.
- Feel free to do this without running locally, though auto-deployments are not set up yet.
- Auto-deploy to GitHub pages since it's a static site
- Pre-commit format hook
- Add asset file size checks
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
The React Compiler is currently not compatible with SWC. See this issue for tracking the progress.