Changes to sus.scroll.pub

root
root
1 day ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://sus.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Sus - The Ultimate Impostor Detector
+ style.css
+ header
+ class hero
+ nav
+ div SusDetector
+ class logo
+ div
+ class nav-links
+ a About
+ href #about
+ a Scan
+ href #scanner
+ a Stats
+ href #stats
+ a Play
+ class cta-button
+ href #play
+ div
+ class hero-content
+ h1 Who's Acting Sus?
+ p Advanced AI-powered impostor detection system
+ button Scan Now
+ class primary-button
+ id scanButton
+ main
+ section
+ id about
+ class features
+ h2 Why SusDetector?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div 🔍
+ class feature-icon
+ h3 Advanced Detection
+ p Real-time behavior analysis
+ div
+ class feature-card
+ div 📊
+ class feature-icon
+ h3 Stats Tracking
+ p Comprehensive crew statistics
+ div
+ class feature-card
+ div 🚨
+ class feature-icon
+ h3 Alert System
+ p Instant impostor notifications
+ div
+ class feature-card
+ div 🛡️
+ class feature-icon
+ h3 Crew Protection
+ p Keep your teammates safe
+ section
+ id scanner
+ class scanner-section
+ h2 Live Scanner
+ div
+ class scanner-container
+ div
+ class scanner-ring
+ div
+ class scan-result
+ p Scanning...
+ section
+ id stats
+ class stats-section
+ h2 Crew Statistics
+ div
+ class stats-grid
+ div
+ class stat-card
+ h3 Crew Saved
+ p 1,234
+ div
+ class stat-card
+ h3 Impostors Caught
+ p 567
+ div
+ class stat-card
+ h3 Tasks Completed
+ p 89,012
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Privacy
+ href #privacy
+ a Terms
+ href #terms
+ a Contact
+ href #contact
+ p Made with 💜 by the Crewmates
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_01R5854NCsqb7tUcdsNkKhGy",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a website themed around \"Sus\" (from Among Us) with a playful but professional design.\n\n---domain---\nsus.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://sus.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Sus - The Ultimate Impostor Detector\nstyle.css\nheader\n class hero\n nav\n div SusDetector\n class logo\n div\n class nav-links\n a About\n href #about\n a Scan\n href #scanner\n a Stats\n href #stats\n a Play\n class cta-button\n href #play\n div\n class hero-content\n h1 Who's Acting Sus?\n p Advanced AI-powered impostor detection system\n button Scan Now\n class primary-button\n id scanButton\nmain\n section\n id about\n class features\n h2 Why SusDetector?\n div\n class feature-grid\n div\n class feature-card\n div 🔍\n class feature-icon\n h3 Advanced Detection\n p Real-time behavior analysis\n div\n class feature-card\n div 📊\n class feature-icon\n h3 Stats Tracking\n p Comprehensive crew statistics\n div\n class feature-card\n div 🚨\n class feature-icon\n h3 Alert System\n p Instant impostor notifications\n div\n class feature-card\n div 🛡️\n class feature-icon\n h3 Crew Protection\n p Keep your teammates safe\n section\n id scanner\n class scanner-section\n h2 Live Scanner\n div\n class scanner-container\n div\n class scanner-ring\n div\n class scan-result\n p Scanning...\n section\n id stats\n class stats-section\n h2 Crew Statistics\n div\n class stats-grid\n div\n class stat-card\n h3 Crew Saved\n p 1,234\n div\n class stat-card\n h3 Impostors Caught\n p 567\n div\n class stat-card\n h3 Tasks Completed\n p 89,012\nfooter\n div\n class footer-content\n div\n class footer-links\n a Privacy\n href #privacy\n a Terms\n href #terms\n a Contact\n href #contact\n p Made with 💜 by the Crewmates\nscript.js\n---style.css---\n:root {\n --primary: #7b2cbf;\n --secondary: #240046;\n --accent: #e0aaff;\n --background: #10002b;\n --text: #fff;\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 background: var(--background);\n color: var(--text);\n line-height: 1.6;\n}\n\n.hero {\n min-height: 100vh;\n background: linear-gradient(135deg, var(--secondary), var(--background));\n padding: 2rem;\n position: relative;\n overflow: hidden;\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.5rem;\n font-weight: bold;\n background: linear-gradient(45deg, var(--accent), var(--primary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n}\n\n.nav-links a {\n color: var(--text);\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.cta-button {\n background: var(--primary);\n padding: 0.5rem 1.5rem;\n border-radius: 2rem;\n color: var(--text);\n}\n\n.hero-content {\n text-align: center;\n margin-top: 10vh;\n}\n\nh1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--accent), var(--primary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.primary-button {\n background: var(--primary);\n color: var(--text);\n border: none;\n padding: 1rem 2rem;\n border-radius: 2rem;\n font-size: 1.1rem;\n cursor: pointer;\n transition: transform 0.3s ease;\n margin-top: 2rem;\n display: inline-block;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 4rem 2rem;\n}\n\n.feature-card {\n background: rgba(255, 255, 255, 0.05);\n padding: 2rem;\n border-radius: 1rem;\n backdrop-filter: blur(10px);\n transition: transform 0.3s ease;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.scanner-section {\n text-align: center;\n padding: 4rem 2rem;\n}\n\n.scanner-container {\n position: relative;\n width: 300px;\n height: 300px;\n margin: 2rem auto;\n}\n\n.scanner-ring {\n position: absolute;\n width: 100%;\n height: 100%;\n border: 4px solid var(--primary);\n border-radius: 50%;\n animation: scan 2s linear infinite;\n}\n\n@keyframes scan {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1.2);\n opacity: 0;\n }\n}\n\n.stats-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.stat-card {\n background: rgba(255, 255, 255, 0.05);\n padding: 2rem;\n border-radius: 1rem;\n text-align: center;\n}\n\nfooter {\n background: var(--secondary);\n padding: 2rem;\n text-align: center;\n}\n\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n h1 {\n font-size: 2.5rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const scanButton = document.getElementById('scanButton');\n const scanResult = document.querySelector('.scan-result');\n \n const results = [\n 'No impostor detected',\n 'IMPOSTOR ALERT! 🚨',\n 'Crew member verified',\n 'Suspicious activity detected',\n 'Scan inconclusive'\n ];\n \n scanButton.addEventListener('click', () => {\n scanButton.disabled = true;\n scanResult.textContent = 'Scanning...';\n \n setTimeout(() => {\n const randomResult = results[Math.floor(Math.random() * results.length)];\n scanResult.textContent = randomResult;\n scanButton.disabled = false;\n }, 2000);\n });\n \n // Add parallax effect to hero section\n document.addEventListener('mousemove', (e) => {\n const hero = document.querySelector('.hero');\n const mouseX = e.clientX / window.innerWidth;\n const mouseY = e.clientY / window.innerHeight;\n \n hero.style.backgroundPosition = `${mouseX * 50}% ${mouseY * 50}%`;\n });\n \n // Animate stats on scroll\n const stats = document.querySelectorAll('.stat-card p');\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 });\n \n stats.forEach(stat => {\n stat.style.opacity = 0;\n stat.style.transform = 'translateY(20px)';\n stat.style.transition = 'all 0.6s ease';\n observer.observe(stat);\n });\n});\n---end---\n\nThis website features:\n- A dark, space-themed design inspired by Among Us\n- Interactive scanner animation\n- Parallax background effect\n- Smooth animations and transitions\n- Statistics display with scroll animations\n- Fully responsive design\n- Accessible color contrast and semantic HTML\n- Clean, modern UI with gradient accents\n- Interactive elements with hover states\n- Real-time \"sus\" detection simulator\n\nThe design maintains professionalism while incorporating playful elements from the Among Us theme. It uses advanced CSS features like backdrop-filter, gradients, and animations, while remaining performant and accessible."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 817,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2417
+ }
+ }
readme.scroll
Changed around line 1
+ # sus.scroll.pub
+
+ Prompt: website
+ Agent: claude
+ Model: claude-3-5-sonnet-20241022
+
+ ## User prompt
+ Sus
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Sus"
+
+ 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', () => {
+ const scanButton = document.getElementById('scanButton');
+ const scanResult = document.querySelector('.scan-result');
+
+ const results = [
+ 'No impostor detected',
+ 'IMPOSTOR ALERT! 🚨',
+ 'Crew member verified',
+ 'Suspicious activity detected',
+ 'Scan inconclusive'
+ ];
+
+ scanButton.addEventListener('click', () => {
+ scanButton.disabled = true;
+ scanResult.textContent = 'Scanning...';
+
+ setTimeout(() => {
+ const randomResult = results[Math.floor(Math.random() * results.length)];
+ scanResult.textContent = randomResult;
+ scanButton.disabled = false;
+ }, 2000);
+ });
+
+ // Add parallax effect to hero section
+ document.addEventListener('mousemove', (e) => {
+ const hero = document.querySelector('.hero');
+ const mouseX = e.clientX / window.innerWidth;
+ const mouseY = e.clientY / window.innerHeight;
+
+ hero.style.backgroundPosition = `${mouseX * 50}% ${mouseY * 50}%`;
+ });
+
+ // Animate stats on scroll
+ const stats = document.querySelectorAll('.stat-card p');
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = 1;
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ });
+
+ stats.forEach(stat => {
+ stat.style.opacity = 0;
+ stat.style.transform = 'translateY(20px)';
+ stat.style.transition = 'all 0.6s ease';
+ observer.observe(stat);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #7b2cbf;
+ --secondary: #240046;
+ --accent: #e0aaff;
+ --background: #10002b;
+ --text: #fff;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Inter', system-ui, sans-serif;
+ background: var(--background);
+ color: var(--text);
+ line-height: 1.6;
+ }
+
+ .hero {
+ min-height: 100vh;
+ background: linear-gradient(135deg, var(--secondary), var(--background));
+ padding: 2rem;
+ position: relative;
+ overflow: hidden;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 0;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ background: linear-gradient(45deg, var(--accent), var(--primary));
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ color: var(--text);
+ text-decoration: none;
+ transition: color 0.3s ease;
+ }
+
+ .cta-button {
+ background: var(--primary);
+ padding: 0.5rem 1.5rem;
+ border-radius: 2rem;
+ color: var(--text);
+ }
+
+ .hero-content {
+ text-align: center;
+ margin-top: 10vh;
+ }
+
+ h1 {
+ font-size: 4rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(45deg, var(--accent), var(--primary));
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .primary-button {
+ background: var(--primary);
+ color: var(--text);
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 2rem;
+ font-size: 1.1rem;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+ margin-top: 2rem;
+ display: inline-block;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 4rem 2rem;
+ }
+
+ .feature-card {
+ background: rgba(255, 255, 255, 0.05);
+ padding: 2rem;
+ border-radius: 1rem;
+ backdrop-filter: blur(10px);
+ transition: transform 0.3s ease;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .scanner-section {
+ text-align: center;
+ padding: 4rem 2rem;
+ }
+
+ .scanner-container {
+ position: relative;
+ width: 300px;
+ height: 300px;
+ margin: 2rem auto;
+ }
+
+ .scanner-ring {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ border: 4px solid var(--primary);
+ border-radius: 50%;
+ animation: scan 2s linear infinite;
+ }
+
+ @keyframes scan {
+ 0% {
+ transform: scale(0.8);
+ opacity: 0;
+ }
+ 50% {
+ opacity: 1;
+ }
+ 100% {
+ transform: scale(1.2);
+ opacity: 0;
+ }
+ }
+
+ .stats-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ }
+
+ .stat-card {
+ background: rgba(255, 255, 255, 0.05);
+ padding: 2rem;
+ border-radius: 1rem;
+ text-align: center;
+ }
+
+ footer {
+ background: var(--secondary);
+ padding: 2rem;
+ text-align: center;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+ }