Changes to recipes.scroll.pub

root
root
8 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://recipes.scroll.pub
+ metaTags
+ editButton /edit.html
+ title My Recipe Collection
+ style.css
+ header
+ class hero
+ nav
+ div RecipeScroll
+ class logo
+ div
+ class nav-links
+ a Breakfast
+ href #breakfast
+ a Lunch
+ href #lunch
+ a Dinner
+ href #dinner
+ a Add Recipe
+ class cta-button
+ href add.html
+ div
+ class hero-content
+ h1 My Favorite Recipes
+ p Simple, delicious meals to share with friends and family
+ main
+ section
+ id breakfast
+ class recipe-section
+ h2 Breakfast
+ div
+ class recipe-grid
+ article
+ class recipe-card
+ img src pancakes.jpg
+ alt Fluffy Pancakes
+ div
+ class recipe-content
+ h3 Fluffy Pancakes
+ p Light and airy pancakes with maple syrup
+ a View Recipe
+ href pancakes.html
+ article
+ class recipe-card
+ img src omelette.jpg
+ alt Vegetable Omelette
+ div
+ class recipe-content
+ h3 Vegetable Omelette
+ p Packed with fresh veggies and cheese
+ a View Recipe
+ href omelette.html
+ section
+ id lunch
+ class recipe-section
+ h2 Lunch
+ div
+ class recipe-grid
+ article
+ class recipe-card
+ img src salad.jpg
+ alt Summer Salad
+ div
+ class recipe-content
+ h3 Summer Salad
+ p Fresh greens with seasonal vegetables
+ a View Recipe
+ href salad.html
+ article
+ class recipe-card
+ img src sandwich.jpg
+ alt Club Sandwich
+ div
+ class recipe-content
+ h3 Club Sandwich
+ p Triple-decker with turkey and bacon
+ a View Recipe
+ href sandwich.html
+ section
+ id dinner
+ class recipe-section
+ h2 Dinner
+ div
+ class recipe-grid
+ article
+ class recipe-card
+ img src pasta.jpg
+ alt Creamy Pasta
+ div
+ class recipe-content
+ h3 Creamy Pasta
+ p Rich and flavorful garlic parmesan sauce
+ a View Recipe
+ href pasta.html
+ article
+ class recipe-card
+ img src salmon.jpg
+ alt Baked Salmon
+ div
+ class recipe-content
+ h3 Baked Salmon
+ p Lemon herb crusted salmon fillet
+ a View Recipe
+ href salmon.html
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href about.html
+ a Contact
+ href contact.html
+ p Made with love in my kitchen
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "4d0883cc-dc28-4760-9237-2e08aaff8d9d",
+ "object": "chat.completion",
+ "created": 1744330358,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's my suggestion for a recipe sharing website built with Scroll:\n\n---domain---\nrecipes.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://recipes.scroll.pub\nmetaTags\neditButton /edit.html\ntitle My Recipe Collection\nstyle.css\nheader\n class hero\n nav\n div RecipeScroll\n class logo\n div\n class nav-links\n a Breakfast\n href #breakfast\n a Lunch\n href #lunch\n a Dinner\n href #dinner\n a Add Recipe\n class cta-button\n href add.html\n div\n class hero-content\n h1 My Favorite Recipes\n p Simple, delicious meals to share with friends and family\nmain\n section\n id breakfast\n class recipe-section\n h2 Breakfast\n div\n class recipe-grid\n article\n class recipe-card\n img src pancakes.jpg\n alt Fluffy Pancakes\n div\n class recipe-content\n h3 Fluffy Pancakes\n p Light and airy pancakes with maple syrup\n a View Recipe\n href pancakes.html\n article\n class recipe-card\n img src omelette.jpg\n alt Vegetable Omelette\n div\n class recipe-content\n h3 Vegetable Omelette\n p Packed with fresh veggies and cheese\n a View Recipe\n href omelette.html\n section\n id lunch\n class recipe-section\n h2 Lunch\n div\n class recipe-grid\n article\n class recipe-card\n img src salad.jpg\n alt Summer Salad\n div\n class recipe-content\n h3 Summer Salad\n p Fresh greens with seasonal vegetables\n a View Recipe\n href salad.html\n article\n class recipe-card\n img src sandwich.jpg\n alt Club Sandwich\n div\n class recipe-content\n h3 Club Sandwich\n p Triple-decker with turkey and bacon\n a View Recipe\n href sandwich.html\n section\n id dinner\n class recipe-section\n h2 Dinner\n div\n class recipe-grid\n article\n class recipe-card\n img src pasta.jpg\n alt Creamy Pasta\n div\n class recipe-content\n h3 Creamy Pasta\n p Rich and flavorful garlic parmesan sauce\n a View Recipe\n href pasta.html\n article\n class recipe-card\n img src salmon.jpg\n alt Baked Salmon\n div\n class recipe-content\n h3 Baked Salmon\n p Lemon herb crusted salmon fillet\n a View Recipe\n href salmon.html\nfooter\n div\n class footer-content\n div\n class footer-links\n a About\n href about.html\n a Contact\n href contact.html\n p Made with love in my kitchen\nscript.js\n---style.css---\n:root {\n --primary: #ff6b6b;\n --secondary: #4ecdc4;\n --dark: #292f36;\n --light: #f7fff7;\n --accent: #ffe66d;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background-color: var(--light);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: white;\n padding: 2rem 0;\n position: relative;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 2rem;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n font-weight: 500;\n}\n\n.cta-button {\n background-color: var(--accent);\n color: var(--dark);\n padding: 0.5rem 1rem;\n border-radius: 4px;\n font-weight: bold;\n}\n\n.hero-content {\n max-width: 1200px;\n margin: 3rem auto;\n padding: 0 2rem;\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.recipe-section {\n padding: 4rem 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.recipe-section h2 {\n text-align: center;\n margin-bottom: 2rem;\n font-size: 2rem;\n color: var(--primary);\n}\n\n.recipe-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.recipe-card {\n background: white;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.recipe-card:hover {\n transform: translateY(-5px);\n}\n\n.recipe-card img {\n width: 100%;\n height: 200px;\n object-fit: cover;\n}\n\n.recipe-content {\n padding: 1.5rem;\n}\n\n.recipe-content h3 {\n margin-bottom: 0.5rem;\n color: var(--dark);\n}\n\n.recipe-content p {\n color: #666;\n margin-bottom: 1rem;\n}\n\n.recipe-content a {\n display: inline-block;\n background-color: var(--primary);\n color: white;\n padding: 0.5rem 1rem;\n border-radius: 4px;\n text-decoration: none;\n font-weight: 500;\n}\n\nfooter {\n background-color: var(--dark);\n color: white;\n padding: 2rem 0;\n text-align: center;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\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-wrap: wrap;\n justify-content: center;\n }\n \n .hero-content h1 {\n font-size: 2rem;\n }\n \n .recipe-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\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 const targetElement = document.querySelector(targetId);\n \n if (targetElement) {\n targetElement.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n }\n });\n });\n\n // Animation for recipe cards\n const recipeCards = document.querySelectorAll('.recipe-card');\n \n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = 1;\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, { threshold: 0.1 });\n\n recipeCards.forEach(card => {\n card.style.opacity = 0;\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n observer.observe(card);\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 722,
+ "completion_tokens": 1771,
+ "total_tokens": 2493,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 722
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # recipes.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ a website to share my recipes
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "a website to share my recipes"
+
+ 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', function() {
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const targetId = this.getAttribute('href');
+ const targetElement = document.querySelector(targetId);
+
+ if (targetElement) {
+ targetElement.scrollIntoView({
+ behavior: 'smooth',
+ block: 'start'
+ });
+ }
+ });
+ });
+
+ // Animation for recipe cards
+ const recipeCards = document.querySelectorAll('.recipe-card');
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = 1;
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ }, { threshold: 0.1 });
+
+ recipeCards.forEach(card => {
+ card.style.opacity = 0;
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
+ observer.observe(card);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #ff6b6b;
+ --secondary: #4ecdc4;
+ --dark: #292f36;
+ --light: #f7fff7;
+ --accent: #ffe66d;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ color: var(--dark);
+ background-color: var(--light);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ color: white;
+ padding: 2rem 0;
+ position: relative;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 2rem;
+ }
+
+ .logo {
+ font-size: 2rem;
+ font-weight: bold;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ }
+
+ .cta-button {
+ background-color: var(--accent);
+ color: var(--dark);
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ font-weight: bold;
+ }
+
+ .hero-content {
+ max-width: 1200px;
+ margin: 3rem auto;
+ padding: 0 2rem;
+ text-align: center;
+ }
+
+ .hero-content h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ }
+
+ .recipe-section {
+ padding: 4rem 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .recipe-section h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+ font-size: 2rem;
+ color: var(--primary);
+ }
+
+ .recipe-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: 2rem;
+ }
+
+ .recipe-card {
+ background: white;
+ border-radius: 8px;
+ overflow: hidden;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ transition: transform 0.3s ease;
+ }
+
+ .recipe-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .recipe-card img {
+ width: 100%;
+ height: 200px;
+ object-fit: cover;
+ }
+
+ .recipe-content {
+ padding: 1.5rem;
+ }
+
+ .recipe-content h3 {
+ margin-bottom: 0.5rem;
+ color: var(--dark);
+ }
+
+ .recipe-content p {
+ color: #666;
+ margin-bottom: 1rem;
+ }
+
+ .recipe-content a {
+ display: inline-block;
+ background-color: var(--primary);
+ color: white;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ text-decoration: none;
+ font-weight: 500;
+ }
+
+ footer {
+ background-color: var(--dark);
+ color: white;
+ padding: 2rem 0;
+ text-align: center;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .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-wrap: wrap;
+ justify-content: center;
+ }
+
+ .hero-content h1 {
+ font-size: 2rem;
+ }
+
+ .recipe-grid {
+ grid-template-columns: 1fr;
+ }
+ }