Classprofile
No description available
Install / Use
/learn @sexxv/ClassprofileREADME
Welcome to the SE25 Class Profile Repository!
Appendix
Where is the commit history?
The original SE25 Class Profile repository that the team worked on is privated for data privacy. Fun fact, the original repository has over 800 commits!
This repository contains a clean commit-free history.
A Warning About Code Quality
"code quality doesn't matter since we'll be done in two ~~weeks~~ months"
We went into this project knowing that we wanted to prioritize 1) it being a visually digestible representation of our data and 2) getting it out fast.
Release speed was motivated by two factors:
- So that lower-year and prospective SE students could benefit from it sooner
- Because everyone on the class profile team was starting full-time work in the next few months, and we didn't want this project to be stuck in limbo
Historically, past UW class profiles have usually released the year after graduation, and we managed to get our profile out within 3 months of our final exams.
As a consequence of this, if you are reading the code and are wondering "why did they do that", the answer is probably that it was the first thing that we did that worked. TypeScript is very upset with our repository. CSS styling is flying around wherever it pleases. Many values have been hardcoded in to match our exact data. There are places where we implemented something, then realized we needed a rewrite, so we used the code equivalent of zipties and duct tape to hold it all together. But it's done, and from the front-end (hopefully) everything looks acceptable.
So in conclusion, beware!
This is a Next.js project bootstrapped with create-next-app.
Getting Started
If this is your first time developing with the repo, start with npm i to install dependencies.
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load fonts.
Building
This project is intended to be built for a static deployment on GitHub pages.
You shouldn't need to do this more than a few times, but the build process will be listed below anyways since there are a few pitfalls to watch out for:
- Checkout whatever branch GitHub pages is set to deploy from.
- Run
npm run build - Rename the output folder (probably
/out) to/docsif deploying from/docs, or move the output folder contents to the root directory and delete everything else. - Add an empty
.nojekyllfile to either/docsor the root directory. If you skip this step, none of the contents in the/_nextroute will be served, which is to say pretty much every script, stylesheet, and image. - Add everything to a new commit, and push.
Other Caveats
If you're adding images with a <Image/> component, make sure to prefix the src attribute with your repo name when building! For example, if the repo is named se25-class-profile, and you want to display example.png from the /public folder, you'll want to set src="/se25-class-profile/example.png".
In this repo, just set the BASE_PATH const to the repo name on the branch that you're deploying from, and set it to an empty string during dev.
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
