vielen Dank für deine Arbeit bisher! Ich bräuchte bitte noch eine Ergänzung im Bereich "3. Ich matche". Hier bräuchte ich bitte unter jeder passenden Suchanfrage ein kleines Chatfeld mit einer blassen schrift "Kontaktiere den Suchenden und schreibe etwas Nettes". und ganz rechts neben dem Chat findet man ein kleines Kätschen mit einem Vorschlag der Arbeitszeit - Follow Up Deployment
Browse files21 unmodified lines22232425262716 unmodified lines444546474849507 unmodified lines585960616263646566676869707172737475767778798081828384858 unmodified lines949596979899100118 unmodified lines21922022122222322422518 unmodified lines244245246247248249109 unmodified lines359360361362363364251 unmodified lines61661761861962062195 unmodified lines71771871972072172221 unmodified linesdisplay: block;animation: fadeIn 0.5s ease-in-out;}@keyframes fadeIn {from { opacity: 0; transform: translateY(10px); }to { opacity: 1; transform: translateY(0); }16 unmodified lines<div class="flex flex-col lg:flex-row gap-8"><!-- Navigation --><nav class="lg:w-1/4 bg-white rounded-xl shadow-md p-6 h-fit sticky top-8"><h2 class="text-xl font-semibold mb-6 text-gray-800">Menü</h2><ul class="space-y-3"><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100 active" data-section="ich-kann">7 unmodified lines<span>2. Ich suche</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-mache"><i class="fas fa-tasks text-blue-500 text-xl"></i><span>3. Ich mache</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-habe"><i class="fas fa-clock text-blue-500 text-xl"></i><span>4. Ich habe</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-bin"><i class="fas fa-user text-blue-500 text-xl"></i><span>5. Ich bin</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-werbe"><i class="fas fa-bullhorn text-blue-500 text-xl"></i><span>6. Ich werbe</span></button></li></ul>8 unmodified lines<p class="text-sm text-gray-500">Berlin</p></div></div><button class="mt-4 w-full py-2 px-4 bg-gray-100 rounded-lg text-gray-700 hover:bg-gray-200 transition"><i class="fas fa-cog mr-2"></i> Einstellungen</button></div>118 unmodified lines</div></div><div class="space-y-4"><div class="flex items-center justify-between p-4 bg-white border border-gray-200 rounded-lg"><div><h3 class="font-medium">Umzugshilfe am 15.07.</h3>18 unmodified lines<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Erledigt</span></div></div></section><!-- Ich mache Section -->109 unmodified lines<span class="font-bold text-xl text-blue-600">+16,5 h</span></div></div></div><div class="bg-white border border-gray-200 rounded-lg p-6">251 unmodified lines</div></div><!-- New Help Modal --><div id="newHelpModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden"><div class="bg-white rounded-xl shadow-xl p-6 w-full max-w-md">95 unmodified lines});});// Simulate loading for demo purposessetTimeout(() => {document.querySelector('body').style.opacity = '1';21 unmodified lines22232425262728293031323334353616 unmodified lines535455565758597 unmodified lines6768697071727374757677787980818283848586878889909192939495969798991008 unmodified lines109110111112113114115116118 unmodified lines23523623723823924024118 unmodified lines260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359109 unmodified lines469470471472473474475476477251 unmodified lines72973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777895 unmodified lines87487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392421 unmodified linesdisplay: block;animation: fadeIn 0.5s ease-in-out;}@keyframes progress {0% { width: 0%; }100% { width: 100%; }}.animate-progress {animation: progress 3s linear forwards;}@keyframes fadeIn {from { opacity: 0; transform: translateY(10px); }to { opacity: 1; transform: translateY(0); }16 unmodified lines<div class="flex flex-col lg:flex-row gap-8"><!-- Navigation --><nav class="lg:w-1/4 bg-white rounded-xl shadow-md p-6 h-fit sticky top-8"><h2 class="text-xl font-semibold mb-6 text-gray-800">Dein CELPY</h2><ul class="space-y-3"><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100 active" data-section="ich-kann">7 unmodified lines<span>2. Ich suche</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-matche"><i class="fas fa-exchange-alt text-blue-500 text-xl"></i><span>3. Ich matche</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-mache"><i class="fas fa-tasks text-blue-500 text-xl"></i><span>4. Ich helfe</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-habe"><i class="fas fa-clock text-blue-500 text-xl"></i><span>5. Ich habe</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-bin"><i class="fas fa-user text-blue-500 text-xl"></i><span>6. Ich bin</span></button></li><li><button class="nav-item w-full flex items-center gap-3 p-4 rounded-lg transition-all duration-300 hover:bg-blue-100" data-section="ich-werbe"><i class="fas fa-bullhorn text-blue-500 text-xl"></i><span>7. Ich werbe</span></button></li></ul>8 unmodified lines<p class="text-sm text-gray-500">Berlin</p></div></div><button class="w-full py-2 px-4 bg-gray-100 rounded-lg text-gray-700 hover:bg-gray-200 transition"><i class="fas fa-cog mr-2"></i> Einstellungen</button></div>118 unmodified lines</div></div><div class="space-y-4 mb-6"><div class="flex items-center justify-between p-4 bg-white border border-gray-200 rounded-lg"><div><h3 class="font-medium">Umzugshilfe am 15.07.</h3>18 unmodified lines<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Erledigt</span></div></div><button id="matchingBtn" class="w-full py-3 px-4 bg-red-600 hover:bg-red-700 text-white font-bold rounded-lg transition duration-300 mt-6"><i class="fas fa-search mr-2"></i> Matching</button></section><!-- Ich matche Section --><section class="content-section bg-white rounded-xl shadow-md p-6" id="ich-matche"><h2 class="text-2xl font-bold text-gray-800 mb-6">Passende Suchanfragen für mich</h2><div class="space-y-4"><!-- Matching Card 1 --><div class="bg-white border border-gray-200 rounded-lg p-5 shadow-sm"><div class="flex items-start justify-between"><div><h3 class="font-semibold text-lg">Fahrdienst benötigt</h3><p class="text-gray-600 mb-3">Zum wöchentlichen Einkauf (jeden Dienstag)</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-user mr-2"></i><span>Anna Schmidt, 0.8 km entfernt</span></div></div><div class="flex items-center gap-2"><div class="bg-blue-50 px-3 py-1 rounded-lg text-sm text-blue-500"><i class="fas fa-clock mr-1"></i> ~1h</div><button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition"><i class="fas fa-handshake mr-2"></i> Helfen</button></div></div><div class="mt-3 p-3 bg-gray-50 rounded-lg text-gray-400 text-sm"><i class="fas fa-comment-dots mr-2"></i> Kontaktiere den Suchenden und schreibe etwas Nettes</div></div><!-- Matching Card 2 --><div class="bg-white border border-gray-200 rounded-lg p-5 shadow-sm"><div class="flex items-start justify-between"><div><h3 class="font-semibold text-lg">Hundebetreuung</h3><p class="text-gray-600 mb-3">Für 2 Wochen im August während unseres Urlaubs</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-user mr-2"></i><span>Tom Bauer, 1.2 km entfernt</span></div></div><div class="flex items-center gap-2"><div class="bg-blue-50 px-3 py-1 rounded-lg text-sm text-blue-500"><i class="fas fa-clock mr-1"></i> ~14h</div><button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition"><i class="fas fa-handshake mr-2"></i> Helfen</button></div></div><div class="mt-3 p-3 bg-gray-50 rounded-lg text-gray-400 text-sm"><i class="fas fa-comment-dots mr-2"></i> Kontaktiere den Suchenden und schreibe etwas Nettes</div></div><!-- Matching Card 3 --><div class="bg-white border border-gray-200 rounded-lg p-5 shadow-sm"><div class="flex items-start justify-between"><div><h3 class="font-semibold text-lg">Fahrradreparatur</h3><p class="text-gray-600 mb-3">Bremsen müssen eingestellt werden</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-user mr-2"></i><span>Lisa Meyer, 0.5 km entfernt</span></div></div><div class="flex items-center gap-2"><div class="bg-blue-50 px-3 py-1 rounded-lg text-sm text-blue-500"><i class="fas fa-clock mr-1"></i> ~2h</div><button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition"><i class="fas fa-handshake mr-2"></i> Helfen</button></div></div><div class="mt-3 p-3 bg-gray-50 rounded-lg text-gray-400 text-sm"><i class="fas fa-comment-dots mr-2"></i> Kontaktiere den Suchenden und schreibe etwas Nettes</div></div></div><div class="mt-6 bg-blue-50 p-4 rounded-lg"><h3 class="font-semibold text-blue-800 mb-2">Wie funktioniert das Matching?</h3><p class="text-blue-700">Hier sehen Sie Suchanfragen anderer Nutzer, die zu Ihren angebotenen Dienstleistungen passen.Wenn Sie helfen möchten, klicken Sie auf "Helfen" um den Nutzer zu kontaktieren.</p></div></section><!-- Ich mache Section -->109 unmodified lines<span class="font-bold text-xl text-blue-600">+16,5 h</span></div></div><button id="donateBtn" class="w-full mt-4 bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-lg transition">Ich spende</button></div><div class="bg-white border border-gray-200 rounded-lg p-6">251 unmodified lines</div></div><!-- Donate Modal --><div id="donateModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden"><div class="bg-white rounded-xl shadow-xl p-6 w-full max-w-sm"><div class="flex justify-between items-center mb-4"><h3 class="text-xl font-bold text-gray-800">Stunden spenden</h3><button id="closeDonateModal" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button></div><div class="mb-4"><label class="block text-gray-700 mb-2">Empfänger:</label><input type="text" id="recipientName" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Name eingeben"></div><div class="mb-4"><label class="block text-gray-700 mb-2">Anzahl Stunden:</label><input type="number" id="donateHours" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Stunden eingeben" min="0.5" step="0.5"></div><div class="flex justify-end space-x-3"><button id="cancelDonate" class="px-4 py-2 text-gray-700 hover:bg-gray-100 rounded-lg">Abbrechen</button><button id="confirmDonate" class="px-4 py-2 bg-green-500 text-white rounded-lg hover:bg-green-600">Spenden</button></div></div></div><!-- Matching Modal --><div id="matchingModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden"><div class="bg-white rounded-xl shadow-xl p-6 w-full max-w-sm text-center"><div class="mb-4 relative h-32"><div class="absolute inset-0 flex items-center justify-center"><i class="fas fa-search text-gray-300 text-6xl animate-pulse"></i><div class="absolute w-16 h-16 border-4 border-blue-500 rounded-full animate-ping opacity-75"></div></div></div><h3 class="text-xl font-bold text-gray-800 mb-2">Das System sucht Helfer für Dich</h3><p class="text-gray-600 mb-4">Bitte einen Moment Geduld...</p><div class="w-full bg-gray-200 rounded-full h-2.5"><div class="bg-blue-600 h-2.5 rounded-full animate-progress"></div></div></div></div><!-- New Help Modal --><div id="newHelpModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden"><div class="bg-white rounded-xl shadow-xl p-6 w-full max-w-md">95 unmodified lines});});// Matching functionalityconst matchingBtn = document.getElementById('matchingBtn');const matchingModal = document.getElementById('matchingModal');matchingBtn.addEventListener('click', () => {matchingModal.classList.remove('hidden');// Close after 3 seconds for demosetTimeout(() => {matchingModal.classList.add('hidden');}, 3000);});// Donate modal handlingconst donateBtn = document.getElementById('donateBtn');const donateModal = document.getElementById('donateModal');const closeDonateModal = document.getElementById('closeDonateModal');const cancelDonate = document.getElementById('cancelDonate');const confirmDonate = document.getElementById('confirmDonate');donateBtn.addEventListener('click', () => {donateModal.classList.remove('hidden');});closeDonateModal.addEventListener('click', () => {donateModal.classList.add('hidden');});cancelDonate.addEventListener('click', () => {donateModal.classList.add('hidden');});confirmDonate.addEventListener('click', () => {const recipient = document.getElementById('recipientName').value;const hours = document.getElementById('donateHours').value;if (recipient && hours) {alert(`Sie haben ${hours} Stunden an ${recipient} gespendet!`);donateModal.classList.add('hidden');// Hier könnte man die Spende an den Server senden} else {alert('Bitte füllen Sie beide Felder aus!');}});// Simulate loading for demo purposessetTimeout(() => {document.querySelector('body').style.opacity = '1';
index.html+209-7