Thanks for helping improve the UPL website! This guide covers adding events, projects, and coordinator information.
- Fork the repository on GitHub
- Clone your fork locally
- Create a new branch for your changes
- Install dependencies:
npm i
- Start the dev server:
npx astro dev
- Make your changes following the guidelines below
- Submit a pull request
Need help with Git/GitHub? Ask a coordinator!
Create a JSON file in src/content/events/
following existing naming conventions.
{
"title": "Event Name",
"date": "YYYY-MM-DDTHH:MM:SS",
"description": "Event description with relevant details.",
"link": "https://example.com/link (optional)"
}
Use ISO 8601 date format. Include speaker names for lightning talks.
Create a JSON file in src/content/projects/
following existing naming conventions.
{
"title": "Project Name",
"source": "https://github.com/username/repo",
"writeup": "https://example.com/blog-post (optional)",
"description": "Brief description of the project.",
"image": "../../img/projects/image-name.jpg",
"authors": ["Author Name"]
}
Add images to public/img/projects/
. Use square images (600x600px recommended).
Create a JSON file in src/content/coords/
following existing naming conventions.
{
"name": "Coordinator Name",
"isActive": true,
"emoji": "😎",
"grade": "Senior",
"image": "../../img/coords/coordinator-name.webp",
"study": ["Major"],
"personalLink": "https://example.com (optional)",
"github": "username (optional)"
}
Add photos to public/img/coords/
as square images.
- Ask in the UPL Discord
- Email [email protected]
- Stop by the UPL lab (CS 1341)