Changes to testscroll.pub.scroll.pub

root
root
2 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://testscroll.pub
+ metaTags
+ editButton /edit.html
+ title Test Scroll
+ style.css
+
+ header
+ class hero
+ nav
+ div Test Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ main
+ section
+ id features
+ class features
+ h2 Features
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple
+ p Clean and minimal design.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Responsive
+ p Works on all devices.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful
+ p Advanced CSS animations.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast
+ p Optimized for performance.
+ section
+ id examples
+ class code-demo
+ h2 Examples
+ 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://testscroll.pub/docs
+ a Community
+ href https://testscroll.pub/community
+ a Blog
+ href https://testscroll.pub/blog
+ p Created with ❤️ by the Test Scroll community.
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "4e94a926-9b5f-41a1-a3d8-87fc2bc79f62",
+ "object": "chat.completion",
+ "created": 1738058519,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ntestscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://testscroll.pub\nmetaTags\neditButton /edit.html\ntitle Test Scroll\nstyle.css\n\nheader\n class hero\n nav\n div Test Scroll\n class logo\n div\n class nav-links\n a Features\n href #features\n a Examples\n href #examples\n a Edit\n href edit.html\nmain\n section\n id features\n class features\n h2 Features\n div\n class feature-grid\n div\n class feature-card\n div ⚡\n class feature-icon\n h3 Simple\n p Clean and minimal design.\n div\n class feature-card\n div 🧩\n class feature-icon\n h3 Responsive\n p Works on all devices.\n div\n class feature-card\n div 🎨\n class feature-icon\n h3 Beautiful\n p Advanced CSS animations.\n div\n class feature-card\n div 🚀\n class feature-icon\n h3 Fast\n p Optimized for performance.\n section\n id examples\n class code-demo\n h2 Examples\n div\n class code-container\n pre\n class code-example\n div\n class code-output\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href https://testscroll.pub/docs\n a Community\n href https://testscroll.pub/community\n a Blog\n href https://testscroll.pub/blog\n p Created with ❤️ by the Test Scroll community.\n\nscript.js\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --card-bg: #ffffff;\n --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Inter', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\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}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n justify-content: center;\n gap: 1rem;\n margin-top: 1rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n transition: background-color 0.3s;\n}\n\n.nav-links a:hover {\n background-color: rgba(255, 255, 255, 0.1);\n}\n\n.features {\n padding: 4rem 2rem;\n text-align: center;\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-bg);\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: var(--shadow);\n transition: transform 0.3s, box-shadow 0.3s;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n}\n\n.feature-icon {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\n.code-demo {\n padding: 4rem 2rem;\n background: var(--card-bg);\n}\n\n.code-container {\n background: #1e293b;\n color: white;\n padding: 1rem;\n border-radius: 0.5rem;\n margin-top: 1rem;\n}\n\n.footer-content {\n padding: 2rem;\n text-align: center;\n background: var(--primary-color);\n color: white;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 1rem;\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-links {\n flex-direction: column;\n }\n\n .feature-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\n// Smooth scrolling for anchor links\ndocument.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// Add a class to the body when scrolled\nwindow.addEventListener('scroll', function() {\n if (window.scrollY > 50) {\n document.body.classList.add('scrolled');\n } else {\n document.body.classList.remove('scrolled');\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 717,
+ "completion_tokens": 1184,
+ "total_tokens": 1901,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 717
+ },
+ "system_fingerprint": "fp_3a5770e1b4"
+ }
readme.scroll
Changed around line 1
+ # testscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ test
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "test"
+
+ 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
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Add a class to the body when scrolled
+ window.addEventListener('scroll', function() {
+ if (window.scrollY > 50) {
+ document.body.classList.add('scrolled');
+ } else {
+ document.body.classList.remove('scrolled');
+ }
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2563eb;
+ --secondary-color: #1e40af;
+ --background-color: #f8fafc;
+ --text-color: #1e293b;
+ --card-bg: #ffffff;
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Inter', sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ }
+
+ .hero {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .logo {
+ font-size: 2rem;
+ font-weight: bold;
+ }
+
+ .nav-links {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-top: 1rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ padding: 0.5rem 1rem;
+ border-radius: 0.5rem;
+ transition: background-color 0.3s;
+ }
+
+ .nav-links a:hover {
+ background-color: rgba(255, 255, 255, 0.1);
+ }
+
+ .features {
+ padding: 4rem 2rem;
+ text-align: center;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .feature-card {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 1rem;
+ box-shadow: var(--shadow);
+ transition: transform 0.3s, box-shadow 0.3s;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
+ }
+
+ .feature-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ .code-demo {
+ padding: 4rem 2rem;
+ background: var(--card-bg);
+ }
+
+ .code-container {
+ background: #1e293b;
+ color: white;
+ padding: 1rem;
+ border-radius: 0.5rem;
+ margin-top: 1rem;
+ }
+
+ .footer-content {
+ padding: 2rem;
+ text-align: center;
+ background: var(--primary-color);
+ color: white;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ flex-direction: column;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+ }