Professional Drop Servicing Website for Creative Digital Solutions from zipfile import ZipFile import os
project_name = "creative-studio-pro" base_path = f"/mnt/data/{project_name}" os.makedirs(f"{base_path}/public", exist_ok=True) os.makedirs(f"{base_path}/src/components", exist_ok=True)
files = { "public/index.html": """
<title>Creative Studio Pro</title> ""","src/index.js": """import React from 'react';
import ReactDOM from 'react-dom/client'; import App from './App'; import './index.css';
const root = ReactDOM.createRoot(document.getElementById('root')); root.render(); """,
"src/index.css": """* {
box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Segoe UI', sans-serif; background-color: #f8f9fa; color: #333; } header, footer { background-color: #222; color: #fff; } .container { max-width: 1000px; margin: auto; padding: 20px; } h1, h2 { color: #007bff; } a { color: #17a2b8; } """,
"src/App.js": """import React from 'react';
import './index.css';
function App() { return (
<main className="container">
<section>
<h2>Our Services</h2>
<ul>
<li>Video Editing</li>
<li>Content Writing / Blogging</li>
<li>Website Design / Development</li>
<li>SEO Services</li>
<li>Digital Marketing</li>
<li>Resume & Cover Letter Writing</li>
<li>Voiceover / Podcast Editing</li>
<li>YouTube Automation Services</li>
</ul>
</section>
<section>
<h2>Contact Us</h2>
<p>Email: <a href="mailto:fzx.beats@gmail.com">fzx.beats@gmail.com</a></p>
<p>Phone: <a href="tel:+917836567126">+91 7836567126</a></p>
</section>
</main>
<footer>
<div className="container">
<p>© {new Date().getFullYear()} Creative Studio Pro. All rights reserved.</p>
</div>
</footer>
</div>
); }
export default App; """,
"package.json": """{
"name": "creative-studio-pro", "version": "1.0.0", "private": true, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" } } """ }
for path, content in files.items(): full_path = os.path.join(base_path, path) os.makedirs(os.path.dirname(full_path), exist_ok=True) with open(full_path, "w") as f: f.write(content)
zip_path = f"/mnt/data/{project_name}.zip" with ZipFile(zip_path, 'w') as zipf: for foldername, subfolders, filenames in os.walk(base_path): for filename in filenames: filepath = os.path.join(foldername, filename) arcname = os.path.relpath(filepath, base_path) zipf.write(filepath, arcname)
zip_path