Chore/design system docs and playwright#16
Open
f1shyfang wants to merge 2 commits into
Open
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add DESIGN.md as the visual and UI source of truth. - Add CLAUDE.md with design-system workflow for agents. - Add docs/design-consultation-preview.html for typography and color preview. - Ignore .gstack/ in .gitignore. - Add @playwright/test for browser-based testing. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR adds design-system documentation/artifacts and attempts to introduce Playwright, alongside a small TypeScript env tweak and a gitignore update.
Changes:
- Added Playwright dependency entries in the repo root
package.json/package-lock.json. - Added design-system documentation (
DESIGN.md,CLAUDE.md) and a standalone HTML design preview underdocs/. - Updated
CEUS/next-env.d.tsroute-types import path and ignored.gstack/.
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds @playwright/test at the repo root dependencies. |
| package-lock.json | Updates root lockfile (name change + Playwright/Playwright-core entries). |
| docs/design-consultation-preview.html | Adds a standalone interactive design preview page. |
| DESIGN.md | Introduces design system guidelines and a decisions log. |
| CLAUDE.md | Adds contributor/agent guidance to follow DESIGN.md for UI decisions. |
| CEUS/next-env.d.ts | Changes import to .next/types/routes.d.ts for route typing. |
| .gitignore | Ignores .gstack/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+3
to
5
| "@playwright/test": "^1.59.1", | ||
| "eslint-config-next": "^16.0.7", | ||
| "next": "^16.0.7" |
Comment on lines
+271
to
+281
| hero.addEventListener("mousemove", (e) => { | ||
| const r = hero.getBoundingClientRect(); | ||
| const x = (e.clientX - r.left - r.width / 2) * 0.08; | ||
| const y = (e.clientY - r.top - r.height / 2) * 0.06; | ||
| liquid.style.setProperty("--mx", `${x}px`); | ||
| liquid.style.setProperty("--my", `${y}px`); | ||
| }); | ||
| hero.addEventListener("mouseleave", () => { | ||
| liquid.style.setProperty("--mx", "0px"); | ||
| liquid.style.setProperty("--my", "0px"); | ||
| }); |
Comment on lines
+200
to
+213
| <strong>CEUS - Blue Process Lab Preview</strong> | ||
| <button class="btn" id="toggleTheme">Toggle Light / Dark</button> | ||
| </div> | ||
|
|
||
| <section class="hero" id="hero"> | ||
| <div class="liquid" id="liquid"></div> | ||
| <h1>A nicer landing page that pulls students into events</h1> | ||
| <p> | ||
| Fluid interaction and process-inspired structure guide attention to upcoming CEUS events while keeping the site clean, readable, and sponsor-safe. | ||
| </p> | ||
| <div class="cta-row"> | ||
| <button class="cta primary">See Upcoming Events</button> | ||
| <button class="cta secondary">Join CEUS</button> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.