Changes to techbooks.scroll.pub

root
root
19 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+
+
+
+

Discover the Future of Technology

+

Premium ICT and Programming Books for Modern Developers

+
+
+
+
+

Featured Books

+
+
+
+

Advanced Web Development

+

$49.99

+
+
+
+
+

Cloud Computing Essentials

+

$39.99

+
+
+
+
+

Artificial Intelligence Basics

+

$54.99

+
+
+
+
+
+
+

Categories

+
+
Programming
+
Networking
+
Security
+
Database
+
Cloud Computing
+
AI & ML
+
+
+
+
+
+
+
+

About Us

+

Your premier destination for ICT and programming books.

+
+
+

Contact

+

Email: info@techbooks.scroll.pub

+

Phone: (555) 123-4567

+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://techbooks.scroll.pub
+ metaTags
+ editButton /edit.html
+ title TechBooks - Premium ICT & Programming Books
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_015Vtbus7QAh1HpE8hvit8Yt",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll help create an ICT book sales promotion website. For the domain, I suggest:\n\n---domain---\ntechbooks.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://techbooks.scroll.pub\nmetaTags\neditButton /edit.html\ntitle TechBooks - Premium ICT & Programming Books\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
\n \n
\n\n
\n
\n

Discover the Future of Technology

\n

Premium ICT and Programming Books for Modern Developers

\n \n
\n\n
\n

Featured Books

\n
\n
\n
\n

Advanced Web Development

\n

$49.99

\n \n
\n
\n
\n

Cloud Computing Essentials

\n

$39.99

\n \n
\n
\n
\n

Artificial Intelligence Basics

\n

$54.99

\n \n
\n
\n
\n\n
\n

Categories

\n
\n
Programming
\n
Networking
\n
Security
\n
Database
\n
Cloud Computing
\n
AI & ML
\n
\n
\n
\n\n
\n
\n
\n

About Us

\n

Your premier destination for ICT and programming books.

\n
\n
\n

Contact

\n

Email: info@techbooks.scroll.pub

\n

Phone: (555) 123-4567

