-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
149 lines (132 loc) · 3.33 KB
/
Copy pathtest.html
File metadata and controls
149 lines (132 loc) · 3.33 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Annonces - HEI Admin</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
.announcements-container {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
background-color: white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.header h2 {
margin: 0;
color: #333;
}
.search-bar {
padding: 10px;
width: 300px;
border: 1px solid #ccc;
border-radius: 5px;
}
.filters {
margin: 20px 0;
display: flex;
gap: 10px;
}
.filter-btn {
padding: 10px 20px;
border: none;
border-radius: 5px;
background-color: #007bff;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
.filter-btn:hover {
background-color: #0056b3;
}
.announcement-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.card {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
width: 300px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
margin-top: 0;
color: #007bff;
}
.card .date {
font-size: 0.9em;
color: gray;
}
.card p {
font-size: 1em;
margin: 10px 0;
}
.card .read-more {
padding: 8px 15px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.card .read-more:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="announcements-container">
<div class="header">
<h2>Annonces</h2>
<input type="text" placeholder="Rechercher une annonce..." class="search-bar" />
</div>
<div class="filters">
<button class="filter-btn">Toutes</button>
<button class="filter-btn">Académiques</button>
<button class="filter-btn">Événements</button>
<button class="filter-btn">Urgents</button>
</div>
<div class="announcement-cards">
<div class="card">
<h3>Conférence sur l'IA</h3>
<p class="date">Publié le : 15 janvier 2025</p>
<p>Participez à notre conférence sur l'intelligence artificielle...</p>
<button class="read-more">Lire plus</button>
</div>
<div class="card">
<h3>Examens Semestre 1</h3>
<p class="date">Publié le : 14 janvier 2025</p>
<p>Les examens du premier semestre débuteront le 25 janvier...</p>
<button class="read-more">Lire plus</button>
</div>
<div class="card">
<h3>Atelier de développement web</h3>
<p class="date">Publié le : 13 janvier 2025</p>
<p>Rejoignez-nous pour un atelier interactif sur le développement web...</p>
<button class="read-more">Lire plus</button>
</div>
</div>
</div>
</body>
</html>