{"id":48342324,"url":"https://github.com/agility/digital-signage-poc","last_synced_at":"2026-04-05T05:04:43.177Z","repository":{"id":328829489,"uuid":"1104068831","full_name":"agility/digital-signage-poc","owner":"agility","description":"Digital signage system with Next.js and Agility CMS. Features multi-board 3D arc layout, auto-refresh, and responsive menu/pricing displays optimized for large screens.","archived":false,"fork":false,"pushed_at":"2025-12-15T15:40:25.000Z","size":292,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-18T21:11:33.112Z","etag":null,"topics":["cms","digital-signage","headless-cms"],"latest_commit_sha":null,"homepage":"https://digital-signage-poc.publishwithagility.com/multi-board","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agility.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-25T17:55:21.000Z","updated_at":"2025-12-15T15:40:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/agility/digital-signage-poc","commit_stats":null,"previous_names":["agility/digital-signage-poc"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/agility/digital-signage-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agility%2Fdigital-signage-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agility%2Fdigital-signage-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agility%2Fdigital-signage-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agility%2Fdigital-signage-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agility","download_url":"https://codeload.github.com/agility/digital-signage-poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agility%2Fdigital-signage-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31424932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T02:22:46.605Z","status":"ssl_error","status_checked_at":"2026-04-05T02:22:33.263Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","digital-signage","headless-cms"],"created_at":"2026-04-05T05:04:21.456Z","updated_at":"2026-04-05T05:04:43.160Z","avatar_url":"https://github.com/agility.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Signage POC\n\nA digital signage system built with Next.js and Agility CMS for displaying menus, text, images, and pricing on large displays. Features a multi-board view that simulates a drive-through display with three 1080x1920 vertical screens arranged in a 3D arc.\n\n## 🚀 Quick Start\n\n```bash\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n\n# View at http://localhost:3000\n```\n\n## ✨ Features\n\n### Multi-Board Display\n- **3D Arc Layout**: Simulates a drive-through display with three vertical 1080x1920 screens\n- **Auto-Refresh**: All iframes refresh every 10 seconds with smooth fade transitions (no flickering)\n- **Responsive Scaling**: Automatically scales to fit any browser size while maintaining correct aspect ratios\n- **Synchronized Updates**: All three boards refresh simultaneously\n\n### Components\n\n#### MenuBoard\n- Displays menus with nested menu items in a 2x3 grid layout\n- Prominent header with gradient background\n- Supports up to 6 menu items per board\n- Automatic placeholder images for missing content\n- Category grouping support\n\n#### MenuItemCard\n- Displays individual menu items with images, names, descriptions, and prices\n- Responsive text sizing optimized for digital displays\n- Alternating background colors for visual distinction\n\n#### Header\n- Displays title, subtitle, and optional logo\n- Prominent styling for digital signage displays\n\n#### TextDisplay\n- Displays text content with configurable sizes\n- Supports HTML content\n\n#### ImageDisplay\n- Displays images with optional captions\n- Automatic placeholder generation for missing images\n\n#### PriceList\n- Displays pricing information in a table format\n- Supports multiple price items\n\n#### FullScreenImage\n- Full-screen image display component\n\n#### RichTextArea\n- Rich text/HTML content display\n\n## 📁 Project Structure\n\n```\nsrc/\n├── app/\n│   ├── [locale]/[...slug]/    # Dynamic page routing\n│   └── multi-board/            # Multi-board demo page\n├── components/\n│   ├── agility-components/     # CMS components\n│   └── agility-pages/          # Page templates\n└── lib/\n    ├── cms/                    # Agility CMS helpers\n    └── i18n/                   # Internationalization\n```\n\n## 🎯 What's Implemented\n\n### Infrastructure\n- ✅ Next.js 14+ with App Router\n- ✅ Agility CMS integration with type-safe helpers\n- ✅ Multi-locale support (i18n)\n- ✅ TypeScript throughout\n- ✅ Tailwind CSS for styling\n\n### Components\n- ✅ **MenuBoard** - Menu display with grid layout\n- ✅ **MenuItemCard** - Individual menu item cards\n- ✅ **Header** - Page headers with logo support\n- ✅ **TextDisplay** - Text content display\n- ✅ **ImageDisplay** - Image display with captions\n- ✅ **PriceList** - Pricing table display\n- ✅ **FullScreenImage** - Full-screen image component\n- ✅ **RichTextArea** - Rich text content\n\n### Pages\n- ✅ Home page with promotional content\n- ✅ Breakfast Menu page\n- ✅ Lunch Menu page\n- ✅ Dinner Menu page\n- ✅ Price List page\n- ✅ Multi-Board demo page (3D arc layout)\n\n### Features\n- ✅ Automatic placeholder images for missing content\n- ✅ Price formatting (stored in cents, displayed as dollars)\n- ✅ Category support for menu items\n- ✅ Smooth iframe refresh with double-buffering (no flickering)\n- ✅ Responsive 3D layout that maintains aspect ratios\n- ✅ Auto-refresh every 10 seconds\n\n## 🛠️ Development\n\n### Environment Variables\n\nCreate a `.env.local` file with:\n\n```env\nAGILITY_GUID=your-instance-guid\nAGILITY_API_FETCH_KEY=your-fetch-key\nAGILITY_API_PREVIEW_KEY=your-preview-key\nAGILITY_LOCALES=en-us\n```\n\n### Adding New Components\n\n1. Create component in `src/components/agility-components/YourComponent.tsx`\n2. Register in `src/components/agility-components/index.ts`\n3. Create component model in Agility CMS\n4. Add to pages in CMS\n\n### Multi-Board Page\n\nThe multi-board page (`/multi-board`) displays three iframes in a 3D arc:\n- **Left**: Home page (promotional content)\n- **Middle**: Breakfast menu\n- **Right**: Price list\n\nAll iframes maintain 1080x1920 aspect ratio and refresh every 10 seconds with smooth transitions.\n\n## 📦 Tech Stack\n\n- **Next.js** - React framework with App Router\n- **Agility CMS** - Headless CMS for content management\n- **TypeScript** - Type safety\n- **Tailwind CSS** - Utility-first CSS framework\n- **React** - UI library\n\n## 🎨 Design Features\n\n- **Kaushan Script Font** - Used for menu item names and headers\n- **Gradient Headers** - Red gradient backgrounds for menu boards\n- **Alternating Colors** - Yellow and white backgrounds for menu items\n- **3D Perspective** - Arc layout with CSS 3D transforms\n- **Smooth Transitions** - Fade transitions for content updates\n\n## 📝 Content Management\n\nAll content is managed through Agility CMS:\n- Menus and menu items\n- Price lists\n- Text blocks\n- Image displays\n- Pages and page structure\n\nContent updates are reflected immediately (with auto-refresh on multi-board view).\n\n## 🔄 Auto-Refresh\n\nThe multi-board page uses a double-buffering technique:\n- Two sets of iframes per panel (Set A and Set B)\n- Hidden set loads fresh content while visible set displays\n- Smooth opacity transition when swapping\n- No flickering or white flashes\n\n## 📄 License\n\nThis is a proof-of-concept project.\n\n---\n\n**Built with Next.js and Agility CMS** 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagility%2Fdigital-signage-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagility%2Fdigital-signage-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagility%2Fdigital-signage-poc/lists"}