-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 1.26 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rust HTTP Server</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: Arial, sans-serif;
margin: 2rem;
background: #f8f9fa;
color: #222;
}
header {
margin-bottom: 2rem;
}
h1 {
color: #4F46E5;
}
main {
background: #fff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
code {
background: #f3f3f3;
padding: 2px 6px;
border-radius: 4px;
}
</style>
</head>
<body>
<header>
<h1>Welcome to Your Rust HTTP Server</h1>
</header>
<main>
<p>This is the default <code>index.html</code> page served by your Rust HTTP server.</p>
<ul>
<li>Edit this file to customize your homepage.</li>
<li>Learn more about building web servers with Rust at <a href="https://actix.rs/" target="_blank">Actix</a> or <a href="https://rocket.rs/" target="_blank">Rocket</a>.</li>
</ul>
<p>Happy coding!</p>
</main>
</body>
</html>