Browse Source

提交自定义起始页

CaptB 4 months ago
parent
commit
d8b9808e1d
2 changed files with 0 additions and 81 deletions
  1. 0 7
      EdgeVoyager.csproj
  2. 0 74
      html/index.html

+ 0 - 7
EdgeVoyager.csproj

@@ -9,16 +9,9 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <None Remove="html\index.html" />
     <None Remove="index.html" />
   </ItemGroup>
 
-  <ItemGroup>
-    <Content Include="html\index.html">
-      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
-    </Content>
-  </ItemGroup>
-
   <ItemGroup>
     <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
   </ItemGroup>

+ 0 - 74
html/index.html

@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>自定义起始页</title>
-    <style>
-        body {
-            margin: 0;
-            padding: 0;
-            background-image: url('https://bing.img.run/uhd.php');
-            background-size: cover;
-            background-repeat: no-repeat;
-            background-attachment: fixed;
-            font-family: Arial, sans-serif;
-        }
-        .header {
-            background-color: rgba(255, 255, 255, 0.8);
-            padding: 10px 20px;
-            display: flex;
-            justify-content: space-between;
-            align-items: center;
-            position: relative;
-        }
-        .logo {
-            width: auto;
-            height: auto;
-        }
-        .nav-item {
-            margin-left: 20px;
-            color: #333;
-            text-decoration: none;
-            font-size: 16px;
-        }
-        .search-container {
-            display: flex;
-            justify-content: center;
-            align-items: center;
-            margin-top: 50px;
-        }
-        .search-input {
-            width: 60%;
-            padding: 10px;
-            font-size: 16px;
-        }
-        .search-button {
-            padding: 10px 20px;
-            font-size: 16px;
-            cursor: pointer;
-        }
-    </style>
-</head>
-<body>
-    <div class="header">
-        <img src="https://www.lykns.com.cn/wp-content/uploads/2025/01/pinwheel_48px.png" alt="Logo" class="logo">
-        <div>
-            <a href="https://www.lykns.com.cn" class="nav-item">LYKNS 主站</a>
-            <a href="https://its.lykns.com.cn" class="nav-item">云服务</a>
-            <a href="https://dev.lykns.com.cn" class="nav-item">Git 服务</a>
-            <a href="https://survey.lykns.com.cn" class="nav-item">问卷考试系统</a>
-        </div>
-    </div>
-    <div class="search-container">
-        <input type="text" id="search-input" class="search-input" placeholder="搜索...">
-        <button onclick="search()" class="search-button">搜索</button>
-    </div>
-    <script>
-        function search() {
-            var query = document.getElementById('search-input').value;
-            window.location.href = 'https://cn.bing.com/search?q=' + encodeURIComponent(query);
-        }
-    </script>
-</body>
-</html>