Initial commit: Web2App static site to Tauri platform
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BIN
examples/sample-site.zip
Normal file
BIN
examples/sample-site.zip
Normal file
Binary file not shown.
31
examples/sample-site/index.html
Normal file
31
examples/sample-site/index.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Sample Site</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: system-ui, sans-serif;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
background: linear-gradient(135deg, #dbeafe, #fef3c7);
|
||||
}
|
||||
main {
|
||||
text-align: center;
|
||||
padding: 32px;
|
||||
border-radius: 20px;
|
||||
background: white;
|
||||
box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Hello Web2App</h1>
|
||||
<p>这是一个用于测试打包流程的示例静态页面。</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user