Changes to congresscritique.scroll.pub

root
root
6 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://congresscritique.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Congress Critique: Holding India's Leaders Accountable
+ style.css
+
+ header
+ class hero
+ nav
+ div Congress Critique
+ class logo
+ div
+ class nav-links
+ a Issues
+ href #issues
+ a Solutions
+ href #solutions
+ a About
+ href about.html
+ div
+ class hero-content
+ h1 Holding India's Leaders Accountable
+ p A critical look at the performance of the Indian National Congress
+ a Explore Issues
+ class primary-button
+ href #issues
+ main
+ section
+ id issues
+ class issues
+ h2 Key Issues with Congress
+ div
+ class issue-grid
+ div
+ class issue-card
+ div 📉
+ class issue-icon
+ h3 Economic Mismanagement
+ p Decades of poor fiscal policies and corruption.
+ div
+ class issue-card
+ div 🗳️
+ class issue-icon
+ h3 Dynastic Politics
+ p Lack of internal democracy and meritocracy.
+ div
+ class issue-card
+ div 🏛️
+ class issue-icon
+ h3 Weak Opposition
+ p Failure to provide effective checks and balances.
+ div
+ class issue-card
+ div 🌍
+ class issue-icon
+ h3 Foreign Policy Failures
+ p Inconsistent and reactive approach to global affairs.
+ section
+ id solutions
+ class solutions
+ h2 Proposed Solutions
+ div
+ class solution-grid
+ div
+ class solution-card
+ div 💡
+ class solution-icon
+ h3 Internal Reforms
+ p Implement transparent leadership selection processes.
+ div
+ class solution-card
+ div 📜
+ class solution-icon
+ h3 Policy Overhaul
+ p Develop comprehensive, long-term economic strategies.
+ div
+ class solution-card
+ div 🤝
+ class solution-icon
+ h3 Grassroots Engagement
+ p Strengthen connections with local communities.
+ div
+ class solution-card
+ div 🌱
+ class solution-icon
+ h3 Youth Empowerment
+ p Create opportunities for young leaders to rise.
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href about.html
+ a Contact
+ href contact.html
+ a Privacy
+ href privacy.html
+ p Dedicated to a stronger, more accountable India.
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "ee2f1f1b-d0f6-45a9-afc9-1f62c3ba29aa",
+ "object": "chat.completion",
+ "created": 1737670006,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncongresscritique.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://congresscritique.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Congress Critique: Holding India's Leaders Accountable\nstyle.css\n\nheader\n class hero\n nav\n div Congress Critique\n class logo\n div\n class nav-links\n a Issues\n href #issues\n a Solutions\n href #solutions\n a About\n href about.html\n div\n class hero-content\n h1 Holding India's Leaders Accountable\n p A critical look at the performance of the Indian National Congress\n a Explore Issues\n class primary-button\n href #issues\nmain\n section\n id issues\n class issues\n h2 Key Issues with Congress\n div\n class issue-grid\n div\n class issue-card\n div 📉\n class issue-icon\n h3 Economic Mismanagement\n p Decades of poor fiscal policies and corruption.\n div\n class issue-card\n div 🗳️\n class issue-icon\n h3 Dynastic Politics\n p Lack of internal democracy and meritocracy.\n div\n class issue-card\n div 🏛️\n class issue-icon\n h3 Weak Opposition\n p Failure to provide effective checks and balances.\n div\n class issue-card\n div 🌍\n class issue-icon\n h3 Foreign Policy Failures\n p Inconsistent and reactive approach to global affairs.\n section\n id solutions\n class solutions\n h2 Proposed Solutions\n div\n class solution-grid\n div\n class solution-card\n div 💡\n class solution-icon\n h3 Internal Reforms\n p Implement transparent leadership selection processes.\n div\n class solution-card\n div 📜\n class solution-icon\n h3 Policy Overhaul\n p Develop comprehensive, long-term economic strategies.\n div\n class solution-card\n div 🤝\n class solution-icon\n h3 Grassroots Engagement\n p Strengthen connections with local communities.\n div\n class solution-card\n div 🌱\n class solution-icon\n h3 Youth Empowerment\n p Create opportunities for young leaders to rise.\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 a Privacy\n href privacy.html\n p Dedicated to a stronger, more accountable India.\n\nscript.js\n---style.css---\n:root {\n --primary-color: #e63946;\n --secondary-color: #1d3557;\n --accent-color: #a8dadc;\n --background-color: #f1faee;\n --text-color: #1d3557;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n}\n\n.hero {\n background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));\n color: white;\n padding: 4rem 2rem;\n text-align: center;\n}\n\n.nav-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n margin-top: 1rem;\n}\n\n.nav-links a {\n color: 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.hero-content {\n max-width: 800px;\n margin: 0 auto;\n}\n\n.primary-button {\n display: inline-block;\n padding: 0.8rem 2rem;\n background-color: var(--accent-color);\n color: var(--secondary-color);\n text-decoration: none;\n border-radius: 4px;\n margin-top: 1rem;\n transition: transform 0.2s;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n}\n\n.issue-grid, .solution-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.issue-card, .solution-card {\n background: white;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 2px 8px rgba(0,0,0,0.1);\n transition: transform 0.3s;\n}\n\n.issue-card:hover, .solution-card:hover {\n transform: translateY(-5px);\n}\n\n.issue-icon, .solution-icon {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\nfooter {\n background-color: var(--secondary-color);\n color: white;\n padding: 2rem;\n text-align: center;\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-links {\n flex-direction: column;\n gap: 1rem;\n }\n \n .hero {\n padding: 2rem 1rem;\n }\n \n .issue-grid, .solution-grid {\n grid-template-columns: 1fr;\n padding: 1rem;\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 subtle animations to cards\nconst cards = document.querySelectorAll('.issue-card, .solution-card');\nconst 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\ncards.forEach(card => {\n card.style.opacity = '0';\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'opacity 0.6s, transform 0.6s';\n observer.observe(card);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 723,
+ "completion_tokens": 1430,
+ "total_tokens": 2153,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 723
+ },
+ "system_fingerprint": "fp_3a5770e1b4"
+ }
readme.scroll
Changed around line 1
+ # congresscritique.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ Design a website criticizing congress in india
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Design a website criticizing congress in india"
+
+ 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 subtle animations to cards
+ const cards = document.querySelectorAll('.issue-card, .solution-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 });
+
+ cards.forEach(card => {
+ card.style.opacity = '0';
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'opacity 0.6s, transform 0.6s';
+ observer.observe(card);
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #e63946;
+ --secondary-color: #1d3557;
+ --accent-color: #a8dadc;
+ --background-color: #f1faee;
+ --text-color: #1d3557;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+ }
+
+ .hero {
+ background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
+ color: white;
+ padding: 4rem 2rem;
+ text-align: center;
+ }
+
+ .nav-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-top: 1rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.3s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .primary-button {
+ display: inline-block;
+ padding: 0.8rem 2rem;
+ background-color: var(--accent-color);
+ color: var(--secondary-color);
+ text-decoration: none;
+ border-radius: 4px;
+ margin-top: 1rem;
+ transition: transform 0.2s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ }
+
+ .issue-grid, .solution-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ }
+
+ .issue-card, .solution-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);
+ transition: transform 0.3s;
+ }
+
+ .issue-card:hover, .solution-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .issue-icon, .solution-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ footer {
+ background-color: var(--secondary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .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-links {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .hero {
+ padding: 2rem 1rem;
+ }
+
+ .issue-grid, .solution-grid {
+ grid-template-columns: 1fr;
+ padding: 1rem;
+ }
+ }