Skip to content

Commit 0fd1db4

Browse files
committed
fix bug
1 parent 701790a commit 0fd1db4

3 files changed

Lines changed: 32 additions & 14 deletions

File tree

contents/js/app.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ const app = {
126126
defaultMessage: `
127127
<pre class="font-mono leading-none text-xs text-purple-400">
128128
╔═══════════════════════════════════════╗
129-
║ █████╗ ██╗ ██╗ ██╗
130-
║ ██╔══██╗██║ ██║ ██╔╝
131-
║ ██║ ╚═╝██║ █████╔╝
132-
║ ██║ ██╗██║ ██╔═██╗
133-
║ ╚█████╔╝███████╗██║ ██╗
134-
║ ╚════╝ ╚══════╝╚═╝ ╚═╝
135-
CONSOLE
129+
█████╗ ██╗ ██╗ ██╗ ║
130+
██╔══██╗██║ ██║ ██╔╝ ║
131+
██║ ╚═╝██║ █████╔╝ ║
132+
██║ ██╗██║ ██╔═██╗ ║
133+
╚█████╔╝███████╗██║ ██╗ ║
134+
╚════╝ ╚══════╝╚═╝ ╚═╝ ║
135+
║ CONSOLE LINUX KLAYNIGHT
136136
╚═══════════════════════════════════════╝
137137
</pre>
138138
<span class="text-orange-400">⚡ CLK Terminal Ready</span>
@@ -2481,7 +2481,7 @@ ${bottomBorder}
24812481
},
24822482
loadVersionInfo: function() {
24832483
// Charger les informations de version depuis version.json
2484-
fetch('./contents/js/version.json')
2484+
fetch('/version.json')
24852485
.then(response => response.json())
24862486
.then(data => {
24872487
// Mettre à jour les éléments du modal

index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h2 class="text-xl font-bold mb-2 flex items-center">
126126
</h2>
127127
<div id="about-modal-content" class="mb-4">
128128
<div class="bg-gray-900 p-3 rounded mb-3">
129-
<div class="font-bold text-lg text-blue-300 mb-1">WebConsole - Console Linux Web</div>
129+
<div class="font-bold text-lg text-blue-300 mb-1">CLK - Console Linux Web</div>
130130
<div class="text-sm text-gray-300 space-y-1">
131131
<div>Version: <span id="app-version" class="text-green-400 font-mono">1.3.0</span></div>
132132
<div>Build: <span id="build-date" class="text-yellow-400 font-mono">2025-06-04</span></div>
@@ -136,9 +136,15 @@ <h2 class="text-xl font-bold mb-2 flex items-center">
136136
</div>
137137
<div class="text-center">
138138
<a href="https://github.com/Klaynight-dev/web_linux_console"
139-
class="inline-flex items-center text-blue-400 hover:text-blue-300 underline transition-colors"
140-
target="_blank">
141-
<span class="mr-1">🔗</span>Voir sur GitHub
139+
class="group inline-flex items-center px-4 py-2 bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-500 hover:to-purple-500 text-white font-medium rounded-lg shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-200 ease-out"
140+
target="_blank">
141+
<svg class="w-5 h-5 mr-2 group-hover:rotate-12 transition-transform duration-200" fill="currentColor" viewBox="0 0 20 20">
142+
<path fill-rule="evenodd" d="M10 0C4.477 0 0 4.484 0 10.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0110 4.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.203 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.942.359.31.678.921.678 1.856 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0020 10.017C20 4.484 15.522 0 10 0z" clip-rule="evenodd"/>
143+
</svg>
144+
<span>Voir sur GitHub</span>
145+
<svg class="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
146+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
147+
</svg>
142148
</a>
143149
</div>
144150
</div>

version.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{
2-
"version": "1.2.4",
2+
"version": "1.2.6",
33
"buildDate": "2025-06-04",
4-
"changelog": "ajout de man",
4+
"changelog": "fix version load about",
55
"history": [
6+
{
7+
"version": "1.2.6",
8+
"date": "2025-06-04",
9+
"changelog": "fix version load about",
10+
"type": "patch"
11+
},
12+
{
13+
"version": "1.2.5",
14+
"date": "2025-06-04",
15+
"changelog": "fix console name",
16+
"type": "patch"
17+
},
618
{
719
"version": "1.2.4",
820
"date": "2025-06-04",

0 commit comments

Comments
 (0)