refactor: restructure project layout

- Move source files (app.js, styles.css) to src/ directory
- Move assets (UI.webp, UI-1.webp) to assets/ directory
- Update references in index.html and README.md"
This commit is contained in:
Yusuf İpek
2026-01-20 22:21:58 +03:00
parent ee3fa9aa49
commit 5a58582877
6 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -2,8 +2,8 @@
A powerful client-side AI image generation tool using OpenRouter API. Generate thumbnails, artwork, and creative images with multiple state-of-the-art models.
![Imagen UI](UI.webp)
![Imagen UI-1](UI-1.webp)
![Imagen UI](assets/UI.webp)
![Imagen UI-1](assets/UI-1.webp)
## ✨ Features
@@ -91,10 +91,10 @@ This is a **100% client-side application**:
```
imagen/
├── index.html # Main UI structure
├── styles.css # Premium dark theme styling
├── app.js # Core logic + API integration
└── README.md # This file
├── src/ # Source code (JS/CSS)
├── assets/ # Images and design assets
├── index.html # Main entry point
└── README.md # Documentation
```
## 📜 License
View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

+2 -2
View File
@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Imagen</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="src/styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
@@ -161,7 +161,7 @@
</div>
</div>
<script src="app.js"></script>
<script src="src/app.js"></script>
</body>
</html>
View File
View File