Skip to content

Vercel actions#39

Merged
xuvi7 merged 7 commits into
mainfrom
vercel-actions
Jun 4, 2026
Merged

Vercel actions#39
xuvi7 merged 7 commits into
mainfrom
vercel-actions

Conversation

@xuvi7

@xuvi7 xuvi7 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

hawkbsilleee and others added 7 commits May 26, 2026 15:18
- fix wrong import path in StaffCard/UndergradCard (TeamMember lives in CosmicTypes, not CosmicServices) — production build failed without this
- update next.config.ts to use remotePatterns and include cdn.cosmicjs.com (the imgix.cosmicjs.com fallback URL)
- track .env.example so contributors know which env vars to set

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- fetch latest posts from Behold JSON feed (public URL, no secret)
- show first 3 posts when available; fall back to existing placeholders otherwise
- restructure InstagramPostCard: image on top, username+date row below, drop fake likes/heart/comment icons
- date replaces likes since Behold doesn't expose like counts
- for VIDEO posts use thumbnailUrl (Behold's mediaUrl is the .mp4)
- delete unused duplicate at app/components/InstagramPostCard.tsx

Feed URL configured via NEXT_PUBLIC_BEHOLD_FEED_URL. Documented in .env.example.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Was rendering /slideshow1.png three times from public/, ignoring home.metadata.slideshow_images entirely. Now uses the existing <Slideshow> component (previously imported but unused) fed directly by Cosmic.

- removes ~50 lines of inline slide-clone-and-snap-back state machinery from app/page.tsx
- updates Slideshow dot colors from generic teal-500/gray-300 to brand #F2AD3D / #459A9F so the visual matches the prior inline version

Adding/removing slideshow images in Cosmic now updates the site without code changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
These three HomePage metadata fields existed in the Cosmic type but the page hardcoded the values instead. Now reads them from home.metadata so content edits land on the site without a code change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Added environment variables for Cosmic and Next.js feed URL.
@xuvi7
xuvi7 merged commit d76143a into main Jun 4, 2026
1 check passed
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