Add tjenester page and refresh homepage services section#95
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
✅ Deploy Preview for kynd ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Rotation was skipped whenever logo count was at most visibleCount (5), but only three slots are shown on small viewports—so four or five clients never rotated on mobile. Gate swaps on actually visible slots instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Track a stable client key on each slot and skip duplicates during initial pick and rotation, including when multiple projects share one customer. Co-authored-by: Cursor <cursoragent@cursor.com>
Rotation only updated visible slots on narrow viewports but excluded hidden slots from the occupied-client set, so widening to desktop could reveal duplicate customers. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 127b9a2. Configure here.
| const slot = activeSlots[slotIndex % activeSlots.length]; | ||
| if (!slot) return; | ||
|
|
||
| const occupiedClients = getVisibleClients(slots); |
There was a problem hiding this comment.
Hidden slots block mobile rotation
Medium Severity
On viewports that hide logo slots with CSS, the rotation interval still builds occupiedClients from every .logo-slot, including display: none entries. Clients shown only in hidden slots stay reserved, so the three visible slots cannot rotate through the full client list and takeNext may fall back to a logo whose client is already visible, producing duplicate logos in the band.
Reviewed by Cursor Bugbot for commit 127b9a2. Configure here.


Summary
/tjenesterpage with three anchored service areas: partnerskap, kompetanse, and produktfilosofi.OffsetProseSectionintro, enabled services cards linking to/tjenester, and a rotating client logo band sourced from project content.Test plan
/and verify the Team section, Tjenester subheading, logo band rotation, and service card links./prosjekter/{id}./tjenesterand verify hero copy, three sections, anchor navigation, and contact block.pnpm astro:check.Made with Cursor