-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
182 lines (181 loc) · 6.26 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebCraftorApps</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #1e1e1e;
color: #c7c7c7;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
height: 100vh;
margin: 0;
overflow-y: auto;
animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
h1 {
margin: 20px 0;
font-size: 2.5em;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
width: 100%;
max-width: 1200px;
}
.card {
background-color: #2e2e2e;
border-radius: 10px;
overflow: hidden;
width: 300px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
position: relative;
overflow: hidden;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.5s;
}
.card:hover img {
transform: scale(1.1);
}
.card-content {
padding: 15px;
text-align: center;
}
.card-content a {
color: #61dafb;
text-decoration: none;
font-size: 18px;
transition: color 0.3s;
}
.card-content a:hover {
color: #4ca3d9;
text-decoration: underline;
}
@media (max-width: 768px) {
.card {
width: 90%;
max-width: 300px;
}
h1 {
font-size: 2em;
}
}
.refresh-button {
margin: 20px;
padding: 10px 20px;
background-color: #61dafb;
color: #1e1e1e;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.refresh-button:hover {
background-color: #4ca3d9;
}
</style>
</head>
<body>
<h1>WebCraftorApps</h1>
<div class="card-container">
<div class="card" onclick="window.location.href='chess_game/index.html'">
<img src="chess_game/icon.png" alt="Chess Game">
<div class="card-content">
<a href="chess_game/index.html">Chess Game</a>
</div>
</div>
<div class="card" onclick="window.location.href='todo_app/index.html'">
<img src="todo_app/icon.png" alt="Todo App">
<div class="card-content">
<a href="todo_app/index.html">Todo App projects</a>
</div>
</div>
<div class="card" onclick="window.location.href='simple_todo_app/index.html'">
<img src="simple_todo_app/icon.png" alt="Todo App">
<div class="card-content">
<a href="simple_todo_app/index.html">Todo App</a>
</div>
</div>
<div class="card" onclick="window.location.href='weight_tracking_app/index.html'">
<img src="weight_tracking_app/icon.png" alt="Weight Tracking App">
<div class="card-content">
<a href="weight_tracking_app/index.html">Weight Tracking App</a>
</div>
</div>
<div class="card" onclick="window.location.href='snake_game/index.html'">
<img src="snake_game/icon.png" alt="Snake game">
<div class="card-content">
<a href="snake_game/index.html">Snake game</a>
</div>
</div>
<div class="card" onclick="downloadFile('tensorflow_js_segmentation/index.html')">
<img src="tensorflow_js_segmentation/icon.png" alt="Tensorflow Video segmentation app">
<div class="card-content">
<a href="javascript:void(0);">Tensorflow Video segmentation app (only runs locally)</a>
</div>
</div>
<div class="card" onclick="window.location.href='level_app/index.html'">
<img src="level_app/icon.png" alt="Level App">
<div class="card-content">
<a href="level_app/index.html">Level app (mobile only)</a>
</div>
</div>
<div class="card" onclick="window.location.href='lollms_chat/index.html'">
<img src="lollms_chat/icon.png" alt="Level App">
<div class="card-content">
<a href="lollms_chat/index.html">LoLLMS ui</a>
</div>
</div>
<div class="card" onclick="window.location.href='PillPal/index.html'">
<img src="PillPal/icon.png" alt="PillPal">
<div class="card-content">
<a href="PillPal/index.html">PillPal</a>
</div>
</div>
<div class="card" onclick="window.location.href='Weight_Watcher_App/index.html'">
<img src="Weight_Watcher_App/icon.png" alt="Weight_Watcher_App">
<div class="card-content">
<a href="Weight_Watcher_App/index.html">Weight_Watcher_App</a>
</div>
</div>
</div>
<button class="refresh-button" onclick="forceRefresh()">Refresh Page</button>
<script>
function downloadFile(filePath) {
const link = document.createElement('a');
link.href = filePath;
link.download = filePath.split('/').pop();
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
function forceRefresh() {
window.location.reload(true);
}
</script>
</body>
</html>