Changes to sparkscroll.pub.scroll.pub

root
root
10 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://sparkscroll.pub
+ metaTags
+ editButton /edit.html
+ title Spark - Daily Creative Inspiration
+ style.css
+ header
+ class hero
+ nav
+ div Spark
+ class logo
+ div
+ class nav-links
+ a Discover
+ href #discover
+ a Collections
+ href #collections
+ a Random
+ href #random
+ a Share
+ class cta-button
+ href #share
+ div
+ class hero-content
+ h1 Ignite Your Creativity
+ p Find daily inspiration for your next creative breakthrough
+ button Get Inspired
+ class pulse-button
+ onclick randomInspiration()
+ main
+ section
+ id discover
+ class inspiration-grid
+ h2 Today's Sparks
+ div
+ class card-container
+ div
+ class inspiration-card
+ h3 Design
+ p "Design is not just what it looks like and feels like. Design is how it works."
+ span - Steve Jobs
+ div
+ class inspiration-card
+ h3 Art
+ p "Art enables us to find ourselves and lose ourselves at the same time."
+ span - Thomas Merton
+ div
+ class inspiration-card
+ h3 Innovation
+ p "Innovation distinguishes between a leader and a follower."
+ span - Steve Jobs
+ section
+ id collections
+ class collections
+ h2 Creative Collections
+ div
+ class collection-grid
+ div
+ class collection-card
+ h3 Photography
+ div
+ class image-placeholder
+ span 📸
+ div
+ class collection-card
+ h3 Writing
+ div
+ class image-placeholder
+ span ✍️
+ div
+ class collection-card
+ h3 Music
+ div
+ class image-placeholder
+ span 🎵
+ div
+ class collection-card
+ h3 Code
+ div
+ class image-placeholder
+ span 💻
+ section
+ id random
+ class random-inspiration
+ h2 Random Inspiration
+ div
+ class quote-container
+ p
+ id random-quote
+ Click the button for random inspiration
+ button Refresh
+ class refresh-button
+ onclick randomInspiration()
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href #about
+ a Submit
+ href #submit
+ a Contact
+ href #contact
+ p Made with creativity by the Spark community
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_0168NDBZ5gAQdni5JbvDC6sy",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create an inspirational website called \"Spark\" - a place for creative inspiration and motivation.\n\n---domain---\nsparkscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://sparkscroll.pub\nmetaTags\neditButton /edit.html\ntitle Spark - Daily Creative Inspiration\nstyle.css\nheader\n class hero\n nav\n div Spark\n class logo\n div\n class nav-links\n a Discover\n href #discover\n a Collections\n href #collections\n a Random\n href #random\n a Share\n class cta-button\n href #share\n div\n class hero-content\n h1 Ignite Your Creativity\n p Find daily inspiration for your next creative breakthrough\n button Get Inspired\n class pulse-button\n onclick randomInspiration()\nmain\n section\n id discover\n class inspiration-grid\n h2 Today's Sparks\n div\n class card-container\n div\n class inspiration-card\n h3 Design\n p \"Design is not just what it looks like and feels like. Design is how it works.\"\n span - Steve Jobs\n div\n class inspiration-card\n h3 Art\n p \"Art enables us to find ourselves and lose ourselves at the same time.\"\n span - Thomas Merton\n div\n class inspiration-card\n h3 Innovation\n p \"Innovation distinguishes between a leader and a follower.\"\n span - Steve Jobs\n section\n id collections\n class collections\n h2 Creative Collections\n div\n class collection-grid\n div\n class collection-card\n h3 Photography\n div\n class image-placeholder\n span 📸\n div\n class collection-card\n h3 Writing\n div\n class image-placeholder\n span ✍️\n div\n class collection-card\n h3 Music\n div\n class image-placeholder\n span 🎵\n div\n class collection-card\n h3 Code\n div\n class image-placeholder\n span 💻\n section\n id random\n class random-inspiration\n h2 Random Inspiration\n div\n class quote-container\n p\n id random-quote\n Click the button for random inspiration\n button Refresh\n class refresh-button\n onclick randomInspiration()\nfooter\n div\n class footer-content\n div\n class footer-links\n a About\n href #about\n a Submit\n href #submit\n a Contact\n href #contact\n p Made with creativity by the Spark community\nscript.js\n---style.css---\n:root {\n --primary-color: #6366f1;\n --secondary-color: #818cf8;\n --background: #f8fafc;\n --text-primary: #1e293b;\n --text-secondary: #64748b;\n --card-bg: #ffffff;\n --animation-speed: 0.3s;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Inter', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-primary);\n background: var(--background);\n}\n\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 2rem;\n text-align: center;\n min-height: 60vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n z-index: 1000;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n text-transform: uppercase;\n letter-spacing: 2px;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n transition: var(--animation-speed);\n}\n\n.cta-button {\n background: white;\n color: var(--primary-color) !important;\n padding: 0.5rem 1rem;\n border-radius: 25px;\n font-weight: bold;\n}\n\n.pulse-button {\n background: white;\n color: var(--primary-color);\n border: none;\n padding: 1rem 2rem;\n border-radius: 25px;\n font-weight: bold;\n cursor: pointer;\n animation: pulse 2s infinite;\n}\n\n@keyframes pulse {\n 0% { transform: scale(1); }\n 50% { transform: scale(1.05); }\n 100% { transform: scale(1); }\n}\n\n.inspiration-grid {\n padding: 4rem 2rem;\n}\n\n.card-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.inspiration-card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 15px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: var(--animation-speed);\n}\n\n.inspiration-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);\n}\n\n.collection-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 4rem 2rem;\n}\n\n.collection-card {\n background: var(--card-bg);\n border-radius: 15px;\n overflow: hidden;\n transition: var(--animation-speed);\n}\n\n.image-placeholder {\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n height: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 3rem;\n}\n\n.random-inspiration {\n text-align: center;\n padding: 4rem 2rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n color: white;\n}\n\n.quote-container {\n max-width: 800px;\n margin: 2rem auto;\n font-size: 1.5rem;\n}\n\n.refresh-button {\n background: white;\n color: var(--primary-color);\n border: none;\n padding: 1rem 2rem;\n border-radius: 25px;\n cursor: pointer;\n transition: var(--animation-speed);\n}\n\nfooter {\n background: var(--text-primary);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n margin-bottom: 1rem;\n}\n\n.footer-links a {\n color: white;\n text-decoration: none;\n}\n\n@media (max-width: 768px) {\n nav {\n flex-direction: column;\n gap: 1rem;\n }\n \n .nav-links {\n flex-direction: column;\n align-items: center;\n }\n \n .hero {\n padding: 4rem 1rem;\n }\n \n .card-container {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\nconst quotes = [\n \"Creativity is intelligence having fun. - Albert Einstein\",\n \"Innovation is the ability to see change as an opportunity. - Steve Jobs\",\n \"The best way to predict the future is to create it. - Peter Drucker\",\n \"Everything you can imagine is real. - Pablo Picasso\",\n \"Creativity is contagious, pass it on. - Albert Einstein\"\n];\n\nfunction randomInspiration() {\n const quote = quotes[Math.floor(Math.random() * quotes.length)];\n document.getElementById('random-quote').textContent = quote;\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n // Initialize random quote\n randomInspiration();\n \n // Smooth scroll for navigation\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Navigation background change on scroll\n window.addEventListener('scroll', () => {\n const nav = document.querySelector('nav');\n if (window.scrollY > 100) {\n nav.style.background = 'rgba(99, 102, 241, 0.9)';\n } else {\n nav.style.background = 'rgba(255, 255, 255, 0.1)';\n }\n });\n});\n---end---\n\nThis website features:\n1. Modern, clean design with gradient accents\n2. Responsive layout that works on all devices\n3. Interactive elements like a random quote generator\n4. Smooth animations and transitions\n5. Fixed navigation with scroll effect\n6. Card-based layout for content organization\n7. Accessible color contrast and semantic HTML\n8. Smooth scrolling navigation\n9. Hover effects and micro-interactions\n10. Beautiful typography and spacing\n\nThe CSS includes modern features like CSS Grid, Flexbox, CSS Variables, and smooth animations. The JavaScript provides interactivity with the random quote generator and smooth scrolling functionality."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 820,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2542
+ }
+ }
readme.scroll
Changed around line 1
+ # sparkscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: claude
+ Model: claude-3-5-sonnet-20241022
+
+ ## User prompt
+ a website for inspiration
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "a website for inspiration"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ const quotes = [
+ "Creativity is intelligence having fun. - Albert Einstein",
+ "Innovation is the ability to see change as an opportunity. - Steve Jobs",
+ "The best way to predict the future is to create it. - Peter Drucker",
+ "Everything you can imagine is real. - Pablo Picasso",
+ "Creativity is contagious, pass it on. - Albert Einstein"
+ ];
+
+ function randomInspiration() {
+ const quote = quotes[Math.floor(Math.random() * quotes.length)];
+ document.getElementById('random-quote').textContent = quote;
+ }
+
+ document.addEventListener('DOMContentLoaded', () => {
+ // Initialize random quote
+ randomInspiration();
+
+ // Smooth scroll for navigation
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Navigation background change on scroll
+ window.addEventListener('scroll', () => {
+ const nav = document.querySelector('nav');
+ if (window.scrollY > 100) {
+ nav.style.background = 'rgba(99, 102, 241, 0.9)';
+ } else {
+ nav.style.background = 'rgba(255, 255, 255, 0.1)';
+ }
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #6366f1;
+ --secondary-color: #818cf8;
+ --background: #f8fafc;
+ --text-primary: #1e293b;
+ --text-secondary: #64748b;
+ --card-bg: #ffffff;
+ --animation-speed: 0.3s;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Inter', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-primary);
+ background: var(--background);
+ }
+
+ .hero {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ min-height: 60vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ z-index: 1000;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ transition: var(--animation-speed);
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary-color) !important;
+ padding: 0.5rem 1rem;
+ border-radius: 25px;
+ font-weight: bold;
+ }
+
+ .pulse-button {
+ background: white;
+ color: var(--primary-color);
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 25px;
+ font-weight: bold;
+ cursor: pointer;
+ animation: pulse 2s infinite;
+ }
+
+ @keyframes pulse {
+ 0% { transform: scale(1); }
+ 50% { transform: scale(1.05); }
+ 100% { transform: scale(1); }
+ }
+
+ .inspiration-grid {
+ padding: 4rem 2rem;
+ }
+
+ .card-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .inspiration-card {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 15px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ transition: var(--animation-speed);
+ }
+
+ .inspiration-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
+ }
+
+ .collection-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 4rem 2rem;
+ }
+
+ .collection-card {
+ background: var(--card-bg);
+ border-radius: 15px;
+ overflow: hidden;
+ transition: var(--animation-speed);
+ }
+
+ .image-placeholder {
+ background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
+ height: 200px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 3rem;
+ }
+
+ .random-inspiration {
+ text-align: center;
+ padding: 4rem 2rem;
+ background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ }
+
+ .quote-container {
+ max-width: 800px;
+ margin: 2rem auto;
+ font-size: 1.5rem;
+ }
+
+ .refresh-button {
+ background: white;
+ color: var(--primary-color);
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 25px;
+ cursor: pointer;
+ transition: var(--animation-speed);
+ }
+
+ footer {
+ background: var(--text-primary);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ }
+
+ @media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .nav-links {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .hero {
+ padding: 4rem 1rem;
+ }
+
+ .card-container {
+ grid-template-columns: 1fr;
+ }
+ }