Ryujindaegon1223 commited on
Commit
ba4d848
·
verified ·
1 Parent(s): 0da2dbc

Instructions: . You will create a digital poster which aims to educate high school students how to be a responsible user and producer of media and information. Each group will select from the following subject: Internet addiction 3. The digital poster must focus on the issue and not attack mentioned personalities. Use of foul words and inappropriate pictures are not allowed. Citation for a borrowed material is required. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +242 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Internet Addiction
3
- emoji: 👀
4
- colorFrom: purple
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: internet-addiction
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,242 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Responsible Digital Citizenship: Internet Addiction</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f0f4f8;
15
+ }
16
+
17
+ .poster-container {
18
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
19
+ transition: all 0.3s ease;
20
+ }
21
+
22
+ .poster-container:hover {
23
+ transform: translateY(-5px);
24
+ box-shadow: 0 15px 40px rgba(0,0,0,0.15);
25
+ }
26
+
27
+ .stats-card {
28
+ background: rgba(255,255,255,0.8);
29
+ backdrop-filter: blur(10px);
30
+ }
31
+
32
+ .counter {
33
+ transition: all 0.5s ease;
34
+ }
35
+ </style>
36
+ </head>
37
+ <body class="min-h-screen flex items-center justify-center p-4">
38
+ <div class="poster-container w-full max-w-6xl bg-gradient-to-br from-blue-50 to-indigo-100 rounded-3xl overflow-hidden">
39
+ <!-- Header Section -->
40
+ <div class="relative">
41
+ <div class="bg-gradient-to-r from-blue-600 to-indigo-700 p-6 md:p-8 text-white">
42
+ <h1 class="text-3xl md:text-5xl font-bold text-center mb-2">Digital Wellbeing Matters</h1>
43
+ <h2 class="text-xl md:text-3xl font-semibold text-center text-blue-100">Understanding Internet Addiction</h2>
44
+ <div class="absolute top-4 right-4 flex space-x-2">
45
+ <div class="w-8 h-8 bg-blue-400 rounded-full"></div>
46
+ <div class="w-8 h-8 bg-indigo-400 rounded-full"></div>
47
+ <div class="w-8 h-8 bg-blue-300 rounded-full"></div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+ <!-- Main Content -->
53
+ <div class="grid md:grid-cols-2 gap-6 p-6 md:p-10">
54
+ <!-- Left Column -->
55
+ <div class="space-y-6">
56
+ <div class="stats-card rounded-xl p-6 shadow-lg border border-blue-100">
57
+ <h3 class="text-lg font-bold text-blue-800 mb-4 flex items-center">
58
+ <i class="fas fa-chart-line mr-2"></i> Disturbing Statistics
59
+ </h3>
60
+ <div class="grid grid-cols-2 gap-4">
61
+ <div class="text-center p-3 bg-blue-50 rounded-lg">
62
+ <div class="text-indigo-600 font-bold text-3xl counter" data-target="21">0</div>
63
+ <div class="text-sm text-gray-600">% of youth are addicted to the internet</div>
64
+ </div>
65
+ <div class="text-center p-3 bg-blue-50 rounded-lg">
66
+ <div class="text-indigo-600 font-bold text-3xl counter" data-target="63">0</div>
67
+ <div class="text-sm text-gray-600">% check devices hourly</div>
68
+ </div>
69
+ <div class="text-center p-3 bg-blue-50 rounded-lg">
70
+ <div class="text-indigo-600 font-bold text-3xl counter" data-target="50">0</div>
71
+ <div class="text-sm text-gray-600">% feel anxious without phone</div>
72
+ </div>
73
+ <div class="text-center p-3 bg-blue-50 rounded-lg">
74
+ <div class="text-indigo-600 font-bold text-3xl counter" data-target="45">0</div>
75
+ <div class="text-sm text-gray-600">% sacrifice sleep for internet</div>
76
+ </div>
77
+ </div>
78
+ <p class="text-xs text-gray-500 mt-3">Source: Global Web Index Report, 2023</p>
79
+ </div>
80
+
81
+ <div class="bg-white rounded-xl p-6 shadow-lg border border-blue-100">
82
+ <h3 class="text-lg font-bold text-blue-800 mb-3 flex items-center">
83
+ <i class="fas fa-exclamation-triangle mr-2"></i> Warning Signs
84
+ </h3>
85
+ <ul class="space-y-3">
86
+ <li class="flex items-start">
87
+ <div class="flex-shrink-0 text-indigo-500 mt-1 mr-2">
88
+ <i class="fas fa-check-circle"></i>
89
+ </div>
90
+ <div>Losing track of time online</div>
91
+ </li>
92
+ <li class="flex items-start">
93
+ <div class="flex-shrink-0 text-indigo-500 mt-1 mr-2">
94
+ <i class="fas fa-check-circle"></i>
95
+ </div>
96
+ <div>Neglecting responsibilities</div>
97
+ </li>
98
+ <li class="flex items-start">
99
+ <div class="flex-shrink-0 text-indigo-500 mt-1 mr-2">
100
+ <i class="fas fa-check-circle"></i>
101
+ </div>
102
+ <div>Withdrawal symptoms when offline</div>
103
+ </li>
104
+ <li class="flex items-start">
105
+ <div class="flex-shrink-0 text-indigo-500 mt-1 mr-2">
106
+ <i class="fas fa-check-circle"></i>
107
+ </div>
108
+ <div>Lying about internet use</div>
109
+ </li>
110
+ <li class="flex items-start">
111
+ <div class="flex-shrink-0 text-indigo-500 mt-1 mr-2">
112
+ <i class="fas fa-check-circle"></i>
113
+ </div>
114
+ <div>Escaping problems through internet</div>
115
+ </li>
116
+ </ul>
117
+ </div>
118
+ </div>
119
+
120
+ <!-- Right Column -->
121
+ <div class="space-y-6">
122
+ <div class="bg-white rounded-xl p-6 shadow-lg border border-blue-100">
123
+ <h3 class="text-lg font-bold text-blue-800 mb-4 flex items-center">
124
+ <i class="fas fa-shield-alt mr-2"></i> Prevention Strategies
125
+ </h3>
126
+ <div class="space-y-4">
127
+ <div class="flex items-start">
128
+ <div class="flex-shrink-0 bg-blue-100 text-blue-800 rounded-full p-2 mr-3">
129
+ <i class="fas fa-clock text-sm"></i>
130
+ </div>
131
+ <div>
132
+ <h4 class="font-semibold text-blue-700">Set Time Limits</h4>
133
+ <p class="text-sm text-gray-600">Use apps to track and restrict usage. Aim for no more than 2 hours of recreational screen time daily.</p>
134
+ </div>
135
+ </div>
136
+ <div class="flex items-start">
137
+ <div class="flex-shrink-0 bg-indigo-100 text-indigo-800 rounded-full p-2 mr-3">
138
+ <i class="fas fa-heartbeat text-sm"></i>
139
+ </div>
140
+ <div>
141
+ <h4 class="font-semibold text-blue-700">Digital Detox</h4>
142
+ <p class="text-sm text-gray-600">Schedule regular tech-free periods (mealtimes, before bed, weekends).</p>
143
+ </div>
144
+ </div>
145
+ <div class="flex items-start">
146
+ <div class="flex-shrink-0 bg-blue-100 text-blue-800 rounded-full p-2 mr-3">
147
+ <i class="fas fa-running text-sm"></i>
148
+ </div>
149
+ <div>
150
+ <h4 class="font-semibold text-blue-700">Alternative Activities</h4>
151
+ <p class="text-sm text-gray-600">Engage in sports, arts, reading, or other offline hobbies.</p>
152
+ </div>
153
+ </div>
154
+ <div class="flex items-start">
155
+ <div class="flex-shrink-0 bg-indigo-100 text-indigo-800 rounded-full p-2 mr-3">
156
+ <i class="fas fa-user-friends text-sm"></i>
157
+ </div>
158
+ <div>
159
+ <h4 class="font-semibold text-blue-700">Real Connections</h4>
160
+ <p class="text-sm text-gray-600">Prioritize face-to-face interactions with family and friends.</p>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <div class="bg-gradient-to-r from-blue-500 to-indigo-600 rounded-xl p-6 text-white shadow-lg">
167
+ <h3 class="text-lg font-bold mb-3">Healthy Digital Habits</h3>
168
+ <div class="flex flex-wrap gap-2">
169
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">Turn Off Notifications</span>
170
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">No Devices at Dinner</span>
171
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">Device-Free Bedroom</span>
172
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">Prioritize Sleep</span>
173
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">Mindful Browsing</span>
174
+ <span class="bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm">Set Boundaries</span>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+
180
+ <!-- Footer & Resources -->
181
+ <div class="bg-blue-800 text-white px-6 py-4">
182
+ <div class="flex flex-col md:flex-row justify-between items-center">
183
+ <div>
184
+ <h4 class="font-bold mb-2">Need Help?</h4>
185
+ <p class="text-blue-200 text-sm">Contact school counselor or visit <a href="#" class="underline">digitalwellness.org</a></p>
186
+ </div>
187
+ <div class="mt-3 md:mt-0">
188
+ <h4 class="font-bold mb-2">Created By: Student Digital Awareness Group</h4>
189
+ <p class="text-blue-200 text-sm">For educational purposes only. Images from Unsplash.</p>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <script>
196
+ // Animated counter for statistics
197
+ document.addEventListener('DOMContentLoaded', function() {
198
+ const counters = document.querySelectorAll('.counter');
199
+ const speed = 200;
200
+
201
+ counters.forEach(counter => {
202
+ const target = +counter.getAttribute('data-target');
203
+ const count = +counter.innerText;
204
+ const increment = target / speed;
205
+
206
+ if(count < target) {
207
+ counter.innerText = Math.ceil(count + increment);
208
+ setTimeout(updateCounter, 1);
209
+ } else {
210
+ counter.innerText = target;
211
+ }
212
+
213
+ function updateCounter() {
214
+ const current = +counter.innerText;
215
+ if(current < target) {
216
+ counter.innerText = Math.ceil(current + increment);
217
+ setTimeout(updateCounter, 1);
218
+ } else {
219
+ counter.innerText = target;
220
+ }
221
+ }
222
+ });
223
+
224
+ // Interactive tooltip for more info
225
+ const infoElements = document.querySelectorAll('[data-info]');
226
+ infoElements.forEach(el => {
227
+ el.addEventListener('mouseover', function() {
228
+ const info = this.getAttribute('data-info');
229
+ const tooltip = document.createElement('div');
230
+ tooltip.className = 'absolute bg-white p-2 rounded shadow-lg text-sm z-50';
231
+ tooltip.textContent = info;
232
+ this.appendChild(tooltip);
233
+
234
+ this.addEventListener('mouseout', function() {
235
+ this.removeChild(tooltip);
236
+ });
237
+ });
238
+ });
239
+ });
240
+ </script>
241
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Ryujindaegon1223/internet-addiction" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
242
+ </html>