Changed index to handle idle background

This commit is contained in:
2026-01-12 12:53:00 +01:00
parent 94cd652ac3
commit 2a50ba2e80
2 changed files with 8 additions and 10 deletions

BIN
resources/img/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 KiB

View File

@@ -4,18 +4,16 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>NeutralinoJs sample app</title> <title>NeutralinoJs sample app</title>
<link rel="stylesheet" href="/styles.css"> <link rel="stylesheet" href="/styles.css">
<style>
body{
background-image: url('./img/bg.png');
background-size: cover;
background-position: center;
}
</style>
</head> </head>
<body> <body>
<div id="neutralinoapp">
<h1>NeutralinoJs</h1>
<div id="info"></div>
<br/>
<img src="/icons/logo.gif" alt="Neutralinojs" />
<div>
<a href="#" onclick="openDocs();">Docs</a> &middot;
<a href="#" onclick="openTutorial();">Video tutorial</a>
</div>
</div>
<!-- Neutralino.js client. This file is gitignored, <!-- Neutralino.js client. This file is gitignored,
because `neu update` typically downloads it. because `neu update` typically downloads it.
Avoid copy-pasting it. Avoid copy-pasting it.