diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..8e59209 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,39 @@ +# Tailor Designs Repository + +## Purpose +This repository stores screen designs created by individuals. Screens are pushed via pull requests and validated through a GitHub Actions workflow. + +## File Structure +- `screens/` - Directory containing all screen files +- `.github/workflows/validate-images.yml` - Workflow that validates file naming conventions + +## Naming Convention +Files in the `screens/` directory must follow this format: +``` +{WIDTH}x{HEIGHT}-{TYPE}-{NAME}.{EXT} +``` + +Where: +- `{WIDTH}x{HEIGHT}` - Screen resolution (e.g., 800x480) +- `{TYPE}` - Type of screen, either "loading" or "splash" +- `{NAME}` - Descriptive name using lowercase letters, numbers, underscores +- `{EXT}` - File extension (must be PNG) + +## Example Files +- `800x480-splash-hourglass_with_butterflies.png` +- `800x480-loading-dungeon_crawler_carl_princess_donut.png` + +## Gallery Features +The gallery webpage provides: +- Filter by screen type (splash/loading) +- Search functionality +- Responsive grid layout +- Modern UI with Tailwind CSS styling + +## Validation Workflow +The validation workflow ensures all files: +1. Use only lowercase letters, numbers, underscores, and hyphens +2. Have 3 or 4 segments separated by hyphens +3. Have a valid PNG file format +4. Match the specified dimensions in filename with actual image dimensions +5. Have the correct type (loading or splash) \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..9502967 --- /dev/null +++ b/index.html @@ -0,0 +1,234 @@ + + + + + + Screen Gallery + + + + + + +
+
+

Screen Gallery

+

Browse all the screens created by contributors

+
+
+ +
+ +
+
+

Filter Screens

+
+ + + +
+
+ + +
+
+
+ + + + + + +
+ + + + + + \ No newline at end of file diff --git a/screens/800x480-loading-dungeon_crawler_carl_princess_donut.png b/screens/800x480-loading-dungeon_crawler_carl_princess_donut.png new file mode 100644 index 0000000..74a2d4b --- /dev/null +++ b/screens/800x480-loading-dungeon_crawler_carl_princess_donut.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c31f2e363a92765914e34d2135edc9168e78690de86d0b756bbfb35f8796e18 +size 9475