forked from forgojs/forgo-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
166 lines (151 loc) · 4.1 KB
/
index.html
File metadata and controls
166 lines (151 loc) · 4.1 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
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
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WebJsx Examples</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600&display=swap"
rel="stylesheet"
/>
<!-- Font Awesome for Icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-pVnHc6F7xB1ybFRuXgzB68zGKGXG8rQ5u6WheFqA8pIu2Y4cO9A9ZVYh8D1+bE0iB2HfVpGxl1huj3Qx9bYw1g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<style>
/* Reset some default styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Roboto", sans-serif;
background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
color: #333;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
max-width: 500px;
width: 100%;
background-color: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.container:hover {
transform: translateY(-5px);
}
h1 {
text-align: center;
font-family: "Montserrat", sans-serif;
font-size: 2.5rem;
margin-bottom: 20px;
color: #333;
}
p {
text-align: center;
font-size: 1.1rem;
margin-bottom: 40px;
color: #555;
}
.examples-grid {
display: flex;
flex-direction: column;
}
.card {
background-color: #fafafa;
border: 1px solid #e0e0e0;
border-radius: 10px;
padding: 20px;
text-align: center;
transition: box-shadow 0.3s ease, transform 0.3s ease;
margin: 10px;
}
.card:hover {
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.card h2 {
font-family: "Montserrat", sans-serif;
font-size: 1.5rem;
margin-bottom: 15px;
color: #444;
}
.card a {
display: inline-block;
margin-top: 10px;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border-radius: 25px;
text-decoration: none;
font-weight: 500;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.card a i {
margin-right: 8px;
}
.card a:hover {
background-color: #0056b3;
transform: scale(1.05);
}
/* Responsive adjustments */
@media (max-width: 600px) {
.container {
padding: 20px;
}
h1 {
font-size: 2rem;
}
.card h2 {
font-size: 1.3rem;
}
}
</style>
</head>
<body>
<div class="container">
<h1>WebJsx Examples</h1>
<p>Explore the following WebJsx examples:</p>
<div class="examples-grid">
<div class="card">
<h2>WebJSX Todos</h2>
<a href="./html/todos.html"
><i class="fas fa-tasks"></i>View Todos</a
>
</div>
<div class="card">
<h2>Example Dashboard</h2>
<a href="./html/dashboard.html"
><i class="fas fa-tachometer-alt"></i> View Dashboard</a
>
</div>
<div class="card">
<h2>Rotten Tomatoes</h2>
<a href="./html/tomatoes.html"
><i class="fas fa-film"></i> View Rotten Tomatoes</a
>
</div>
<div class="card">
<h2>Bloom Router</h2>
<a href="./html/bloom.html"
><i class="fas fa-film"></i>View Bloom Router</a
>
</div>
</div>
</div>
</body>
</html>