Sheld0ne commited on
Commit
36d9cf7
·
verified ·
1 Parent(s): 96b1102

améliore la barre de fond derriere Tableau d'annonce "Marron" par une barre "Gris métal" - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +15 -8
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>LocalBoard - Petites annonces locales</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/react@18/umd/react.development.js"></script>
9
  <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
@@ -17,15 +17,19 @@
17
  }
18
 
19
  .cork-board {
20
- background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="%23d4a373" /></svg>');
21
- background-size: 30px 30px;
22
  min-height: 100vh;
 
 
 
23
  }
24
 
25
  .post-it {
26
- box-shadow: 5px 5px 7px rgba(0,0,0,0.3);
27
  transform: rotate(-1deg);
28
  transition: all 0.3s ease;
 
29
  }
30
 
31
  .post-it:hover {
@@ -203,9 +207,12 @@
203
  return (
204
  <div className="min-h-screen">
205
  {/* Header */}
206
- <header className="bg-amber-800 text-white shadow-md">
 
 
 
207
  <div className="container mx-auto px-4 py-3 flex justify-between items-center">
208
- <h1 className="text-2xl font-bold">LocalBoard</h1>
209
  <div className="flex items-center space-x-4">
210
  <select
211
  value={selectedCity}
@@ -230,13 +237,13 @@
230
  <div className="flex space-x-2">
231
  <button
232
  onClick={() => setShowLogin(true)}
233
- className="bg-amber-600 hover:bg-amber-500 px-3 py-1 rounded-md"
234
  >
235
  Connexion
236
  </button>
237
  <button
238
  onClick={() => setShowRegister(true)}
239
- className="bg-amber-500 hover:bg-amber-400 px-3 py-1 rounded-md"
240
  >
241
  Inscription
242
  </button>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Tableau d'Annonces - Petites annonces locales</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/react@18/umd/react.development.js"></script>
9
  <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
 
17
  }
18
 
19
  .cork-board {
20
+ background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23b08968" /><circle cx="20" cy="20" r="5" fill="%239c6e54" /><circle cx="60" cy="30" r="7" fill="%239c6e54" /><circle cx="40" cy="60" r="6" fill="%239c6e54" /><circle cx="70" cy="70" r="4" fill="%239c6e54" /><circle cx="30" cy="80" r="5" fill="%239c6e54" /></svg>');
21
+ background-size: 50px 50px;
22
  min-height: 100vh;
23
+ border: 15px solid #8B5A2B;
24
+ border-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%238B5A2B" /><path d="M0,20 Q25,10 50,20 T100,20 L100,30 Q75,40 50,30 T0,30 Z" fill="%23A67C52" /><path d="M0,50 Q25,40 50,50 T100,50 L100,60 Q75,70 50,60 T0,60 Z" fill="%23A67C52" /><path d="M0,80 Q25,70 50,80 T100,80 L100,90 Q75,100 50,90 T0,90 Z" fill="%23A67C52" />') 30 round;
25
+ box-shadow: 0 0 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.3);
26
  }
27
 
28
  .post-it {
29
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.5), 0 0 2px rgba(0,0,0,0.3);
30
  transform: rotate(-1deg);
31
  transition: all 0.3s ease;
32
+ position: relative;
33
  }
34
 
35
  .post-it:hover {
 
207
  return (
208
  <div className="min-h-screen">
209
  {/* Header */}
210
+ <header className="bg-gray-700 text-white shadow-md" style={{
211
+ background: 'linear-gradient(135deg, #4b5563 0%, #6b7280 50%, #4b5563 100%)',
212
+ borderBottom: '1px solid #9ca3af'
213
+ }}>
214
  <div className="container mx-auto px-4 py-3 flex justify-between items-center">
215
+ <h1 className="text-2xl font-bold">Tableau d'Annonces</h1>
216
  <div className="flex items-center space-x-4">
217
  <select
218
  value={selectedCity}
 
237
  <div className="flex space-x-2">
238
  <button
239
  onClick={() => setShowLogin(true)}
240
+ className="bg-gray-600 hover:bg-gray-500 px-3 py-1 rounded-md transition-colors"
241
  >
242
  Connexion
243
  </button>
244
  <button
245
  onClick={() => setShowRegister(true)}
246
+ className="bg-gray-500 hover:bg-gray-400 px-3 py-1 rounded-md transition-colors"
247
  >
248
  Inscription
249
  </button>