Changes to joinspace.scroll.pub

root
root
26 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+

Your New Creative Workspace

+

Join our thriving community of professionals, entrepreneurs, and creators.

+
+
+
+

Why Choose Us

+
+
+ 🌐
+

High-Speed Internet

+

Gigabit fiber connection

+
+
+
+

Free Coffee & Tea

+

Premium beverages all day

+
+
+ 🤝
+

Meeting Rooms

+

Professional spaces to collaborate

+
+
+ 🎯
+

24/7 Access

+

Work on your schedule

+
+
+
+
+
+

Apply Now

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Location

+

123 Innovation Street
Tech City, TC 12345

+
+
+

Contact

+

hello@joinspace.scroll.pub
+1 (555) 123-4567

+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://joinspace.scroll.pub
+ metaTags
+ description "Apply to join our vibrant coworking community. Flexible workspace solutions for professionals."
+ keywords "coworking space, workspace application, office space, professional community"
+ editButton /edit.html
+ title Join Our Coworking Space
+ style.css
+ body.html
+ script.js
readme.scroll
Changed around line 1
+ # joinspace.scroll.pub
+ Website generated by Claude from prompt: I want a website that people who intend to join our coworking space can apply using. Be creative
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ // Smooth scrolling for navigation links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Form handling
+ const form = document.getElementById('applicationForm');
+
+ form.addEventListener('submit', (e) => {
+ e.preventDefault();
+
+ // Collect form data
+ const formData = {
+ name: document.getElementById('name').value,
+ email: document.getElementById('email').value,
+ phone: document.getElementById('phone').value,
+ membership: document.getElementById('membership').value,
+ message: document.getElementById('message').value
+ };
+
+ // Validate form data
+ if (!validateForm(formData)) {
+ return;
+ }
+
+ // Show success message
+ alert('Thank you for your application! We will contact you soon.');
+ form.reset();
+ });
+ });
+
+ function validateForm(data) {
+ // Basic email validation
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
+ if (!emailRegex.test(data.email)) {
+ alert('Please enter a valid email address');
+ return false;
+ }
+
+ // Basic phone validation
+ const phoneRegex = /^\+?[\d\s-]{10,}$/;
+ if (!phoneRegex.test(data.phone)) {
+ alert('Please enter a valid phone number');
+ return false;
+ }
+
+ return true;
+ }
+
+ // Add smooth reveal animations on scroll
+ const observerOptions = {
+ threshold: 0.1
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = '1';
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ }, observerOptions);
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ card.style.opacity = '0';
+ card.style.transform = 'translateY(20px)';
+ observer.observe(card);
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2a6fff;
+ --secondary-color: #f5f7ff;
+ --text-color: #333;
+ --spacing: 2rem;
+ --border-radius: 12px;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ }
+
+ /* Header & Navigation */
+ header {
+ background: white;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 100;
+ }
+
+ nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem var(--spacing);
+ 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;
+ }
+
+ .nav-links a:hover {
+ color: var(--primary-color);
+ }
+
+ /* Hero Section */
+ .hero {
+ height: 80vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ background: linear-gradient(135deg, var(--secondary-color), white);
+ padding: var(--spacing);
+ margin-top: 60px;
+ }
+
+ .hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(45deg, var(--primary-color), #7c4dff);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ /* Features Section */
+ .features {
+ padding: var(--spacing);
+ background: white;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: var(--spacing);
+ margin-top: var(--spacing);
+ }
+
+ .feature-card {
+ background: var(--secondary-color);
+ padding: var(--spacing);
+ border-radius: var(--border-radius);
+ text-align: center;
+ transition: transform 0.3s;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ /* Application Form */
+ .application {
+ padding: var(--spacing);
+ background: var(--secondary-color);
+ }
+
+ .application-form {
+ max-width: 600px;
+ margin: 2rem auto;
+ background: white;
+ padding: var(--spacing);
+ border-radius: var(--border-radius);
+ 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, textarea {
+ width: 100%;
+ padding: 0.8rem;
+ border: 2px solid #eee;
+ border-radius: var(--border-radius);
+ transition: border-color 0.3s;
+ }
+
+ input:focus, select:focus, textarea:focus {
+ border-color: var(--primary-color);
+ outline: none;
+ }
+
+ button {
+ background: var(--primary-color);
+ color: white;
+ padding: 1rem 2rem;
+ border: none;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ width: 100%;
+ font-size: 1.1rem;
+ transition: background-color 0.3s;
+ }
+
+ button:hover {
+ background: #1a5ae0;
+ }
+
+ /* Footer */
+ footer {
+ background: var(--text-color);
+ color: white;
+ padding: var(--spacing);
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: var(--spacing);
+ }
+
+ /* Responsive Design */
+ @media (max-width: 768px) {
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .nav-links {
+ display: none;
+ }
+
+ .application-form {
+ padding: 1rem;
+ }
+ }