Merge pull request #562 from Websoft9/dev

Update index.html
This commit is contained in:
qiaofeng1227 2024-12-13 08:27:50 +08:00 committed by GitHub
commit 4b764a9efe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,14 +10,15 @@
<link rel="icon" href="favicon.ico" /> <link rel="icon" href="favicon.ico" />
<!-- Title Page--> <!-- Title Page-->
<title>Websoft9 Applications Hosting Platform</title> <title>Websoft9 Applications Hosting Platform</title>
<script> <script>
function redirectToPort() { document.addEventListener('DOMContentLoaded', function() {
const currentUrl = window.location.href; const domain = window.location.hostname;
const url = new URL(currentUrl); const linkElement = document.getElementById('myLink');
const newUrl = `${url.protocol}//${url.hostname}:9000`; linkElement.href = `http://${domain}:9000`;
window.location.href = newUrl; });
}
</script> </script>
<!-- english tags--> <!-- english tags-->
<meta name="description" content="Websoft9 is a Self-Hosting Applications platform that can deploy multiple applications in your own cloud infrastructure."> <meta name="description" content="Websoft9 is a Self-Hosting Applications platform that can deploy multiple applications in your own cloud infrastructure.">
<meta name="keywords" content="Cloud computing, runtime environment, Docker, auto-deployment, Self-Hosting, install WordPress, Panel, PaaS, Iac, GitOps"> <meta name="keywords" content="Cloud computing, runtime environment, Docker, auto-deployment, Self-Hosting, install WordPress, Panel, PaaS, Iac, GitOps">
@ -28,7 +29,8 @@
<link rel="stylesheet" href="assets/bootstrap.min.css"> <link rel="stylesheet" href="assets/bootstrap.min.css">
<style> <style>
.logo { .logo {
width: 50px; /* 设置 logo 的宽度 */ width: 100px;
margin-left: 20px;
} }
.header { .header {
@ -97,8 +99,8 @@
<div class="container" style="display: flex;"> <div class="container" style="display: flex;">
<div class="sub-block" style="flex: 1; padding: 20px;"> <div class="sub-block" style="flex: 1; padding: 20px;">
<h1 class="welcome-title">Welcome to Websoft9 Applications Hosting Platform</h1> <h1 class="welcome-title">Welcome to Websoft9 Applications Hosting Platform</h1>
<h>Web-based GitOps platform/Linux Panel for running 200+ hot open source application on your own server. It based on Docker Compose, not need to study any more</p> <p>GitOps-driven, multi-application hosting for cloud servers and home servers, one-click deployment of 200+ open source apps.</p>
<a href="#" class="btn btn-custom" onclick="redirectToPort(); return false;">Access Websoft9 Console</a> <a id="myLink" class="btn btn-custom" >Access Websoft9 Console</a>
</div> </div>
<div class="image-block" style="flex: 1; padding: 20px;"> <div class="image-block" style="flex: 1; padding: 20px;">
<img src="assets/websoft9-appstore.png" alt="Description of image" style="width: 100%; height: auto;"> <img src="assets/websoft9-appstore.png" alt="Description of image" style="width: 100%; height: auto;">
@ -108,4 +110,4 @@
</div> </div>
</body> </body>
</html> </html>