commit a70c7a98bd50761b67ec8c0d56c9d0f063fd0915
Author: root <root@hub.scroll.pub> Date: 2024-12-27 07:57:13 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..bfc3de1 --- /dev/null +++ b/body.html @@ -0,0 +1,48 @@ +<header> + <h1>Join Our Coworking Space</h1> + <p>Collaborate, innovate, and grow in our vibrant community.</p> +</header> + +<main> + <section id="application-form"> + <h2>Application Form</h2> + <form id="applyForm"> + <label for="fullName">Full Name:</label> + <input type="text" id="fullName" name="fullName" required> + + <label for="email">Email:</label> + <input type="email" id="email" name="email" required> + + <label for="phone">Phone Number:</label> + <input type="tel" id="phone" name="phone" required> + + <label for="idProof">Upload ID Proof:</label> + <input type="file" id="idProof" name="idProof" accept="image/*, .pdf" required> + + <label for="codeOfConduct"> + <input type="checkbox" id="codeOfConduct" name="codeOfConduct" required> + I have read and agree to the <a href="#code-of-conduct">Code of Conduct</a> + </label> + + <button type="submit">Apply Now</button> + </form> + </section> + + <section id="code-of-conduct"> + <h2>Code of Conduct</h2> + <div class="conduct-content"> + <p>Our coworking space is built on respect, collaboration, and professionalism. By joining, you agree to:</p> + <ul> + <li>Respect all members and their workspace.</li> + <li>Maintain a clean and organized environment.</li> + <li>Use shared resources responsibly.</li> + <li>Engage in positive and constructive communication.</li> + <li>Adhere to all community guidelines and policies.</li> + </ul> + </div> + </section> +</main> + +<footer> + <p>Questions? Reach out to us at <a href="mailto:info@coworkapply.scroll.pub">info@coworkapply.scroll.pub</a></p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..9d10977 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://coworkapply.scroll.pub +metaTags +editButton /edit.html +title Apply to Join Our Coworking Space +style.css +body.html +script.js \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..cd34fd9 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# coworkapply.scroll.pub +Website generated by DeepSeek from prompt: I want a website that people who intend to join our coworking space can apply using. But we also need a certain level of KYC and they need to read and agree to our conde of conduct. Be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..762695d --- /dev/null +++ b/script.js @@ -0,0 +1,26 @@ +document.getElementById('applyForm').addEventListener('submit', function(event) { + event.preventDefault(); + + const fullName = document.getElementById('fullName').value; + const email = document.getElementById('email').value; + const phone = document.getElementById('phone').value; + const idProof = document.getElementById('idProof').files[0]; + const codeOfConduct = document.getElementById('codeOfConduct').checked; + + if (!fullName || !email || !phone || !idProof || !codeOfConduct) { + alert('Please fill out all fields and agree to the Code of Conduct.'); + return; + } + + const formData = new FormData(); + formData.append('fullName', fullName); + formData.append('email', email); + formData.append('phone', phone); + formData.append('idProof', idProof); + + // Simulate form submission + setTimeout(() => { + alert('Application submitted successfully! We will review your application and get back to you shortly.'); + document.getElementById('applyForm').reset(); + }, 1000); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..910d173 --- /dev/null +++ b/style.css @@ -0,0 +1,111 @@ +:root { + --primary-color: #4a90e2; + --secondary-color: #333; + --background-color: #f9f9f9; + --border-color: #ddd; + --font-family: 'Arial', sans-serif; +} + +body { + font-family: var(--font-family); + line-height: 1.6; + margin: 0; + padding: 0; + background-color: var(--background-color); + color: var(--secondary-color); +} + +header { + background: var(--primary-color); + color: white; + padding: 2rem; + text-align: center; +} + +header h1 { + margin: 0; + font-size: 2.5rem; +} + +header p { + font-size: 1.2rem; +} + +main { + padding: 2rem; + max-width: 800px; + margin: 0 auto; +} + +section { + margin-bottom: 2rem; +} + +h2 { + color: var(--primary-color); + margin-bottom: 1rem; +} + +form { + display: flex; + flex-direction: column; + gap: 1rem; +} + +label { + font-weight: bold; +} + +input, button { + padding: 0.5rem; + border: 1px solid var(--border-color); + border-radius: 4px; +} + +button { + background: var(--primary-color); + color: white; + cursor: pointer; + border: none; +} + +button:hover { + background: darken(var(--primary-color), 10%); +} + +.conduct-content { + background: white; + padding: 1rem; + border: 1px solid var(--border-color); + border-radius: 4px; +} + +footer { + text-align: center; + padding: 1rem; + background: var(--secondary-color); + color: white; +} + +footer a { + color: var(--primary-color); + text-decoration: none; +} + +footer a:hover { + text-decoration: underline; +} + +@media (max-width: 600px) { + header h1 { + font-size: 2rem; + } + + header p { + font-size: 1rem; + } + + main { + padding: 1rem; + } +} \ No newline at end of file