commit b6786f21ba8f4c76650d70f8a4cc31a84bca61d4
Author: root <root@hub.scroll.pub>
Date: 2024-12-30 09:45:03 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..1a847ca
--- /dev/null
+++ b/body.html
@@ -0,0 +1,71 @@
+<header>
+ <nav>
+ <div class="logo">Excel<span>Transform</span></div>
+ <div class="menu-toggle" aria-label="Toggle menu">
+ <span></span><span></span><span></span>
+ </div>
+ <ul class="nav-links">
+ <li><a href="#features">Features</a></li>
+ <li><a href="#how-it-works">How It Works</a></li>
+ <li><a href="#convert">Convert Now</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <h1>Transform Your Excel Files</h1>
+ <p>Convert, merge, and transform Excel files instantly online</p>
+ <div class="cta-container">
+ <button class="cta-button" id="uploadBtn">Upload File</button>
+ </div>
+ </section>
+
+ <section id="features" class="features">
+ <h2>Features</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">📊</div>
+ <h3>Format Conversion</h3>
+ <p>Convert between XLSX, CSV, and other formats</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔄</div>
+ <h3>Batch Processing</h3>
+ <p>Transform multiple files at once</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔒</div>
+ <h3>Secure</h3>
+ <p>Your data never leaves your browser</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="convert" class="converter">
+ <h2>Convert Your File</h2>
+ <div class="drop-zone">
+ <span class="drop-zone-prompt">Drop file here or click to upload</span>
+ <input type="file" id="fileInput" class="drop-zone-input" accept=".xlsx,.xls,.csv" hidden>
+ </div>
+ <div class="conversion-options" hidden>
+ <select id="formatSelect">
+ <option value="xlsx">XLSX</option>
+ <option value="csv">CSV</option>
+ <option value="txt">TXT</option>
+ </select>
+ <button id="convertBtn" class="convert-button">Convert</button>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="logo">Excel<span>Transform</span></div>
+ <nav class="footer-nav">
+ <a href="#privacy">Privacy Policy</a>
+ <a href="#terms">Terms of Use</a>
+ <a href="#contact">Contact</a>
+ </nav>
+ </div>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..f827336
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://exceltrans.scroll.pub
+metaTags
+editButton /edit.html
+title Excel Transform - Convert and Transform Excel Files Online
+style.css
+body.html
+script.js
\ No newline at end of file
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..3dcdab6
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01GDVUUdj9njjn6nZR1c5Pd5",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "Let me create a website for Excel file transformation and conversion.\n\nSuggested domain: exceltrans.scroll.pub\n\n---domain---\nexceltrans.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://exceltrans.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Excel Transform - Convert and Transform Excel Files Online\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">Excel<span>Transform</span></div>\n <div class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </div>\n <ul class=\"nav-links\">\n <li><a href=\"#features\">Features</a></li>\n <li><a href=\"#how-it-works\">How It Works</a></li>\n <li><a href=\"#convert\">Convert Now</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Transform Your Excel Files</h1>\n <p>Convert, merge, and transform Excel files instantly online</p>\n <div class=\"cta-container\">\n <button class=\"cta-button\" id=\"uploadBtn\">Upload File</button>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Features</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📊</div>\n <h3>Format Conversion</h3>\n <p>Convert between XLSX, CSV, and other formats</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔄</div>\n <h3>Batch Processing</h3>\n <p>Transform multiple files at once</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔒</div>\n <h3>Secure</h3>\n <p>Your data never leaves your browser</p>\n </div>\n </div>\n </section>\n\n <section id=\"convert\" class=\"converter\">\n <h2>Convert Your File</h2>\n <div class=\"drop-zone\">\n <span class=\"drop-zone-prompt\">Drop file here or click to upload</span>\n <input type=\"file\" id=\"fileInput\" class=\"drop-zone-input\" accept=\".xlsx,.xls,.csv\" hidden>\n </div>\n <div class=\"conversion-options\" hidden>\n <select id=\"formatSelect\">\n <option value=\"xlsx\">XLSX</option>\n <option value=\"csv\">CSV</option>\n <option value=\"txt\">TXT</option>\n </select>\n <button id=\"convertBtn\" class=\"convert-button\">Convert</button>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"logo\">Excel<span>Transform</span></div>\n <nav class=\"footer-nav\">\n <a href=\"#privacy\">Privacy Policy</a>\n <a href=\"#terms\">Terms of Use</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --card-background: #ffffff;\n --border-radius: 8px;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\nheader {\n background: var(--card-background);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.logo span {\n color: var(--secondary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.menu-toggle {\n display: none;\n flex-direction: column;\n gap: 6px;\n cursor: pointer;\n}\n\n.menu-toggle span {\n width: 25px;\n height: 3px;\n background-color: var(--text-color);\n transition: var(--transition);\n}\n\nmain {\n margin-top: 70px;\n}\n\n.hero {\n text-align: center;\n padding: 4rem 1rem;\n background: linear-gradient(135deg, #4f46e5, #2563eb);\n color: white;\n}\n\n.hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.cta-button {\n background: white;\n color: var(--primary-color);\n border: none;\n padding: 1rem 2rem;\n border-radius: var(--border-radius);\n font-size: 1.1rem;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n}\n\n.features {\n padding: 4rem 1rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.feature-card {\n background: var(--card-background);\n padding: 2rem;\n border-radius: var(--border-radius);\n text-align: center;\n transition: var(--transition);\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.converter {\n max-width: 800px;\n margin: 2rem auto;\n padding: 2rem 1rem;\n}\n\n.drop-zone {\n border: 2px dashed var(--primary-color);\n border-radius: var(--border-radius);\n padding: 3rem;\n text-align: center;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.drop-zone:hover {\n background-color: rgba(37, 99, 235, 0.05);\n}\n\n.conversion-options {\n margin-top: 2rem;\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\nselect, .convert-button {\n padding: 0.5rem 1rem;\n border-radius: var(--border-radius);\n border: 1px solid var(--primary-color);\n}\n\n.convert-button {\n background: var(--primary-color);\n color: white;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.convert-button:hover {\n background: var(--secondary-color);\n}\n\nfooter {\n background: var(--card-background);\n padding: 2rem 1rem;\n margin-top: 4rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.footer-nav {\n display: flex;\n gap: 2rem;\n}\n\n.footer-nav a {\n color: var(--text-color);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.footer-nav a:hover {\n color: var(--primary-color);\n}\n\n@media (max-width: 768px) {\n .menu-toggle {\n display: flex;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--card-background);\n padding: 1rem;\n flex-direction: column;\n text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2rem;\n }\n\n .footer-content {\n flex-direction: column;\n gap: 1rem;\n text-align: center;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const menuToggle = document.querySelector('.menu-toggle');\n const navLinks = document.querySelector('.nav-links');\n \n menuToggle.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n const spans = menuToggle.querySelectorAll('span');\n spans.forEach(span => span.classList.toggle('active'));\n });\n\n // File upload handling\n const dropZone = document.querySelector('.drop-zone');\n const fileInput = document.querySelector('#fileInput');\n const conversionOptions = document.querySelector('.conversion-options');\n\n dropZone.addEventListener('click', () => fileInput.click());\n\n dropZone.addEventListener('dragover', (e) => {\n e.preventDefault();\n dropZone.classList.add('drop-zone-drag');\n });\n\n dropZone.addEventListener('dragleave', () => {\n dropZone.classList.remove('drop-zone-drag');\n });\n\n dropZone.addEventListener('drop', (e) => {\n e.preventDefault();\n dropZone.classList.remove('drop-zone-drag');\n \n if (e.dataTransfer.files.length) {\n fileInput.files = e.dataTransfer.files;\n handleFile(e.dataTransfer.files[0]);\n }\n });\n\n fileInput.addEventListener('change', (e) => {\n if (e.target.files.length) {\n handleFile(e.target.files[0]);\n }\n });\n\n function handleFile(file) {\n const prompt = dropZone.querySelector('.drop-zone-prompt');\n prompt.textContent = file.name;\n conversionOptions.hidden = false;\n }\n\n // Smooth scroll for navigation links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n target.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n }\n });\n });\n\n // Convert button functionality\n const convertBtn = document.querySelector('#convertBtn');\n convertBtn.addEventListener('click', () => {\n // Add conversion logic here\n alert('Conversion feature coming soon!');\n });\n\n // Add animation on scroll\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n }, { threshold: 0.1 });\n\n document.querySelectorAll('.feature-card').forEach(card => {\n observer.observe(card);\n });\n});\n---end---"
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 273,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 3237
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..091abfb
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# exceltrans.scroll.pub
+Website generated by Claude from prompt: excel transformation website
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..e8b6086
--- /dev/null
+++ b/script.js
@@ -0,0 +1,83 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const menuToggle = document.querySelector('.menu-toggle');
+ const navLinks = document.querySelector('.nav-links');
+
+ menuToggle.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+ const spans = menuToggle.querySelectorAll('span');
+ spans.forEach(span => span.classList.toggle('active'));
+ });
+
+ // File upload handling
+ const dropZone = document.querySelector('.drop-zone');
+ const fileInput = document.querySelector('#fileInput');
+ const conversionOptions = document.querySelector('.conversion-options');
+
+ dropZone.addEventListener('click', () => fileInput.click());
+
+ dropZone.addEventListener('dragover', (e) => {
+ e.preventDefault();
+ dropZone.classList.add('drop-zone-drag');
+ });
+
+ dropZone.addEventListener('dragleave', () => {
+ dropZone.classList.remove('drop-zone-drag');
+ });
+
+ dropZone.addEventListener('drop', (e) => {
+ e.preventDefault();
+ dropZone.classList.remove('drop-zone-drag');
+
+ if (e.dataTransfer.files.length) {
+ fileInput.files = e.dataTransfer.files;
+ handleFile(e.dataTransfer.files[0]);
+ }
+ });
+
+ fileInput.addEventListener('change', (e) => {
+ if (e.target.files.length) {
+ handleFile(e.target.files[0]);
+ }
+ });
+
+ function handleFile(file) {
+ const prompt = dropZone.querySelector('.drop-zone-prompt');
+ prompt.textContent = file.name;
+ conversionOptions.hidden = false;
+ }
+
+ // Smooth scroll for navigation links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ if (target) {
+ target.scrollIntoView({
+ behavior: 'smooth',
+ block: 'start'
+ });
+ }
+ });
+ });
+
+ // Convert button functionality
+ const convertBtn = document.querySelector('#convertBtn');
+ convertBtn.addEventListener('click', () => {
+ // Add conversion logic here
+ alert('Conversion feature coming soon!');
+ });
+
+ // Add animation on scroll
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('animate');
+ }
+ });
+ }, { threshold: 0.1 });
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ observer.observe(card);
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..74e023c
--- /dev/null
+++ b/style.css
@@ -0,0 +1,248 @@
+:root {
+ --primary-color: #2563eb;
+ --secondary-color: #1e40af;
+ --background-color: #f8fafc;
+ --text-color: #1e293b;
+ --card-background: #ffffff;
+ --border-radius: 8px;
+ --transition: all 0.3s ease;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+}
+
+header {
+ background: var(--card-background);
+ box-shadow: 0 2px 10px 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);
+}
+
+.logo span {
+ color: var(--secondary-color);
+}
+
+.nav-links {
+ display: flex;
+ gap: 2rem;
+ list-style: none;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ transition: var(--transition);
+}
+
+.nav-links a:hover {
+ color: var(--primary-color);
+}
+
+.menu-toggle {
+ display: none;
+ flex-direction: column;
+ gap: 6px;
+ cursor: pointer;
+}
+
+.menu-toggle span {
+ width: 25px;
+ height: 3px;
+ background-color: var(--text-color);
+ transition: var(--transition);
+}
+
+main {
+ margin-top: 70px;
+}
+
+.hero {
+ text-align: center;
+ padding: 4rem 1rem;
+ background: linear-gradient(135deg, #4f46e5, #2563eb);
+ color: white;
+}
+
+.hero h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+}
+
+.cta-button {
+ background: white;
+ color: var(--primary-color);
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: var(--border-radius);
+ font-size: 1.1rem;
+ cursor: pointer;
+ transition: var(--transition);
+}
+
+.cta-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+}
+
+.features {
+ padding: 4rem 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+}
+
+.feature-card {
+ background: var(--card-background);
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ text-align: center;
+ transition: var(--transition);
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+.feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
+}
+
+.feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+}
+
+.converter {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 2rem 1rem;
+}
+
+.drop-zone {
+ border: 2px dashed var(--primary-color);
+ border-radius: var(--border-radius);
+ padding: 3rem;
+ text-align: center;
+ cursor: pointer;
+ transition: var(--transition);
+}
+
+.drop-zone:hover {
+ background-color: rgba(37, 99, 235, 0.05);
+}
+
+.conversion-options {
+ margin-top: 2rem;
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+}
+
+select, .convert-button {
+ padding: 0.5rem 1rem;
+ border-radius: var(--border-radius);
+ border: 1px solid var(--primary-color);
+}
+
+.convert-button {
+ background: var(--primary-color);
+ color: white;
+ cursor: pointer;
+ transition: var(--transition);
+}
+
+.convert-button:hover {
+ background: var(--secondary-color);
+}
+
+footer {
+ background: var(--card-background);
+ padding: 2rem 1rem;
+ margin-top: 4rem;
+}
+
+.footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.footer-nav {
+ display: flex;
+ gap: 2rem;
+}
+
+.footer-nav a {
+ color: var(--text-color);
+ text-decoration: none;
+ transition: var(--transition);
+}
+
+.footer-nav a:hover {
+ color: var(--primary-color);
+}
+
+@media (max-width: 768px) {
+ .menu-toggle {
+ display: flex;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: var(--card-background);
+ padding: 1rem;
+ flex-direction: column;
+ text-align: center;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero h1 {
+ font-size: 2rem;
+ }
+
+ .footer-content {
+ flex-direction: column;
+ gap: 1rem;
+ text-align: center;
+ }
+}
\ No newline at end of file