Changes to decapsvelte.scroll.pub

root
root
6 hours ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://decap-svelte.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Decap CMS + SvelteKit
+ style.css
+ header
+ class hero
+ nav
+ div Decap+Svelte
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Docs
+ href #docs
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/decaporg/decap-cms
+ div
+ class hero-content
+ h1 Modern Content Management
+ p Decap CMS meets SvelteKit for blazing-fast static sites with Git-based content
+ a Get Started
+ class primary-button
+ href #docs
+ main
+ section
+ id features
+ class features
+ h2 Why This Stack?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Git-Based
+ p Content stored directly in your repository for full version control.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Svelte Magic
+ p Enjoy Svelte's compiler optimizations and reactive stores.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Customizable
+ p Extend the CMS with custom widgets and previews.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Blazing Fast
+ p Static output with SvelteKit's adapter-static.
+ section
+ id docs
+ class docs
+ h2 Quick Start
+ div
+ class terminal
+ pre
+ class code-example
+ | npm create svelte@latest my-app
+ | cd my-app
+ | npm install decap-cms @sveltejs/adapter-static
+ | # Configure svelte.config.js
+ | # Add admin/index.html
+ | npm run build
+ p See the full documentation for detailed setup instructions.
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://decapcms.org/docs/sveltekit/
+ a Community
+ href https://discord.gg/PuSA6YN
+ a Blog
+ href https://decapcms.org/blog
+ p A perfect pairing for modern Jamstack development.
prompt.json
Changed around line 1
+ {
+ "id": "50953d5d-48ab-453d-a6f3-b06e6b54f5a3",
+ "object": "chat.completion",
+ "created": 1745081097,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's a professional, mobile-responsive website for \"Decap CMS with SvelteKit\" with beautiful CSS:\n\n---domain---\ndecap-svelte.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://decap-svelte.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Decap CMS + SvelteKit\nstyle.css\nheader\n class hero\n nav\n div Decap+Svelte\n class logo\n div\n class nav-links\n a Features\n href #features\n a Docs\n href #docs\n a Edit\n href edit.html\n a GitHub\n class cta-button\n href https://github.com/decaporg/decap-cms\n div\n class hero-content\n h1 Modern Content Management\n p Decap CMS meets SvelteKit for blazing-fast static sites with Git-based content\n a Get Started\n class primary-button\n href #docs\nmain\n section\n id features\n class features\n h2 Why This Stack?\n div\n class feature-grid\n div\n class feature-card\n div ⚡\n class feature-icon\n h3 Git-Based\n p Content stored directly in your repository for full version control.\n div\n class feature-card\n div 🧩\n class feature-icon\n h3 Svelte Magic\n p Enjoy Svelte's compiler optimizations and reactive stores.\n div\n class feature-card\n div 🎨\n class feature-icon\n h3 Customizable\n p Extend the CMS with custom widgets and previews.\n div\n class feature-card\n div 🚀\n class feature-icon\n h3 Blazing Fast\n p Static output with SvelteKit's adapter-static.\n section\n id docs\n class docs\n h2 Quick Start\n div\n class terminal\n pre\n class code-example\n | npm create svelte@latest my-app\n | cd my-app\n | npm install decap-cms @sveltejs/adapter-static\n | # Configure svelte.config.js\n | # Add admin/index.html\n | npm run build\n p See the full documentation for detailed setup instructions.\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href https://decapcms.org/docs/sveltekit/\n a Community\n href https://discord.gg/PuSA6YN\n a Blog\n href https://decapcms.org/blog\n p A perfect pairing for modern Jamstack development.\n---style.css---\n:root {\n --primary: #4f46e5;\n --primary-light: #6366f1;\n --dark: #1e293b;\n --light: #f8fafc;\n --gray: #94a3b8;\n --success: #10b981;\n --warning: #f59e0b;\n --danger: #ef4444;\n --radius: 0.5rem;\n --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);\n --transition: all 0.2s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background: var(--light);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--primary-light));\n color: white;\n padding: 2rem 1rem;\n min-height: 80vh;\n display: flex;\n flex-direction: column;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n width: 100%;\n padding: 1rem 0;\n}\n\n.logo {\n font-weight: 800;\n font-size: 1.5rem;\n color: white;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n align-items: center;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.cta-button {\n background: white;\n color: var(--primary);\n padding: 0.5rem 1rem;\n border-radius: var(--radius);\n font-weight: 600;\n}\n\n.hero-content {\n max-width: 800px;\n margin: auto;\n text-align: center;\n padding: 4rem 1rem;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1.5rem;\n line-height: 1.2;\n}\n\n.hero-content p {\n font-size: 1.25rem;\n margin-bottom: 2rem;\n opacity: 0.9;\n}\n\n.primary-button {\n background: white;\n color: var(--primary);\n padding: 0.75rem 2rem;\n border-radius: var(--radius);\n font-weight: 600;\n text-decoration: none;\n display: inline-block;\n transition: var(--transition);\n box-shadow: var(--shadow);\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 4rem 1rem;\n}\n\nsection {\n margin-bottom: 6rem;\n}\n\nh2 {\n font-size: 2.5rem;\n margin-bottom: 3rem;\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: white;\n padding: 2rem;\n border-radius: var(--radius);\n box-shadow: var(--shadow);\n transition: var(--transition);\n text-align: center;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.feature-card h3 {\n font-size: 1.25rem;\n margin-bottom: 1rem;\n}\n\n.terminal {\n background: var(--dark);\n color: white;\n border-radius: var(--radius) var(--radius) 0 0;\n padding: 1rem;\n font-family: 'Fira Code', monospace;\n display: flex;\n align-items: center;\n}\n\n.terminal::before {\n content: '>';\n margin-right: 0.5rem;\n color: var(--success);\n}\n\n.code-example {\n background: #f3f4f6;\n padding: 2rem;\n border-radius: 0 0 var(--radius) var(--radius);\n overflow-x: auto;\n font-family: 'Fira Code', monospace;\n color: var(--dark);\n line-height: 1.7;\n}\n\nfooter {\n background: var(--dark);\n color: white;\n padding: 4rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 2rem;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n justify-content: center;\n}\n\n.footer-links a {\n color: white;\n text-decoration: none;\n transition: var(--transition);\n}\n\n.footer-links a:hover {\n color: var(--gray);\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.5rem;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n \n .footer-links {\n flex-direction: column;\n align-items: center;\n gap: 1rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n const targetId = this.getAttribute('href');\n if (targetId === '#') return;\n \n const targetElement = document.querySelector(targetId);\n if (targetElement) {\n targetElement.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n }\n });\n });\n\n // Add animation class to feature cards when they come into view\n const observerOptions = {\n threshold: 0.1\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n }, observerOptions);\n\n document.querySelectorAll('.feature-card').forEach(card => {\n observer.observe(card);\n });\n\n // Mobile menu toggle would go here if needed\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 724,
+ "completion_tokens": 2119,
+ "total_tokens": 2843,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 724
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # decap-svelte.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ decap cms sveltekit
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "decap cms sveltekit"
+
+ 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
+ document.addEventListener('DOMContentLoaded', () => {
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const targetId = this.getAttribute('href');
+ if (targetId === '#') return;
+
+ const targetElement = document.querySelector(targetId);
+ if (targetElement) {
+ targetElement.scrollIntoView({
+ behavior: 'smooth',
+ block: 'start'
+ });
+ }
+ });
+ });
+
+ // Add animation class to feature cards when they come into view
+ const observerOptions = {
+ threshold: 0.1
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('animate');
+ }
+ });
+ }, observerOptions);
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ observer.observe(card);
+ });
+
+ // Mobile menu toggle would go here if needed
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #4f46e5;
+ --primary-light: #6366f1;
+ --dark: #1e293b;
+ --light: #f8fafc;
+ --gray: #94a3b8;
+ --success: #10b981;
+ --warning: #f59e0b;
+ --danger: #ef4444;
+ --radius: 0.5rem;
+ --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
+ --transition: all 0.2s ease;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
+ line-height: 1.6;
+ color: var(--dark);
+ background: var(--light);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--primary-light));
+ color: white;
+ padding: 2rem 1rem;
+ min-height: 80vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ width: 100%;
+ padding: 1rem 0;
+ }
+
+ .logo {
+ font-weight: 800;
+ font-size: 1.5rem;
+ color: white;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: var(--transition);
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.5rem 1rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: auto;
+ text-align: center;
+ padding: 4rem 1rem;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1.5rem;
+ line-height: 1.2;
+ }
+
+ .hero-content p {
+ font-size: 1.25rem;
+ margin-bottom: 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.75rem 2rem;
+ border-radius: var(--radius);
+ font-weight: 600;
+ text-decoration: none;
+ display: inline-block;
+ transition: var(--transition);
+ box-shadow: var(--shadow);
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 4rem 1rem;
+ }
+
+ section {
+ margin-bottom: 6rem;
+ }
+
+ h2 {
+ font-size: 2.5rem;
+ margin-bottom: 3rem;
+ text-align: center;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .feature-card {
+ background: white;
+ padding: 2rem;
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ transition: var(--transition);
+ text-align: center;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
+ }
+
+ .feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .feature-card h3 {
+ font-size: 1.25rem;
+ margin-bottom: 1rem;
+ }
+
+ .terminal {
+ background: var(--dark);
+ color: white;
+ border-radius: var(--radius) var(--radius) 0 0;
+ padding: 1rem;
+ font-family: 'Fira Code', monospace;
+ display: flex;
+ align-items: center;
+ }
+
+ .terminal::before {
+ content: '>';
+ margin-right: 0.5rem;
+ color: var(--success);
+ }
+
+ .code-example {
+ background: #f3f4f6;
+ padding: 2rem;
+ border-radius: 0 0 var(--radius) var(--radius);
+ overflow-x: auto;
+ font-family: 'Fira Code', monospace;
+ color: var(--dark);
+ line-height: 1.7;
+ }
+
+ footer {
+ background: var(--dark);
+ color: white;
+ padding: 4rem 1rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ justify-content: center;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ transition: var(--transition);
+ }
+
+ .footer-links a:hover {
+ color: var(--gray);
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ align-items: center;
+ gap: 1rem;
+ }
+ }