Alberta08 commited on
Commit
021ced9
·
verified ·
1 Parent(s): 1a2acdd

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +173 -19
index.html CHANGED
@@ -1,19 +1,173 @@
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="it">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Benvenuti a scuola!</title>
7
+ <style>
8
+ * {
9
+ box-sizing: border-box;
10
+ margin: 0;
11
+ padding: 0;
12
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
13
+ }
14
+ body {
15
+ background-color: #f4f7f6;
16
+ color: #333;
17
+ display: flex;
18
+ justify-content: center;
19
+ padding: 20px;
20
+ }
21
+ .container {
22
+ width: 100%;
23
+ max-width: 480px;
24
+ background: #ffffff;
25
+ border-radius: 20px;
26
+ box-shadow: 0 8px 20px rgba(0,0,0,0.08);
27
+ overflow: hidden;
28
+ padding: 20px;
29
+ text-align: center;
30
+ }
31
+ /* Intestazione */
32
+ .logo {
33
+ width: 100%;
34
+ max-height: 120px;
35
+ object-fit: contain;
36
+ margin-bottom: 15px;
37
+ }
38
+ h1 {
39
+ font-size: 22px;
40
+ color: #2c3e50;
41
+ margin-bottom: 5px;
42
+ }
43
+ p.subtitle {
44
+ font-size: 14px;
45
+ color: #7f8c8d;
46
+ margin-bottom: 20px;
47
+ }
48
+ .divider {
49
+ border: none;
50
+ height: 1px;
51
+ background: #eee;
52
+ margin: 20px 0;
53
+ }
54
+ /* Sezione Video Principale */
55
+ h2 {
56
+ font-size: 16px;
57
+ color: #34495e;
58
+ margin-bottom: 10px;
59
+ text-align: left;
60
+ }
61
+ video.main-video {
62
+ width: 100%;
63
+ border-radius: 12px;
64
+ outline: none;
65
+ background: #000;
66
+ }
67
+ /* Griglia Instagram */
68
+ .instagram-grid {
69
+ display: grid;
70
+ grid-template-columns: repeat(3, 1fr);
71
+ gap: 10px;
72
+ margin-top: 10px;
73
+ }
74
+ .insta-card {
75
+ background: #fff;
76
+ border: 1px solid #e1e8ed;
77
+ border-radius: 10px;
78
+ overflow: hidden;
79
+ text-decoration: none;
80
+ color: #333;
81
+ display: flex;
82
+ flex-direction: column;
83
+ transition: transform 0.2s, box-shadow 0.2s;
84
+ }
85
+ .insta-card:hover {
86
+ transform: translateY(-3px);
87
+ box-shadow: 0 4px 12px rgba(0,0,0,0.1);
88
+ }
89
+ .insta-card img {
90
+ width: 100%;
91
+ height: 110px;
92
+ object-fit: cover;
93
+ }
94
+ .insta-card span {
95
+ font-size: 12px;
96
+ font-weight: bold;
97
+ padding: 8px 4px;
98
+ color: #E1306C;
99
+ background: #fafafa;
100
+ }
101
+ /* Pulsanti Social */
102
+ .social-buttons {
103
+ display: flex;
104
+ gap: 10px;
105
+ margin-top: 10px;
106
+ }
107
+ .btn-social {
108
+ flex: 1;
109
+ padding: 12px 10px;
110
+ border-radius: 10px;
111
+ text-decoration: none;
112
+ color: white;
113
+ font-weight: bold;
114
+ font-size: 14px;
115
+ display: flex;
116
+ align-items: center;
117
+ justify-content: center;
118
+ gap: 6px;
119
+ }
120
+ .btn-instagram { background: #E1306C; }
121
+ .btn-facebook { background: #1877F2; }
122
+ </style>
123
+ </head>
124
+ <body>
125
+
126
+ <div class="container">
127
+ <!-- 1. INTESTAZIONE / LOGO -->
128
+ <img src="logo_scuola.png" alt="Logo Scuola" class="logo">
129
+ <h1>Benvenuti nella nostra scuola! 👋</h1>
130
+ <p class="subtitle">Scansiona, guarda e scopri tutte le nostre attività.</p>
131
+
132
+ <hr class="divider">
133
+
134
+ <!-- 2. VIDEO PRINCIPALE DEL PERSONAGGINO -->
135
+ <h2>🌟 Messaggio Principale</h2>
136
+ <video class="main-video" controls poster="anteprima_personaggio.jpg">
137
+ <source src="personaggio.mp4" type="video/mp4">
138
+ Il tuo browser non supporta il tag video.
139
+ </video>
140
+
141
+ <hr class="divider">
142
+
143
+ <!-- 3. TRE RIQUADRI PER I VIDEO DI INSTAGRAM -->
144
+ <h2>📱 I nostri Reel e Video</h2>
145
+ <div class="instagram-grid">
146
+ <!-- Riquadro 1 -->
147
+ <a href="https://www.instagram.com/reel/DRorsPxjf-P/?psln=c3k4cXJtNWh6d254" target="_blank" class="insta-card">
148
+ <img src="anteprima1.jpg" alt="Video 1">
149
+ <span>▶ Guarda 1</span>
150
+ </a>
151
+ <!-- Riquadro 2 -->
152
+ <a href="https://www.instagram.com/reel/DRmHmnwjTYx/?dlrf=MWFidHZ4bHNhdHYxZA==" target="_blank" class="insta-card">
153
+ <img src="anteprima2.jpg" alt="Video 2">
154
+ <span>▶ Guarda 2</span>
155
+ </a>
156
+ <!-- Riquadro 3 -->
157
+ <a href="https://www.instagram.com/reel/DRmHF-DDYgR/?srtk=OXprY3ZvMDJhYXQ1" target="_blank" class="insta-card">
158
+ <img src="anteprima3.jpg" alt="Video 3">
159
+ <span>▶ Guarda 3</span>
160
+ </a>
161
+ </div>
162
+
163
+ <hr class="divider">
164
+
165
+ <!-- 4. PULSANTI SOCIAL -->
166
+ <h2>🌐 Seguici online</h2>
167
+ <div class="social-buttons">
168
+ <a href="https://www.instagram.com/ic_monte_san_michele?vrfl=eDMzeHV6cTFkYThq" target="_blank" class="btn-social btn-instagram">Instagram</a>
169
+ </div>
170
+ </div>
171
+
172
+ </body>
173
+ </html>