Changes to scene.scroll.pub

root
root
1 day ago
updated index.scroll
index.scroll
Changed around line 2: buildHtml
- title SceneDB - The Movie & TV Scene Database
+ title Scenesx - The Movie & TV Scene Database
- div SceneDB
+ div Scenesx
root
root
1 day ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://scene.scroll.pub
+ metaTags
+ editButton /edit.html
+ title SceneDB - The Movie & TV Scene Database
+ style.css
+ header
+ class hero
+ nav
+ div SceneDB
+ class logo
+ div
+ class nav-links
+ a Browse
+ href #browse
+ a Popular
+ href #popular
+ a Search
+ href #search
+ button Sign In
+ class cta-button
+ div
+ class hero-content
+ h1 Every Movie Scene. Every Detail.
+ p Discover, analyze, and explore your favorite movie and TV show scenes with precise timestamps, descriptions, and metadata.
+ div
+ class search-container
+ input
+ type text
+ placeholder Search any scene, movie, or show...
+ button Search
+ class search-button
+ main
+ section
+ id browse
+ class featured-scenes
+ h2 Featured Scenes
+ div
+ class scene-grid
+ article
+ class scene-card
+ img
+ src assets/inception-kick.jpg
+ alt Inception kick scene
+ div
+ class scene-info
+ h3 Inception
+ p Zero Gravity Fight Scene
+ span 01:45:32
+ article
+ class scene-card
+ img
+ src assets/matrix-bullet.jpg
+ alt Matrix bullet dodge
+ div
+ class scene-info
+ h3 The Matrix
+ p Bullet Time Dodge
+ span 00:32:15
+ article
+ class scene-card
+ img
+ src assets/got-dragon.jpg
+ alt Game of Thrones dragon
+ div
+ class scene-info
+ h3 Game of Thrones
+ p Dragon Attack
+ span S08E05 - 00:42:18
+ section
+ id popular
+ class trending
+ h2 Trending Scenes
+ div
+ class trending-list
+ div
+ class trending-item
+ span #1
+ p "I am Iron Man" - Avengers: Endgame
+ small 02:45:18
+ div
+ class trending-item
+ span #2
+ p "You shall not pass!" - LOTR: Fellowship
+ small 02:17:03
+ div
+ class trending-item
+ span #3
+ p "Here's looking at you, kid" - Casablanca
+ small 01:42:30
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href /about
+ a API
+ href /api
+ a Contact
+ href /contact
+ p Built by scene enthusiasts for scene enthusiasts
prompt.json
Changed around line 1
+ {
+ "id": "msg_017h2WAwFokU4TYC7eVChPyZ",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll help create a landing page for SceneDB. For the domain, I suggest \"scene.scroll.pub\" as it's short, memorable, and directly relates to the purpose.\n\n---domain---\nscene.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://scene.scroll.pub\nmetaTags\neditButton /edit.html\ntitle SceneDB - The Movie & TV Scene Database\nstyle.css\nheader\n class hero\n nav\n div SceneDB\n class logo\n div\n class nav-links\n a Browse\n href #browse\n a Popular\n href #popular\n a Search\n href #search\n button Sign In\n class cta-button\n div\n class hero-content\n h1 Every Movie Scene. Every Detail.\n p Discover, analyze, and explore your favorite movie and TV show scenes with precise timestamps, descriptions, and metadata.\n div\n class search-container\n input\n type text\n placeholder Search any scene, movie, or show...\n button Search\n class search-button\nmain\n section\n id browse\n class featured-scenes\n h2 Featured Scenes\n div\n class scene-grid\n article\n class scene-card\n img\n src assets/inception-kick.jpg\n alt Inception kick scene\n div\n class scene-info\n h3 Inception\n p Zero Gravity Fight Scene\n span 01:45:32\n article\n class scene-card\n img\n src assets/matrix-bullet.jpg\n alt Matrix bullet dodge\n div\n class scene-info\n h3 The Matrix\n p Bullet Time Dodge\n span 00:32:15\n article\n class scene-card\n img\n src assets/got-dragon.jpg\n alt Game of Thrones dragon\n div\n class scene-info\n h3 Game of Thrones\n p Dragon Attack\n span S08E05 - 00:42:18\n section\n id popular\n class trending\n h2 Trending Scenes\n div\n class trending-list\n div\n class trending-item\n span #1\n p \"I am Iron Man\" - Avengers: Endgame\n small 02:45:18\n div\n class trending-item\n span #2\n p \"You shall not pass!\" - LOTR: Fellowship\n small 02:17:03\n div\n class trending-item\n span #3\n p \"Here's looking at you, kid\" - Casablanca\n small 01:42:30\nfooter\n div\n class footer-content\n div\n class footer-links\n a About\n href /about\n a API\n href /api\n a Contact\n href /contact\n p Built by scene enthusiasts for scene enthusiasts\n---style.css---\n:root {\n --primary-color: #2a2d64;\n --secondary-color: #4a4fe6;\n --accent-color: #8c52ff;\n --text-color: #333;\n --light-bg: #f5f6fa;\n --white: #ffffff;\n --shadow: 0 4px 6px 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', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: var(--white);\n padding: 2rem 5%;\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 padding: 1rem 0;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: 700;\n background: linear-gradient(to right, #fff, #e0e0ff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n align-items: center;\n}\n\n.nav-links a {\n color: var(--white);\n text-decoration: none;\n font-weight: 500;\n transition: opacity 0.3s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.cta-button {\n background: var(--accent-color);\n color: var(--white);\n padding: 0.8rem 1.5rem;\n border: none;\n border-radius: 25px;\n cursor: pointer;\n font-weight: 600;\n transition: transform 0.2s;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n}\n\n.hero-content {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n gap: 2rem;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n font-weight: 800;\n line-height: 1.2;\n}\n\n.search-container {\n width: 100%;\n max-width: 600px;\n display: flex;\n gap: 1rem;\n}\n\n.search-container input {\n flex: 1;\n padding: 1rem;\n border: none;\n border-radius: 25px;\n font-size: 1rem;\n}\n\n.search-button {\n padding: 1rem 2rem;\n background: var(--accent-color);\n color: var(--white);\n border: none;\n border-radius: 25px;\n cursor: pointer;\n font-weight: 600;\n}\n\n.scene-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n padding: 2rem 5%;\n}\n\n.scene-card {\n background: var(--white);\n border-radius: 15px;\n overflow: hidden;\n box-shadow: var(--shadow);\n transition: transform 0.3s;\n}\n\n.scene-card:hover {\n transform: translateY(-5px);\n}\n\n.scene-card img {\n width: 100%;\n height: 200px;\n object-fit: cover;\n}\n\n.scene-info {\n padding: 1.5rem;\n}\n\n.trending {\n background: var(--light-bg);\n padding: 4rem 5%;\n}\n\n.trending-list {\n max-width: 800px;\n margin: 0 auto;\n}\n\n.trending-item {\n display: flex;\n align-items: center;\n gap: 1rem;\n padding: 1rem;\n background: var(--white);\n margin: 1rem 0;\n border-radius: 10px;\n box-shadow: var(--shadow);\n}\n\nfooter {\n background: var(--primary-color);\n color: var(--white);\n padding: 3rem 5%;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n margin-bottom: 1rem;\n}\n\n.footer-links a {\n color: var(--white);\n text-decoration: none;\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.5rem;\n }\n \n .nav-links {\n display: none;\n }\n \n .search-container {\n flex-direction: column;\n }\n \n .scene-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Smooth scroll for navigation links\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 // Search functionality\n const searchInput = document.querySelector('.search-container input');\n const searchButton = document.querySelector('.search-button');\n\n searchButton.addEventListener('click', () => {\n if (searchInput.value.trim() !== '') {\n // Add search functionality here\n console.log('Searching for:', searchInput.value);\n }\n });\n\n // Add loading animation for scene cards\n document.querySelectorAll('.scene-card').forEach(card => {\n card.addEventListener('mouseenter', () => {\n card.style.transform = 'translateY(-5px)';\n });\n \n card.addEventListener('mouseleave', () => {\n card.style.transform = 'translateY(0)';\n });\n });\n\n // Mobile menu toggle functionality\n const createMobileMenu = () => {\n if (window.innerWidth <= 768) {\n const nav = document.querySelector('nav');\n const mobileMenuButton = document.createElement('button');\n mobileMenuButton.classList.add('mobile-menu-button');\n mobileMenuButton.innerHTML = '☰';\n nav.appendChild(mobileMenuButton);\n\n mobileMenuButton.addEventListener('click', () => {\n const navLinks = document.querySelector('.nav-links');\n navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';\n });\n }\n };\n\n createMobileMenu();\n window.addEventListener('resize', createMobileMenu);\n});\n---end---\n\nThis implementation creates a modern, responsive landing page for SceneDB with smooth animations, a clean design, and full mobile compatibility. The color scheme uses deep blues and purples to create a cinematic feel, while the layout emphasizes user experience with easy navigation and clear visual hierarchy. The site includes features like a prominent search bar, featured scenes section, and trending scenes list."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 843,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2581
+ }
+ }
readme.scroll
Changed around line 1
+ # scene.scroll.pub
+
+ Prompt: website
+ Agent: claude
+ Model: claude-3-5-sonnet-20241022
+
+ ## User prompt
+ create a landing page for a website called 'scenedb' that's like tmdb but for movie and tvshow scenes metadata
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "create a landing page for a website called 'scenedb' that's like tmdb but for movie and tvshow scenes metadata"
+
+ 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 scroll for navigation links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Search functionality
+ const searchInput = document.querySelector('.search-container input');
+ const searchButton = document.querySelector('.search-button');
+
+ searchButton.addEventListener('click', () => {
+ if (searchInput.value.trim() !== '') {
+ // Add search functionality here
+ console.log('Searching for:', searchInput.value);
+ }
+ });
+
+ // Add loading animation for scene cards
+ document.querySelectorAll('.scene-card').forEach(card => {
+ card.addEventListener('mouseenter', () => {
+ card.style.transform = 'translateY(-5px)';
+ });
+
+ card.addEventListener('mouseleave', () => {
+ card.style.transform = 'translateY(0)';
+ });
+ });
+
+ // Mobile menu toggle functionality
+ const createMobileMenu = () => {
+ if (window.innerWidth <= 768) {
+ const nav = document.querySelector('nav');
+ const mobileMenuButton = document.createElement('button');
+ mobileMenuButton.classList.add('mobile-menu-button');
+ mobileMenuButton.innerHTML = '☰';
+ nav.appendChild(mobileMenuButton);
+
+ mobileMenuButton.addEventListener('click', () => {
+ const navLinks = document.querySelector('.nav-links');
+ navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';
+ });
+ }
+ };
+
+ createMobileMenu();
+ window.addEventListener('resize', createMobileMenu);
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2a2d64;
+ --secondary-color: #4a4fe6;
+ --accent-color: #8c52ff;
+ --text-color: #333;
+ --light-bg: #f5f6fa;
+ --white: #ffffff;
+ --shadow: 0 4px 6px rgba(0,0,0,0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Inter', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ }
+
+ .hero {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: var(--white);
+ padding: 2rem 5%;
+ min-height: 80vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 0;
+ }
+
+ .logo {
+ font-size: 1.8rem;
+ font-weight: 700;
+ background: linear-gradient(to right, #fff, #e0e0ff);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: var(--white);
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.3s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .cta-button {
+ background: var(--accent-color);
+ color: var(--white);
+ padding: 0.8rem 1.5rem;
+ border: none;
+ border-radius: 25px;
+ cursor: pointer;
+ font-weight: 600;
+ transition: transform 0.2s;
+ }
+
+ .cta-button:hover {
+ transform: translateY(-2px);
+ }
+
+ .hero-content {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ gap: 2rem;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ font-weight: 800;
+ line-height: 1.2;
+ }
+
+ .search-container {
+ width: 100%;
+ max-width: 600px;
+ display: flex;
+ gap: 1rem;
+ }
+
+ .search-container input {
+ flex: 1;
+ padding: 1rem;
+ border: none;
+ border-radius: 25px;
+ font-size: 1rem;
+ }
+
+ .search-button {
+ padding: 1rem 2rem;
+ background: var(--accent-color);
+ color: var(--white);
+ border: none;
+ border-radius: 25px;
+ cursor: pointer;
+ font-weight: 600;
+ }
+
+ .scene-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ padding: 2rem 5%;
+ }
+
+ .scene-card {
+ background: var(--white);
+ border-radius: 15px;
+ overflow: hidden;
+ box-shadow: var(--shadow);
+ transition: transform 0.3s;
+ }
+
+ .scene-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .scene-card img {
+ width: 100%;
+ height: 200px;
+ object-fit: cover;
+ }
+
+ .scene-info {
+ padding: 1.5rem;
+ }
+
+ .trending {
+ background: var(--light-bg);
+ padding: 4rem 5%;
+ }
+
+ .trending-list {
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .trending-item {
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ padding: 1rem;
+ background: var(--white);
+ margin: 1rem 0;
+ border-radius: 10px;
+ box-shadow: var(--shadow);
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: var(--white);
+ padding: 3rem 5%;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: var(--white);
+ text-decoration: none;
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+
+ .nav-links {
+ display: none;
+ }
+
+ .search-container {
+ flex-direction: column;
+ }
+
+ .scene-grid {
+ grid-template-columns: 1fr;
+ }
+ }