From 84fd5eff3e58ed5da5688f5b24a001fc32ec462e Mon Sep 17 00:00:00 2001 From: Advait Bhat Date: Wed, 9 Sep 2026 16:16:40 -0700 Subject: [PATCH] Simplify opportunity cards --- app/globals.css | 4 ++-- app/join/page.jsx | 6 +----- content/opportunities.json | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/globals.css b/app/globals.css index 017914c..25e1611 100644 --- a/app/globals.css +++ b/app/globals.css @@ -22,6 +22,6 @@ .paper-card h2{font-size:22px;font-weight:500;margin:12px 0;line-height:1.35;max-width:820px}.person-card h2{font-size:19px;font-weight:500;margin:15px 0 5px} -.opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:8px 0 70px}.opportunity-card{border:1px solid var(--line);padding:30px;display:flex;flex-direction:column;min-height:450px}.opportunity-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px;font-size:13px}.opportunity-status{display:inline-flex;align-items:center;gap:8px;color:var(--purple);font-weight:700}.opportunity-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#2f7d4d}.opportunity-reviewed{color:var(--muted);text-align:right}.opportunity-card h2{font-size:31px;margin-bottom:8px}.opportunity-owner{font-size:14px;color:var(--muted);margin-bottom:24px}.opportunity-description{font-size:16px}.opportunity-description p{margin-bottom:22px}.opportunity-meta{list-style:none;padding:0;margin:0 0 30px;border-top:1px solid var(--line)}.opportunity-meta li{padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.opportunity-meta li::before{content:"—";color:var(--purple);margin-right:9px}.opportunity-actions{display:flex;align-items:center;gap:18px 24px;flex-wrap:wrap;margin-top:auto}.opportunity-actions .button{text-decoration:none}.opportunity-actions .text-link{text-decoration:underline;text-underline-offset:4px}.opportunities-empty{max-width:780px;margin-bottom:70px}.opportunities-empty h2{font-size:29px}.opportunities-empty p{max-width:620px} +.opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:8px 0 70px}.opportunity-card{border:1px solid var(--line);padding:30px;display:flex;flex-direction:column;min-height:450px}.opportunity-card h2{font-size:31px;margin-bottom:8px}.opportunity-owner{font-size:14px;color:var(--muted);margin-bottom:24px}.opportunity-description{font-size:16px}.opportunity-description p{margin-bottom:22px}.opportunity-meta{list-style:none;padding:0;margin:0 0 30px;border-top:1px solid var(--line)}.opportunity-meta li{padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.opportunity-meta li::before{content:"—";color:var(--purple);margin-right:9px}.opportunity-actions{display:flex;align-items:center;gap:18px 24px;flex-wrap:wrap;margin-top:auto}.opportunity-actions .button{text-decoration:none}.opportunity-actions .text-link{text-decoration:underline;text-underline-offset:4px}.opportunities-empty{max-width:780px;margin-bottom:70px}.opportunities-empty h2{font-size:29px}.opportunities-empty p{max-width:620px} @media(max-width:900px){.opportunity-grid{grid-template-columns:1fr}.opportunity-card{min-height:0}} -@media(max-width:760px){.opportunity-grid{margin-bottom:45px}.opportunity-card{padding:23px}.opportunity-card-header{align-items:flex-start;margin-bottom:24px}.opportunity-card h2{font-size:27px}.opportunity-reviewed{max-width:150px}.opportunity-actions{align-items:flex-start;flex-direction:column}.opportunity-actions .button{width:100%}} +@media(max-width:760px){.opportunity-grid{margin-bottom:45px}.opportunity-card{padding:23px}.opportunity-card h2{font-size:27px}.opportunity-actions{align-items:flex-start;flex-direction:column}.opportunity-actions .button{width:100%}} diff --git a/app/join/page.jsx b/app/join/page.jsx index bc32a90..f4b90dd 100644 --- a/app/join/page.jsx +++ b/app/join/page.jsx @@ -1,4 +1,4 @@ -import { formatDate, opportunities, people, safeUrl } from '@/lib/content'; +import { opportunities, people, safeUrl } from '@/lib/content'; import { openOpportunities } from '@/lib/relationships.mjs'; import ReactMarkdown from 'react-markdown'; import PageHeading from '@/components/page-heading'; @@ -15,10 +15,6 @@ export default function Join() { {open.length > 0 ?
{open.map(opportunity => { const owner = people.find(person => person.id === opportunity.ownerId); return
-
- Open - {opportunity.reviewedOn && Last verified {formatDate(opportunity.reviewedOn)}} -

{opportunity.title}

{owner &&

Faculty lead: {owner.name}

} {opportunity.description &&
{opportunity.description}
} diff --git a/content/opportunities.json b/content/opportunities.json index 00a767d..4c8154c 100644 --- a/content/opportunities.json +++ b/content/opportunities.json @@ -5,7 +5,7 @@ "ownerId": "timalthoff", "url": "https://docs.google.com/document/d/1h44Gz1wOMx6QhHUWv9QFB3Jnrn-JzEMPHC0WZhPMEqU/edit", "status": "open", - "description": "Prof. Tim Althoff invites applications from researchers interested in AI safety, psychosocial simulation with AI, reducing psychosocial harms, and AI-supported mental health interventions.", + "description": "We are recruiting multiple postdoctoral scholars. Focus areas include psychosocial AI simulation and safety, and human–AI collaboration.", "meta": [ "Multiple positions", "Applications reviewed on a rolling basis until filled" @@ -20,7 +20,7 @@ "ownerId": "timalthoff", "url": "https://www.cs.washington.edu/academics/graduate/phd-program/phd-admissions/", "status": "open", - "description": "Tim Althoff is recruiting a small number of PhD students with interests including deep learning, causal inference, data science, and mobile health. Students apply through the Allen School rather than directly to the lab.", + "description": "We are recruiting multiple PhD students. Focus areas include psychosocial AI simulation and safety, and human–AI collaboration. Students apply through the Allen School rather than directly to the lab.", "meta": [ "Current application window: September 1–December 15, 2026", "Autumn admission"