commit e05fa6c155c45fa19356687f777fa634e31b6466
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 07:57:00 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..1c32b38
--- /dev/null
+++ b/body.html
@@ -0,0 +1,91 @@
+<header>
+ <nav>
+ <div class="logo">JoinSpace</div>
+ <div class="nav-links">
+ <a href="#about">About</a>
+ <a href="#apply">Apply</a>
+ <a href="#contact">Contact</a>
+ </div>
+ </nav>
+</header>
+
+<main>
+ <section id="hero">
+ <h1>Join Our Coworking Community</h1>
+ <p>Where ideas flourish and professionals thrive</p>
+ </section>
+
+ <section id="apply">
+ <h2>Application Form</h2>
+ <form id="applicationForm" class="application-form">
+ <div class="form-group">
+ <label for="fullName">Full Name *</label>
+ <input type="text" id="fullName" required>
+ </div>
+
+ <div class="form-group">
+ <label for="email">Email Address *</label>
+ <input type="email" id="email" required>
+ </div>
+
+ <div class="form-group">
+ <label for="phone">Phone Number *</label>
+ <input type="tel" id="phone" required>
+ </div>
+
+ <div class="form-group">
+ <label for="company">Company/Organization</label>
+ <input type="text" id="company">
+ </div>
+
+ <div class="form-group">
+ <label for="idUpload">Government ID Upload *</label>
+ <input type="file" id="idUpload" accept="image/*,.pdf" required>
+ </div>
+
+ <div class="form-group">
+ <label for="membership">Desired Membership *</label>
+ <select id="membership" required>
+ <option value="">Select an option</option>
+ <option value="hot-desk">Hot Desk</option>
+ <option value="dedicated">Dedicated Desk</option>
+ <option value="private">Private Office</option>
+ </select>
+ </div>
+
+ <div class="form-group">
+ <label class="checkbox-label">
+ <input type="checkbox" id="codeOfConduct" required>
+ I have read and agree to the <button type="button" class="link-button" id="showCodeOfConduct">Code of Conduct</button>
+ </label>
+ </div>
+
+ <button type="submit" class="submit-btn">Submit Application</button>
+ </form>
+ </section>
+</main>
+
+<div id="conductModal" class="modal">
+ <div class="modal-content">
+ <h3>Code of Conduct</h3>
+ <div class="modal-text">
+ <p>1. Respect all members and maintain professional behavior at all times.</p>
+ <p>2. Keep shared spaces clean and organized.</p>
+ <p>3. Maintain appropriate noise levels.</p>
+ <p>4. Follow all security protocols.</p>
+ <p>5. Respect confidentiality and privacy of other members.</p>
+ </div>
+ <button id="closeModal" class="close-btn">Close</button>
+ </div>
+</div>
+
+<footer>
+ <div class="footer-content">
+ <p>JoinSpace Coworking</p>
+ <div class="footer-links">
+ <a href="#privacy">Privacy Policy</a>
+ <a href="#terms">Terms of Service</a>
+ <a href="#contact">Contact</a>
+ </div>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..9e05b38
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,11 @@
+buildHtml
+baseUrl https://joinspace.scroll.pub
+metaTags
+title Join Our Coworking Community
+description Apply to join our vibrant coworking space. Complete your profile and become part of our professional community.
+keywords coworking, workspace, application, membership, community
+author JoinSpace
+editButton /edit.html
+style.css
+body.html
+script.js
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..82848b8
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# joinspace1.scroll.pub
+Website generated by Claude 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..ab3ae63
--- /dev/null
+++ b/script.js
@@ -0,0 +1,64 @@
+document.addEventListener('DOMContentLoaded', () => {
+ const form = document.getElementById('applicationForm');
+ const modal = document.getElementById('conductModal');
+ const showCodeBtn = document.getElementById('showCodeOfConduct');
+ const closeBtn = document.getElementById('closeModal');
+
+ // Show modal
+ showCodeBtn.addEventListener('click', () => {
+ modal.style.display = 'block';
+ });
+
+ // Close modal
+ closeBtn.addEventListener('click', () => {
+ modal.style.display = 'none';
+ });
+
+ // Close modal when clicking outside
+ window.addEventListener('click', (e) => {
+ if (e.target === modal) {
+ modal.style.display = 'none';
+ }
+ });
+
+ // Form submission
+ form.addEventListener('submit', async (e) => {
+ e.preventDefault();
+
+ // Basic form validation
+ const requiredFields = form.querySelectorAll('[required]');
+ let isValid = true;
+
+ requiredFields.forEach(field => {
+ if (!field.value) {
+ isValid = false;
+ field.style.borderColor = 'var(--error-color)';
+ } else {
+ field.style.borderColor = '';
+ }
+ });
+
+ if (!isValid) {
+ alert('Please fill in all required fields');
+ return;
+ }
+
+ // Simulate form submission
+ const submitBtn = form.querySelector('.submit-btn');
+ submitBtn.disabled = true;
+ submitBtn.textContent = 'Submitting...';
+
+ try {
+ // Simulate API call
+ await new Promise(resolve => setTimeout(resolve, 2000));
+
+ alert('Application submitted successfully!');
+ form.reset();
+ } catch (error) {
+ alert('An error occurred. Please try again.');
+ } finally {
+ submitBtn.disabled = false;
+ submitBtn.textContent = 'Submit Application';
+ }
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..074d548
--- /dev/null
+++ b/style.css
@@ -0,0 +1,226 @@
+:root {
+ --primary-color: #2a4365;
+ --secondary-color: #4299e1;
+ --accent-color: #90cdf4;
+ --text-color: #2d3748;
+ --background-color: #f7fafc;
+ --success-color: #48bb78;
+ --error-color: #f56565;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+}
+
+header {
+ background-color: white;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 1000;
+}
+
+nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+}
+
+.nav-links a {
+ margin-left: 2rem;
+ text-decoration: none;
+ color: var(--text-color);
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--secondary-color);
+}
+
+main {
+ margin-top: 4rem;
+ padding: 2rem;
+}
+
+#hero {
+ text-align: center;
+ padding: 4rem 2rem;
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ margin: -2rem -2rem 2rem -2rem;
+}
+
+#hero h1 {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+}
+
+.application-form {
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 2rem;
+ background: white;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+}
+
+.form-group {
+ margin-bottom: 1.5rem;
+}
+
+label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+}
+
+input, select {
+ width: 100%;
+ padding: 0.75rem;
+ border: 1px solid #e2e8f0;
+ border-radius: 4px;
+ font-size: 1rem;
+ transition: border-color 0.3s ease;
+}
+
+input:focus, select:focus {
+ outline: none;
+ border-color: var(--secondary-color);
+ box-shadow: 0 0 0 3px var(--accent-color);
+}
+
+.checkbox-label {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+}
+
+.checkbox-label input {
+ width: auto;
+}
+
+.link-button {
+ background: none;
+ border: none;
+ color: var(--secondary-color);
+ text-decoration: underline;
+ cursor: pointer;
+ padding: 0;
+ font: inherit;
+}
+
+.submit-btn {
+ width: 100%;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+}
+
+.submit-btn:hover {
+ background-color: var(--secondary-color);
+}
+
+.modal {
+ display: none;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0,0,0,0.5);
+ z-index: 2000;
+}
+
+.modal-content {
+ background-color: white;
+ margin: 15% auto;
+ padding: 2rem;
+ max-width: 600px;
+ border-radius: 8px;
+ position: relative;
+}
+
+.close-btn {
+ margin-top: 1rem;
+ padding: 0.5rem 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+footer {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ margin-top: 4rem;
+}
+
+.footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.footer-links a {
+ color: white;
+ text-decoration: none;
+ margin-left: 1rem;
+}
+
+@media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1rem;
+ }
+
+ .nav-links a {
+ margin-left: 0;
+ }
+
+ .footer-content {
+ flex-direction: column;
+ gap: 1rem;
+ text-align: center;
+ }
+
+ .footer-links a {
+ margin: 0 0.5rem;
+ }
+
+ .modal-content {
+ margin: 10% 1rem;
+ }
+}