\n
\n
\n
\n\n---style.css---\n:root {\n --primary-color: #2a6bff;\n --secondary-color: #ff6b6b;\n --bg-color: #f8f9fa;\n --text-color: #333;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background: var(--bg-color);\n}\n\nheader {\n position: fixed;\n width: 100%;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n z-index: 1000;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n color: transparent;\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text-color);\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.cart-btn {\n background: none;\n border: none;\n font-size: 1.2rem;\n cursor: pointer;\n margin-left: 2rem;\n position: relative;\n}\n\n.cart-count {\n position: absolute;\n top: -8px;\n right: -8px;\n background: var(--secondary-color);\n color: white;\n border-radius: 50%;\n padding: 0.2rem 0.5rem;\n font-size: 0.8rem;\n}\n\n#hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n background: linear-gradient(135deg, #fff 0%, #f0f2ff 100%);\n padding: 2rem;\n}\n\nh1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n color: transparent;\n}\n\n.cta-button {\n padding: 1rem 2rem;\n font-size: 1.1rem;\n background: var(--primary-color);\n color: white;\n border: none;\n border-radius: 30px;\n cursor: pointer;\n transition: var(--transition);\n margin-top: 2rem;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);\n}\n\n.book-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.book-card {\n background: white;\n border-radius: 15px;\n padding: 1rem;\n text-align: center;\n transition: var(--transition);\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n}\n\n.book-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);\n}\n\n.book-image {\n height: 200px;\n background: #eee;\n border-radius: 10px;\n margin-bottom: 1rem;\n}\n\n.category-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.category {\n background: white;\n padding: 2rem;\n text-align: center;\n border-radius: 10px;\n cursor: pointer;\n transition: var(--transition);\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n}\n\n.category:hover {\n background: var(--primary-color);\n color: white;\n transform: scale(1.05);\n}\n\nsection {\n padding: 5rem 1rem;\n}\n\nh2 {\n text-align: center;\n margin-bottom: 2rem;\n color: var(--text-color);\n}\n\nfooter {\n background: #333;\n color: white;\n padding: 3rem 1rem;\n}\n\n.footer-content {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\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 .book-grid {\n grid-template-columns: 1fr;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Cart functionality\n let cartCount = 0;\n const cartCountElement = document.querySelector('.cart-count');\n const addToCartButtons = document.querySelectorAll('.add-to-cart');\n\n addToCartButtons.forEach(button => {\n button.addEventListener('click', () => {\n cartCount++;\n cartCountElement.textContent = cartCount;\n \n // Animation effect\n button.textContent = 'Added!';\n button.style.background = '#4CAF50';\n setTimeout(() => {\n button.textContent = 'Add to Cart';\n button.style.background = '';\n }, 1000);\n });\n });\n\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 // Intersection Observer for fade-in animations\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 // Apply fade-in animation to sections\n document.querySelectorAll('section').forEach(section => {\n section.style.opacity = '0';\n section.style.transform = 'translateY(20px)';\n section.style.transition = 'all 0.6s ease-out';\n observer.observe(section);\n });\n});\n\n---end---\n\nThis creates a modern, responsive ICT book sales website with smooth animations, a beautiful gradient design, and interactive elements. The site features a hero section, featured books display, category grid, and a clean footer. It includes a shopping cart functionality and smooth scrolling navigation.\n\nKey features:\n- Responsive design that works on all devices\n- Beautiful color gradients and animations\n- Interactive book cards with hover effects\n- Shopping cart functionality\n- Smooth scroll navigation\n- Fade-in animations using Intersection Observer\n- Clean, semantic HTML structure\n- Accessible design elements\n- Modern CSS with variables and flexbox/grid layouts\n\nThe design is professional yet engaging, with careful attention to typography, spacing, and user interaction."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 280,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2938
+ }
+ }
readme.scroll
Changed around line 1
+ # techbooks.scroll.pub
+ Website generated by Claude from prompt: i want an ICT book sales protion site
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ // Cart functionality
+ let cartCount = 0;
+ const cartCountElement = document.querySelector('.cart-count');
+ const addToCartButtons = document.querySelectorAll('.add-to-cart');
+
+ addToCartButtons.forEach(button => {
+ button.addEventListener('click', () => {
+ cartCount++;
+ cartCountElement.textContent = cartCount;
+
+ // Animation effect
+ button.textContent = 'Added!';
+ button.style.background = '#4CAF50';
+ setTimeout(() => {
+ button.textContent = 'Add to Cart';
+ button.style.background = '';
+ }, 1000);
+ });
+ });
+
+ // 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'
+ });
+ });
+ });
+
+ // Intersection Observer for fade-in animations
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = '1';
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ });
+
+ // Apply fade-in animation to sections
+ document.querySelectorAll('section').forEach(section => {
+ section.style.opacity = '0';
+ section.style.transform = 'translateY(20px)';
+ section.style.transition = 'all 0.6s ease-out';
+ observer.observe(section);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2a6bff;
+ --secondary-color: #ff6b6b;
+ --bg-color: #f8f9fa;
+ --text-color: #333;
+ --transition: all 0.3s ease;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background: var(--bg-color);
+ }
+
+ header {
+ position: fixed;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ z-index: 1000;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 5%;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
+ -webkit-background-clip: text;
+ color: transparent;
+ }
+
+ .nav-links a {
+ margin-left: 2rem;
+ text-decoration: none;
+ color: var(--text-color);
+ transition: var(--transition);
+ }
+
+ .nav-links a:hover {
+ color: var(--primary-color);
+ }
+
+ .cart-btn {
+ background: none;
+ border: none;
+ font-size: 1.2rem;
+ cursor: pointer;
+ margin-left: 2rem;
+ position: relative;
+ }
+
+ .cart-count {
+ position: absolute;
+ top: -8px;
+ right: -8px;
+ background: var(--secondary-color);
+ color: white;
+ border-radius: 50%;
+ padding: 0.2rem 0.5rem;
+ font-size: 0.8rem;
+ }
+
+ #hero {
+ height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ background: linear-gradient(135deg, #fff 0%, #f0f2ff 100%);
+ padding: 2rem;
+ }
+
+ h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
+ -webkit-background-clip: text;
+ color: transparent;
+ }
+
+ .cta-button {
+ padding: 1rem 2rem;
+ font-size: 1.1rem;
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 30px;
+ cursor: pointer;
+ transition: var(--transition);
+ margin-top: 2rem;
+ }
+
+ .cta-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
+ }
+
+ .book-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .book-card {
+ background: white;
+ border-radius: 15px;
+ padding: 1rem;
+ text-align: center;
+ transition: var(--transition);
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
+ }
+
+ .book-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
+ }
+
+ .book-image {
+ height: 200px;
+ background: #eee;
+ border-radius: 10px;
+ margin-bottom: 1rem;
+ }
+
+ .category-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .category {
+ background: white;
+ padding: 2rem;
+ text-align: center;
+ border-radius: 10px;
+ cursor: pointer;
+ transition: var(--transition);
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
+ }
+
+ .category:hover {
+ background: var(--primary-color);
+ color: white;
+ transform: scale(1.05);
+ }
+
+ section {
+ padding: 5rem 1rem;
+ }
+
+ h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+ color: var(--text-color);
+ }
+
+ footer {
+ background: #333;
+ color: white;
+ padding: 3rem 1rem;
+ }
+
+ .footer-content {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ }
+
+ .book-grid {
+ grid-template-columns: 1fr;
+ }
+ }