Skip to content

polish(publications): Brand Navy CTAs, PDF + file-size affordance, kill glassmorphism#21

Open
f1shyfang wants to merge 1 commit into
mainfrom
polish/publications
Open

polish(publications): Brand Navy CTAs, PDF + file-size affordance, kill glassmorphism#21
f1shyfang wants to merge 1 commit into
mainfrom
polish/publications

Conversation

@f1shyfang
Copy link
Copy Markdown
Owner

Summary

Polish pass on /publications (single-file page, no client component). Critique score moved from 18/40 → 35/40.

Highlights

  • Both download CTAs used bg-blue-600 instead of Brand Navy, and both were labelled "Alternate Link" with identical accessible names for two different documents. Renamed to "Open PDF" (Brand Navy primary, with PDF + file-size affordance) and "View on Google Drive" (Brand Navy ghost), each with destination-aware aria-label.
  • Glassmorphism disclaimer panel removedbg-white/50 backdrop-blur-sm is explicitly banned by DESIGN.md. Rebuilt as the spec card token.
  • Generic-marketing copy ("Dive into ... a must for all", "Packed with helpful tips ... tons of valuable info") rewritten in student voice with specific nouns. All em dashes removed.
  • Cards now use rounded-xl border border-gray-200 shadow-lg (was rounded-2xl shadow-xl).
  • PDF-unsupported fallback recoloured from red (suggested error) to neutral.
  • Data hoisted into a typed PUBLICATIONS array — adding a publication is now a one-record change. Empty-state card added in case the array is ever empty.
  • Scale transform removed from non-interactive containers; transitions explicit and motion-safe: guarded.
  • Disclaimer promoted from <h3> to <h2> so heading order makes sense.

Test plan

  • npm run dev/publications — verify both publication cards render with new CTAs
  • "Open PDF" / "View on Google Drive" CTAs open in new tab with correct URL
  • Confirm PDF + file-size affordance ("PDF, 24 MB") appears above each title
  • Disclaimer panel renders as flat card (no blur)
  • Set prefers-reduced-motion: reduce; verify card hover behavior is shadow-only (no scale)

Open question

The current Careers Handbook is the 2023 edition. Either commission a 2026 refresh or relabel the card "2023 edition — refresh in progress." Content decision, not in this PR.

Verification

  • tsc --noEmit: clean
  • eslint: clean

Merge note

Independently mergeable. Touches only CEUS/src/app/publications/page.tsx.

🤖 Generated with Claude Code

…hism

Both download CTAs were labelled "Alternate Link" with identical
accessible names, used bg-blue-600 instead of Brand Navy, and the
glassmorphism disclaimer panel (bg-white/50 backdrop-blur-sm) was on
the DESIGN.md ban list. Generic-marketing copy throughout ("Dive into ...
a must for all", "Packed with helpful tips ... tons of valuable info",
em dash).

Cards rebuilt as the spec token (rounded-xl border border-gray-200
shadow-lg). Primary CTAs renamed "Open PDF" with PDF + file-size
affordance row above each title ("PDF, 24 MB"). Secondary "View on
Google Drive" CTA in Brand Navy ghost style.

PDF-unsupported fallback recoloured from red (suggested error) to
neutral. Disclaimer panel rewritten as standard spec card; italic
removed; promoted to h2 ("A note from the editors") so heading order
makes sense.

Copy rewritten in student-led voice with specific nouns ("course
sequencing notes, elective tips", "internship timelines, resume and
interview notes"). All em dashes removed.

Data hoisted into a typed PUBLICATIONS array so adding a publication
is a one-record change. Added an empty-state card with Brand Navy
contact CTA in case the array is ever empty.

scale transform removed from non-interactive card containers,
transitions made explicit (transition-shadow / transition-colors,
motion-safe guarded). Focus-visible rings on every CTA; aria-labels
on PDF/Drive links naming the document and destination. <object>
aria-label upgraded to "{Title} {Year} embedded preview".

tsc --noEmit: clean. eslint: clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 11:29
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ceus-website Ready Ready Preview, Comment May 29, 2026 11:30am

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Polish pass on the Next.js /publications page to improve CTA styling/accessibility, simplify maintenance by hoisting publication data into a typed structure, and align layout/styling with updated design direction (including removing blur/glass effects).

Changes:

  • Introduced a typed PUBLICATIONS array and a reusable PublicationCard renderer (plus an empty-state card).
  • Updated download CTAs (labels, destination-aware aria-labels, and Brand Navy styling) and added a “PDF, size” affordance per publication.
  • Reworked the disclaimer into a flatter card layout and adjusted motion/hover behavior to be motion-safe guarded.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +192 to +194
{publications.map((pub) => (
<PublicationCard key={pub.title} publication={pub} />
))}
Comment on lines +183 to 188
<a
href="/contact"
className="inline-flex items-center justify-center rounded-lg bg-[#1B397E] px-5 py-2.5 text-sm font-semibold text-white motion-safe:transition-colors motion-safe:duration-200 hover:bg-blue-700 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
>
Alternate Link
Contact CEUS
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants