-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
96 lines (86 loc) · 2.63 KB
/
index.html
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebASM Examples</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
color: rgb(200, 200, 200)
}
h1 {
margin-bottom: 20px; /* Add space below the header */
}
.links-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.link-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
max-width: 200px;
text-align: center;
text-decoration: none;
color: inherit;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.link-card img {
width: 100%;
height: auto;
border-radius: 4px;
}
.link-card h2 {
font-size: 1.2em;
margin: 10px 0;
}
</style>
<style>
.header img {
float: left;
width: 100px;
height: 100px;
background: #555;
}
.header h1 {
position: relative;
top: 18px;
left: 10px;
}
</style>
</head>
<body style="background-color:rgb(15, 25, 45);">
<div class="header">
<img src="RSoft_logo.png" alt="RSoft logo">
</div>
<h1>WebASM Examples</h1>
<br> <!-- Add a line break here -->
<br> <!-- Add a line break here -->
<div class="links-container">
<a href="./examples/shapes.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/shapes.gif" alt="Shapes Example">
<h2>Shapes</h2>
</a>
<a href="./examples/textures.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/textures.gif" alt="Textures Example">
<h2>Textures</h2>
</a>
<a href="./examples/raycaster.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/raycaster.gif" alt="Raycaster Example">
<h2>Raycaster</h2>
</a>
<a href="./examples/doom-like.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/doom-like.gif" alt="Doom-like Example">
<h2>Doom-like</h2>
</a>
</div>
</body>
</html>