Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

Site: Prompt guide in the nav bar on every page

Gabriele Lozupone4fb20a8a371d
diff --git a/site/404.html b/site/404.html
index 04f4eae..60dd1a5 100644
--- a/site/404.html
+++ b/site/404.html
@@ -9,7 +9,7 @@
<link rel="icon" href="/assets/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/assets/apple-touch-icon.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="/assets/style.css?v=4">
+<link rel="stylesheet" href="/assets/style.css?v=5">
</head>
<body>
<main class="final" style="min-height:100vh;display:grid;place-items:center;padding:40px 0">
diff --git a/site/assets/style.css b/site/assets/style.css
index 5c9c374..dbc8c16 100644
--- a/site/assets/style.css
+++ b/site/assets/style.css
@@ -36,6 +36,9 @@ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-i
.logo svg { width: 22px; height: 22px; }
.nav-links { display: none; gap: 26px; font-size: 14.5px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
+.nav-links a { white-space: nowrap; }
+.nav-links a[aria-current="page"] { color: var(--text); }
+@media (min-width: 900px) and (max-width: 1140px) { .nav-links { gap: 16px; font-size: 14px; } .nav-links a[href$="#requirements"] { display: none; } }
.nav .spacer { flex: 1; }
.gh { display: none; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.gh:hover { color: var(--text); }
diff --git a/site/index.html b/site/index.html
index b618372..3208880 100644
--- a/site/index.html
+++ b/site/index.html
@@ -92,7 +92,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="assets/style.css?v=4">
+<link rel="stylesheet" href="assets/style.css?v=5">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -219,7 +219,8 @@
<a href="#examples">Examples</a>
<a href="#features">Features</a>
<a href="#agents">AI agents</a>
- <a href="qwen-image-2-1-local/">Guide</a>
+ <a href="qwen-image-2-1-local/">Setup guide</a>
+ <a href="prompt-guide/">Prompt guide</a>
<a href="#requirements">Requirements</a>
<a href="#faq">FAQ</a>
</nav>
diff --git a/site/mcp-image-generation/index.html b/site/mcp-image-generation/index.html
index c36c146..aa6baa0 100644
--- a/site/mcp-image-generation/index.html
+++ b/site/mcp-image-generation/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=4">
+<link rel="stylesheet" href="../assets/style.css?v=5">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -70,7 +70,8 @@
<nav class="nav-links" aria-label="Sections">
<a href="../#examples">Examples</a>
<a href="../#features">Features</a>
- <a href="../qwen-image-2-1-local/">Guide</a>
+ <a href="../qwen-image-2-1-local/">Setup guide</a>
+ <a href="../prompt-guide/">Prompt guide</a>
<a href="../#faq">FAQ</a>
</nav>
<span class="spacer"></span>
diff --git a/site/prompt-guide/index.html b/site/prompt-guide/index.html
index 3f3e36c..330e4b5 100644
--- a/site/prompt-guide/index.html
+++ b/site/prompt-guide/index.html
@@ -26,7 +26,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=4">
+<link rel="stylesheet" href="../assets/style.css?v=5">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -107,6 +107,8 @@
<a href="../#examples">Examples</a>
<a href="../#features">Features</a>
<a href="../mcp-image-generation/">AI agents</a>
+ <a href="../qwen-image-2-1-local/">Setup guide</a>
+ <a href="../prompt-guide/" aria-current="page">Prompt guide</a>
<a href="../#faq">FAQ</a>
</nav>
<span class="spacer"></span>
diff --git a/site/qwen-image-2-1-local/index.html b/site/qwen-image-2-1-local/index.html
index 775a58e..355f74c 100644
--- a/site/qwen-image-2-1-local/index.html
+++ b/site/qwen-image-2-1-local/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=4">
+<link rel="stylesheet" href="../assets/style.css?v=5">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -72,6 +72,7 @@
<a href="../#examples">Examples</a>
<a href="../#features">Features</a>
<a href="../mcp-image-generation/">AI agents</a>
+ <a href="../prompt-guide/">Prompt guide</a>
<a href="../#faq">FAQ</a>
</nav>
<span class="spacer"></span>