Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev - Start development servernpm run build - Create production buildnpm run start - Start production servernpm run lint - Run ESLintNext Frames is a Next.js 15 application with React 19 that provides image slideshow management using Supabase as the backend.
App Structure (App Router):
/login - Supabase authentication page/dashboard - Protected image management interface/slideshow - Public slideshow display with auto-refresh every 5 minutesState Management:
ImagesContext) manages global image state and preview functionalityAuthentication Flow:
middleware.js) protects /dashboard routeutils/supabase/Image Management:
app/actions/ for CRUD operationscomponents/ for UI (image cards, upload, carousel)Required environment variables in
.env.local:
NEXT_PUBLIC_SUPABASE_URL=<your-supabase-url> NEXT_PUBLIC_SUPABASE_ANON_KEY=<your-anon-key>
ImageUploadCard - Handles file uploads via server actionsImageCardList - Displays uploaded images with reorder/delete controlsCarousel - Full-screen slideshow componentImagePreview - Dashboard preview paneAll database operations use Next.js Server Actions:
getAllImages.js - Fetches images ordered by positionuploadImage.js - Handles file upload to Supabase storagedeleteImage.js - Removes image and filemoveUpImage.js/moveDownImage.js - Reorders imagesUses Tailwind CSS with custom configuration for responsive design and full-height layouts.