mirror of
https://github.com/yusufipk/imagen-openrouter.git
synced 2026-09-11 10:36:07 +00:00
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:
@@ -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.
|
A powerful client-side AI image generation tool using OpenRouter API. Generate thumbnails, artwork, and creative images with multiple state-of-the-art models.
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## ✨ Features
|
## ✨ Features
|
||||||
|
|
||||||
@@ -91,10 +91,10 @@ This is a **100% client-side application**:
|
|||||||
|
|
||||||
```
|
```
|
||||||
imagen/
|
imagen/
|
||||||
├── index.html # Main UI structure
|
├── src/ # Source code (JS/CSS)
|
||||||
├── styles.css # Premium dark theme styling
|
├── assets/ # Images and design assets
|
||||||
├── app.js # Core logic + API integration
|
├── index.html # Main entry point
|
||||||
└── README.md # This file
|
└── README.md # Documentation
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📜 License
|
## 📜 License
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
+2
-2
@@ -5,7 +5,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Imagen</title>
|
<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">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="app.js"></script>
|
<script src="src/app.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user