commit 490e500e1d727e3d96055f97cbb65445d8282e81
Author: root <root@hub.scroll.pub>
Date: 2025-01-03 15:02:44 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..80f1757
--- /dev/null
+++ b/body.html
@@ -0,0 +1,87 @@
+<header>
+ <nav>
+ <div class="logo">Emacs</div>
+ <button class="menu-toggle" aria-label="Toggle menu">
+ <span></span><span></span><span></span>
+ </button>
+ <ul class="nav-links">
+ <li><a href="#features">Features</a></li>
+ <li><a href="#getting-started">Get Started</a></li>
+ <li><a href="#commands">Commands</a></li>
+ <li><a href="#customize">Customize</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <h1>GNU Emacs</h1>
+ <p class="tagline">The extensible, customizable, self-documenting text editor</p>
+ <div class="cta-buttons">
+ <a href="#download" class="cta-primary">Download</a>
+ <a href="#learn" class="cta-secondary">Learn More</a>
+ </div>
+ </section>
+
+ <section id="features" class="features">
+ <h2>Why Choose Emacs?</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">⚡</div>
+ <h3>Powerful</h3>
+ <p>Complete integrated environment for editing, development, and more</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔧</div>
+ <h3>Customizable</h3>
+ <p>Extensively configurable using Emacs Lisp</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">📚</div>
+ <h3>Self-documenting</h3>
+ <p>Built-in documentation and help system</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔌</div>
+ <h3>Extensible</h3>
+ <p>Thousands of packages available for every need</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="getting-started" class="getting-started">
+ <h2>Getting Started</h2>
+ <div class="terminal">
+ <div class="terminal-header">
+ <span class="terminal-button"></span>
+ <span class="terminal-button"></span>
+ <span class="terminal-button"></span>
+ </div>
+ <code>
+ $ sudo apt install emacs<br>
+ $ emacs
+ </code>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h4>Resources</h4>
+ <ul>
+ <li><a href="#documentation">Documentation</a></li>
+ <li><a href="#tutorials">Tutorials</a></li>
+ <li><a href="#community">Community</a></li>
+ </ul>
+ </div>
+ <div class="footer-section">
+ <h4>Connect</h4>
+ <ul>
+ <li><a href="#github">GitHub</a></li>
+ <li><a href="#mailing-list">Mailing List</a></li>
+ <li><a href="#irc">IRC Channel</a></li>
+ </ul>
+ </div>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..811a602
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://emacs-guide.scroll.pub
+metaTags
+editButton /edit.html
+title Emacs - The Extensible Text Editor
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..2c9fe9b
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01ESxBRR2cFC25Vakpaj6Sje",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a website about Emacs, the powerful text editor. Here's a clean, modern implementation:\n\n---domain---\nemacs-guide.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://emacs-guide.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Emacs - The Extensible Text Editor\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">Emacs</div>\n <button class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#features\">Features</a></li>\n <li><a href=\"#getting-started\">Get Started</a></li>\n <li><a href=\"#commands\">Commands</a></li>\n <li><a href=\"#customize\">Customize</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>GNU Emacs</h1>\n <p class=\"tagline\">The extensible, customizable, self-documenting text editor</p>\n <div class=\"cta-buttons\">\n <a href=\"#download\" class=\"cta-primary\">Download</a>\n <a href=\"#learn\" class=\"cta-secondary\">Learn More</a>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Why Choose Emacs?</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">⚡</div>\n <h3>Powerful</h3>\n <p>Complete integrated environment for editing, development, and more</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔧</div>\n <h3>Customizable</h3>\n <p>Extensively configurable using Emacs Lisp</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📚</div>\n <h3>Self-documenting</h3>\n <p>Built-in documentation and help system</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔌</div>\n <h3>Extensible</h3>\n <p>Thousands of packages available for every need</p>\n </div>\n </div>\n </section>\n\n <section id=\"getting-started\" class=\"getting-started\">\n <h2>Getting Started</h2>\n <div class=\"terminal\">\n <div class=\"terminal-header\">\n <span class=\"terminal-button\"></span>\n <span class=\"terminal-button\"></span>\n <span class=\"terminal-button\"></span>\n </div>\n <code>\n $ sudo apt install emacs<br>\n $ emacs\n </code>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>Resources</h4>\n <ul>\n <li><a href=\"#documentation\">Documentation</a></li>\n <li><a href=\"#tutorials\">Tutorials</a></li>\n <li><a href=\"#community\">Community</a></li>\n </ul>\n </div>\n <div class=\"footer-section\">\n <h4>Connect</h4>\n <ul>\n <li><a href=\"#github\">GitHub</a></li>\n <li><a href=\"#mailing-list\">Mailing List</a></li>\n <li><a href=\"#irc\">IRC Channel</a></li>\n </ul>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #6c5ce7;\n --secondary-color: #a29bfe;\n --text-color: #2d3436;\n --background-color: #ffffff;\n --accent-color: #fd79a8;\n --spacing-unit: 1rem;\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\n/* Header & Navigation */\nheader {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n padding: var(--spacing-unit);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\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: white;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n transition: opacity 0.3s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding: 2rem;\n background: linear-gradient(rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));\n}\n\n.hero h1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n background: linear-gradient(135deg, var(--primary-color), var(--accent-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n animation: titleFade 1s ease-in;\n}\n\n.tagline {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n color: var(--text-color);\n}\n\n/* Feature Cards */\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.feature-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\n/* Terminal */\n.terminal {\n background: #2d3436;\n border-radius: 10px;\n padding: 2rem;\n margin: 2rem;\n color: #fff;\n font-family: monospace;\n}\n\n.terminal-header {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1rem;\n}\n\n.terminal-button {\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: #ff6b6b;\n}\n\n.terminal-button:nth-child(2) {\n background: #ffd93d;\n}\n\n.terminal-button:nth-child(3) {\n background: #6c5ce7;\n}\n\n/* Animations */\n@keyframes titleFade {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* Mobile Responsiveness */\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .menu-toggle {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n \n .menu-toggle span {\n display: block;\n width: 25px;\n height: 3px;\n background: white;\n margin: 5px 0;\n transition: 0.3s;\n }\n \n .hero h1 {\n font-size: 2.5rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\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.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';\n });\n\n // Smooth scrolling for anchor 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 // Add intersection observer for fade-in animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n }\n });\n }, {\n threshold: 0.1\n });\n\n document.querySelectorAll('.feature-card').forEach(card => {\n observer.observe(card);\n });\n});\n\n---end---\n\nThis implementation features:\n- Clean, semantic HTML5 structure\n- Modern CSS with variables, flexbox, and grid\n- Smooth animations and transitions\n- Mobile-responsive design\n- Accessible navigation and structure\n- Interactive elements with JavaScript\n- Beautiful gradient effects and card designs\n- Terminal-style code display\n- Professional typography and spacing\n- SEO-friendly structure\n\nThe design is both minimal and engaging, with subtle animations and interactions that make it feel modern and professional while maintaining focus on the content about Emacs."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 272,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2733
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..4b73ed2
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# emacs-guide.scroll.pub
+Website generated by Claude from prompt: emacs
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..f11f62d
--- /dev/null
+++ b/script.js
@@ -0,0 +1,38 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const menuToggle = document.querySelector('.menu-toggle');
+ const navLinks = document.querySelector('.nav-links');
+
+ menuToggle?.addEventListener('click', () => {
+ navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';
+ });
+
+ // Smooth scrolling for anchor 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'
+ });
+ }
+ });
+ });
+
+ // Add intersection observer for fade-in animations
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('visible');
+ }
+ });
+ }, {
+ threshold: 0.1
+ });
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ observer.observe(card);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..d7c112f
--- /dev/null
+++ b/style.css
@@ -0,0 +1,188 @@
+:root {
+ --primary-color: #6c5ce7;
+ --secondary-color: #a29bfe;
+ --text-color: #2d3436;
+ --background-color: #ffffff;
+ --accent-color: #fd79a8;
+ --spacing-unit: 1rem;
+}
+
+* {
+ 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 & Navigation */
+header {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ padding: var(--spacing-unit);
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 1000;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+}
+
+nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: white;
+}
+
+.nav-links {
+ display: flex;
+ list-style: none;
+ gap: 2rem;
+}
+
+.nav-links a {
+ color: white;
+ text-decoration: none;
+ transition: opacity 0.3s;
+}
+
+.nav-links a:hover {
+ opacity: 0.8;
+}
+
+/* Hero Section */
+.hero {
+ height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ padding: 2rem;
+ background: linear-gradient(rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
+}
+
+.hero h1 {
+ font-size: 4rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ animation: titleFade 1s ease-in;
+}
+
+.tagline {
+ font-size: 1.5rem;
+ margin-bottom: 2rem;
+ color: var(--text-color);
+}
+
+/* Feature Cards */
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+}
+
+.feature-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+ transition: transform 0.3s ease;
+}
+
+.feature-card:hover {
+ transform: translateY(-5px);
+}
+
+.feature-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+}
+
+/* Terminal */
+.terminal {
+ background: #2d3436;
+ border-radius: 10px;
+ padding: 2rem;
+ margin: 2rem;
+ color: #fff;
+ font-family: monospace;
+}
+
+.terminal-header {
+ display: flex;
+ gap: 0.5rem;
+ margin-bottom: 1rem;
+}
+
+.terminal-button {
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ background: #ff6b6b;
+}
+
+.terminal-button:nth-child(2) {
+ background: #ffd93d;
+}
+
+.terminal-button:nth-child(3) {
+ background: #6c5ce7;
+}
+
+/* Animations */
+@keyframes titleFade {
+ from {
+ opacity: 0;
+ transform: translateY(20px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+/* Mobile Responsiveness */
+@media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .menu-toggle {
+ display: block;
+ background: none;
+ border: none;
+ cursor: pointer;
+ }
+
+ .menu-toggle span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background: white;
+ margin: 5px 0;
+ transition: 0.3s;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+}