Changes to hoysala.scroll.pub

root
root
3 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://hoysala.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Halebid & Belur - Ancient Hoysala Temples Guide
+ style.css
+ header
+ class hero
+ nav
+ div Hoysala Heritage
+ class logo
+ div
+ class nav-links
+ a Home
+ href #home
+ a Halebid
+ href #halebid
+ a Belur
+ href #belur
+ a Plan Visit
+ href #plan
+ class cta-button
+ div
+ class hero-content
+ h1 Discover the Magnificent Hoysala Temples
+ p Experience 12th-century architectural marvels in Karnataka, India
+ main
+ section
+ id halebid
+ class temple-section
+ h2 Halebid Temple
+ div
+ class temple-info
+ img
+ src images/halebid.jpg
+ alt Hoysaleshwara Temple
+ div
+ class temple-details
+ h3 Hoysaleshwara Temple
+ p Built in the 12th century, this architectural marvel features intricate carvings depicting scenes from the Ramayana and Mahabharata
+ ul
+ li Double temple structure
+ li 240+ wall carvings
+ li Unique star-shaped platform
+ li Stunning Nandi statues
+ section
+ id belur
+ class temple-section
+ h2 Belur Temple
+ div
+ class temple-info
+ img
+ src images/belur.jpg
+ alt Chennakeshava Temple
+ div
+ class temple-details
+ h3 Chennakeshava Temple
+ p Dedicated to Lord Vishnu, this architectural masterpiece took 103 years to complete
+ ul
+ li Intricate bracket figures
+ li Famous Darpana Sundari
+ li Ancient inscriptions
+ li Active worship site
+ section
+ id plan
+ class visit-planner
+ h2 Plan Your Visit
+ div
+ class planner-grid
+ div
+ class planner-card
+ h3 Best Time to Visit
+ p October to February
+ div
+ class planner-card
+ h3 Duration
+ p 1-2 days recommended
+ div
+ class planner-card
+ h3 Getting There
+ p Nearest airport: Hassan
+ div
+ class planner-card
+ h3 Accommodation
+ p Multiple options available
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Tourism Office
+ href #contact
+ a Photo Gallery
+ href #gallery
+ a Local Guide
+ href #guide
+ p Maintained by Karnataka Tourism Board
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_0196giP3DY4oYbUSWNTjY3yf",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll help create a tourist guide website for Halebid and Belur, the famous temple towns of Karnataka, India.\n\n---domain---\nhoysala.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://hoysala.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Halebid & Belur - Ancient Hoysala Temples Guide\nstyle.css\nheader\n class hero\n nav\n div Hoysala Heritage\n class logo\n div\n class nav-links\n a Home\n href #home\n a Halebid\n href #halebid\n a Belur\n href #belur\n a Plan Visit\n href #plan\n class cta-button\n div\n class hero-content\n h1 Discover the Magnificent Hoysala Temples\n p Experience 12th-century architectural marvels in Karnataka, India\nmain\n section\n id halebid\n class temple-section\n h2 Halebid Temple\n div\n class temple-info\n img\n src images/halebid.jpg\n alt Hoysaleshwara Temple\n div\n class temple-details\n h3 Hoysaleshwara Temple\n p Built in the 12th century, this architectural marvel features intricate carvings depicting scenes from the Ramayana and Mahabharata\n ul\n li Double temple structure\n li 240+ wall carvings\n li Unique star-shaped platform\n li Stunning Nandi statues\n section\n id belur\n class temple-section\n h2 Belur Temple\n div\n class temple-info\n img\n src images/belur.jpg\n alt Chennakeshava Temple\n div\n class temple-details\n h3 Chennakeshava Temple\n p Dedicated to Lord Vishnu, this architectural masterpiece took 103 years to complete\n ul\n li Intricate bracket figures\n li Famous Darpana Sundari\n li Ancient inscriptions\n li Active worship site\n section\n id plan\n class visit-planner\n h2 Plan Your Visit\n div\n class planner-grid\n div\n class planner-card\n h3 Best Time to Visit\n p October to February\n div\n class planner-card\n h3 Duration\n p 1-2 days recommended\n div\n class planner-card\n h3 Getting There\n p Nearest airport: Hassan\n div\n class planner-card\n h3 Accommodation\n p Multiple options available\nfooter\n div\n class footer-content\n div\n class footer-links\n a Tourism Office\n href #contact\n a Photo Gallery\n href #gallery\n a Local Guide\n href #guide\n p Maintained by Karnataka Tourism Board\nscript.js\n---style.css---\n:root {\n --primary-color: #8B4513;\n --secondary-color: #DEB887;\n --text-color: #333;\n --light-bg: #FFF8DC;\n --accent-color: #D2691E;\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(--text-color);\n}\n\n.hero {\n background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');\n background-size: cover;\n background-position: center;\n height: 100vh;\n color: white;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n padding: 1.5rem 2rem;\n background: rgba(0,0,0,0.3);\n backdrop-filter: blur(5px);\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--secondary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.cta-button {\n background: var(--accent-color);\n padding: 0.5rem 1rem;\n border-radius: 25px;\n}\n\n.hero-content {\n text-align: center;\n padding-top: 20vh;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n text-shadow: 2px 2px 4px rgba(0,0,0,0.5);\n}\n\n.temple-section {\n padding: 5rem 2rem;\n background: var(--light-bg);\n}\n\n.temple-info {\n display: flex;\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.temple-info img {\n width: 50%;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0,0,0,0.1);\n}\n\n.temple-details {\n flex: 1;\n}\n\n.planner-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.planner-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.planner-card:hover {\n transform: translateY(-5px);\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n}\n\n@media (max-width: 768px) {\n .temple-info {\n flex-direction: column;\n }\n \n .temple-info img {\n width: 100%;\n }\n \n .nav-links {\n display: none;\n }\n \n .hero-content h1 {\n font-size: 2.5rem;\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 document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Parallax effect for hero section\n window.addEventListener('scroll', () => {\n const hero = document.querySelector('.hero');\n const scrolled = window.pageYOffset;\n hero.style.backgroundPositionY = scrolled * 0.5 + 'px';\n });\n\n // Intersection Observer for fade-in animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('fade-in');\n }\n });\n });\n\n document.querySelectorAll('.temple-section, .planner-card').forEach((el) => observer.observe(el));\n});\n---end---\n\nThis website features:\n1. A stunning hero section with parallax effect\n2. Detailed sections for both Halebid and Belur temples\n3. A practical visit planner section\n4. Smooth scrolling navigation\n5. Responsive design that works on all devices\n6. Beautiful color scheme inspired by the temples' sandstone architecture\n7. Modern animations and transitions\n8. Accessibility-friendly semantic HTML\n9. Clean, maintainable code structure\n\nThe domain name \"hoysala.scroll.pub\" is chosen because these temples were built during the Hoysala Empire, making it relevant and memorable for visitors interested in these historical sites."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 826,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2056
+ }
+ }
readme.scroll
Changed around line 1
+ # hoysala.scroll.pub
+
+ Prompt: website
+ Agent: claude
+ Model: claude-3-5-sonnet-20241022
+
+ ## User prompt
+ Tourist guide site for halebid and belur
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Tourist guide site for halebid and belur "
+
+ 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();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Parallax effect for hero section
+ window.addEventListener('scroll', () => {
+ const hero = document.querySelector('.hero');
+ const scrolled = window.pageYOffset;
+ hero.style.backgroundPositionY = scrolled * 0.5 + 'px';
+ });
+
+ // Intersection Observer for fade-in animations
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('fade-in');
+ }
+ });
+ });
+
+ document.querySelectorAll('.temple-section, .planner-card').forEach((el) => observer.observe(el));
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #8B4513;
+ --secondary-color: #DEB887;
+ --text-color: #333;
+ --light-bg: #FFF8DC;
+ --accent-color: #D2691E;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ }
+
+ .hero {
+ background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');
+ background-size: cover;
+ background-position: center;
+ height: 100vh;
+ color: white;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ padding: 1.5rem 2rem;
+ background: rgba(0,0,0,0.3);
+ backdrop-filter: blur(5px);
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--secondary-color);
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ transition: color 0.3s ease;
+ }
+
+ .cta-button {
+ background: var(--accent-color);
+ padding: 0.5rem 1rem;
+ border-radius: 25px;
+ }
+
+ .hero-content {
+ text-align: center;
+ padding-top: 20vh;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
+ }
+
+ .temple-section {
+ padding: 5rem 2rem;
+ background: var(--light-bg);
+ }
+
+ .temple-info {
+ display: flex;
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .temple-info img {
+ width: 50%;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
+ }
+
+ .temple-details {
+ flex: 1;
+ }
+
+ .planner-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ }
+
+ .planner-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
+ transition: transform 0.3s ease;
+ }
+
+ .planner-card:hover {
+ transform: translateY(-5px);
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ }
+
+ @media (max-width: 768px) {
+ .temple-info {
+ flex-direction: column;
+ }
+
+ .temple-info img {
+ width: 100%;
+ }
+
+ .nav-links {
+ display: none;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+ }