This commit is contained in:
2025-10-04 23:55:16 +02:00
commit 7d1ff6dc4d
2 changed files with 75 additions and 0 deletions

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
services:
web:
image: nginx:latest
container_name: simple-web
ports:
- "8080:80"
volumes:
- ./index.html:/usr/share/nginx/html/index.html:ro

67
index.html Normal file
View File

@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="hu">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Box</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f7f8fa;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
background: white;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
padding: 32px;
max-width: 500px;
text-align: left;
}
.card h2 {
margin-top: 0;
color: #1f2937;
}
.card p {
color: #374151;
line-height: 1.6;
}
.btn {
display: block;
background-color: #7e22ce;
color: white;
text-align: center;
font-weight: bold;
padding: 16px;
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 24px;
font-size: 16px;
transition: background 0.3s ease;
}
.btn:hover {
background-color: #6b21a8;
}
</style>
</head>
<body>
<div class="card">
<h2>Test Box</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<button class="btn">Hellyeah!</button>
</div>
</body>
</html>