-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (141 loc) · 3.31 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Makepad WASM Applications</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #4facfe, #00f2fe);
/* background: linear-gradient(to right, #888, #5555); */
color: #333;
}
.center {
padding: 0.5rem 0;
text-align: center;
}
header {
background-color: #515151;
color: white;
padding: 1rem 0;
text-align: center;
}
header h1 {
margin: 0;
}
nav {
background-color: #444;
padding: 0.5rem 0;
text-align: center;
}
nav a {
color: white;
background-color: #007acc;
margin: 0 1rem;
padding: 0.5rem 1rem;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
background-color: #005fa3;
color: #e0e0e0;
}
.container {
padding: 2rem;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.grid .button {
background-color: #e0a839;
color: white;
border: none;
padding: 1.5rem;
border-radius: 20px;
font-size: 2rem;
/* cursor: pointer; */
transition: background-color 0.3s;
text-align: center;
}
.grid .button:hover {
background-color: #e66909;
}
a {
text-decoration: none;
/* This removes the underline */
}
footer {
background-color: #515151;
color: white;
text-align: center;
padding: 1rem 0;
position: fixed;
width: 100%;
bottom: 0;
}
footer img {
width: 50px;
/* Adjust as needed */
height: auto;
vertical-align: middle;
}
footer a {
color: white;
text-decoration: none;
margin-left: 0.5rem;
}
/* Responsive Styles */
@media (max-width: 768px) {
.grid {
grid-template-columns: 1fr;
}
nav a {
display: block;
margin: 0.5rem 0;
}
}
@media (max-width: 480px) {
.container {
padding: 1rem;
}
.grid .button {
padding: 1rem;
font-size: 1rem;
}
footer img {
width: 40px;
/* Adjust for smaller screens */
}
}
</style>
</head>
<body>
<header>
<h1>Makepad WASM Applications</h1>
</header>
<div class="container">
<div class="center">
<h3>For best experience, view on mobile or narrow screen</h3>
</div>
<div class="grid">
<button class="button"><a href="/makepad_comp_demo">Comp Demo</a></button>
<button class="button"><a href="/makepad_image_manipulation">Image Manipulation</a></button>
<button class="button"><a href="/makepad_wechat">Makepad WeChat</a></button>
<button class="button"><a href="/makepad_taobao">Makepad TaoBao</a></button>
<button class="button"><a href="/makepad_wonderous">Makepad Wonderous</a></button>
</div>
</div>
<footer>
<img src="robius-logo.png" alt="Logo">
<a href="https://github.com/project-robius">Project Robius</a>
<!-- 073024 -->
</footer>
</body>
</html>