Rocky_Mountain_Vending/.pnpm-store/v10/files/49/b4beb76ef988fedc8084c9e7d840b035c1ea2424e20b578fcc41d6cce6487bbaf9e5316cfdb523e7c4c0e351f15baff381000c7d46078340aa3652a6ae9e69
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

10 lines
No EOL
308 B
Text

import collectSiblings from './collectSiblings';
/**
* Collects all previous and next sibling elements of a given element.
*
* @param node the element
*/
export default function siblings(node) {
return collectSiblings(node && node.parentElement ? node.parentElement.firstElementChild : null, node);
}