commit 1cd70bce7629a56b2bb20aaaca51ddbcdd8da0a1
Author: root <root@hub.scroll.pub> Date: 2025-01-02 12:48:20 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..9586969 --- /dev/null +++ b/body.html @@ -0,0 +1,93 @@ +<header> + <nav> + <div class="logo">AI Compare</div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#overview">Overview</a></li> + <li><a href="#features">Features</a></li> + <li><a href="#comparison">Comparison</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <h1>Claude 3.5 Sonnet vs DeepSeek v3</h1> + <p class="subtitle">A detailed comparison of two leading AI language models</p> + </section> + + <section id="overview" class="container"> + <h2>Overview</h2> + <div class="cards"> + <div class="card"> + <h3>Claude 3.5 Sonnet</h3> + <p>Anthropic's latest AI model, focused on reliable and nuanced responses with enhanced capabilities.</p> + </div> + <div class="card"> + <h3>DeepSeek v3</h3> + <p>DeepSeek's advanced language model emphasizing performance and versatility.</p> + </div> + </div> + </section> + + <section id="features" class="container"> + <h2>Key Features</h2> + <div class="feature-grid"> + <div class="feature"> + <h3>Context Window</h3> + <div class="comparison-row"> + <span>Claude: 200K tokens</span> + <span>DeepSeek: 128K tokens</span> + </div> + </div> + <div class="feature"> + <h3>Response Style</h3> + <div class="comparison-row"> + <span>Claude: Nuanced, detailed</span> + <span>DeepSeek: Concise, direct</span> + </div> + </div> + <div class="feature"> + <h3>Specialized Tasks</h3> + <div class="comparison-row"> + <span>Claude: Analysis, writing</span> + <span>DeepSeek: Technical, coding</span> + </div> + </div> + </div> + </section> + + <section id="comparison" class="container"> + <h2>Detailed Comparison</h2> + <div class="comparison-table"> + <div class="table-row header"> + <div>Aspect</div> + <div>Claude 3.5 Sonnet</div> + <div>DeepSeek v3</div> + </div> + <div class="table-row"> + <div>Speed</div> + <div>Very Fast</div> + <div>Fast</div> + </div> + <div class="table-row"> + <div>Accuracy</div> + <div>High</div> + <div>High</div> + </div> + <div class="table-row"> + <div>Cost</div> + <div>Premium</div> + <div>Moderate</div> + </div> + </div> + </section> +</main> + +<footer> + <div class="container"> + <p>Built with care by AI Compare</p> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..fecc34d --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://ai-compare.scroll.pub +metaTags +editButton /edit.html +title AI Model Comparison: Claude 3.5 Sonnet vs DeepSeek v3 +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..baa71ec --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01TdkBdAaGXEfi65Cwnduop3", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Here's a clean, professional website comparing Claude 3.5 Sonnet and DeepSeek v3:\n\n---domain---\nai-compare.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://ai-compare.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AI Model Comparison: Claude 3.5 Sonnet vs DeepSeek v3\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">AI Compare</div>\n <button class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#overview\">Overview</a></li>\n <li><a href=\"#features\">Features</a></li>\n <li><a href=\"#comparison\">Comparison</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\">\n <h1>Claude 3.5 Sonnet vs DeepSeek v3</h1>\n <p class=\"subtitle\">A detailed comparison of two leading AI language models</p>\n </section>\n\n <section id=\"overview\" class=\"container\">\n <h2>Overview</h2>\n <div class=\"cards\">\n <div class=\"card\">\n <h3>Claude 3.5 Sonnet</h3>\n <p>Anthropic's latest AI model, focused on reliable and nuanced responses with enhanced capabilities.</p>\n </div>\n <div class=\"card\">\n <h3>DeepSeek v3</h3>\n <p>DeepSeek's advanced language model emphasizing performance and versatility.</p>\n </div>\n </div>\n </section>\n\n <section id=\"features\" class=\"container\">\n <h2>Key Features</h2>\n <div class=\"feature-grid\">\n <div class=\"feature\">\n <h3>Context Window</h3>\n <div class=\"comparison-row\">\n <span>Claude: 200K tokens</span>\n <span>DeepSeek: 128K tokens</span>\n </div>\n </div>\n <div class=\"feature\">\n <h3>Response Style</h3>\n <div class=\"comparison-row\">\n <span>Claude: Nuanced, detailed</span>\n <span>DeepSeek: Concise, direct</span>\n </div>\n </div>\n <div class=\"feature\">\n <h3>Specialized Tasks</h3>\n <div class=\"comparison-row\">\n <span>Claude: Analysis, writing</span>\n <span>DeepSeek: Technical, coding</span>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"comparison\" class=\"container\">\n <h2>Detailed Comparison</h2>\n <div class=\"comparison-table\">\n <div class=\"table-row header\">\n <div>Aspect</div>\n <div>Claude 3.5 Sonnet</div>\n <div>DeepSeek v3</div>\n </div>\n <div class=\"table-row\">\n <div>Speed</div>\n <div>Very Fast</div>\n <div>Fast</div>\n </div>\n <div class=\"table-row\">\n <div>Accuracy</div>\n <div>High</div>\n <div>High</div>\n </div>\n <div class=\"table-row\">\n <div>Cost</div>\n <div>Premium</div>\n <div>Moderate</div>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"container\">\n <p>Built with care by AI Compare</p>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary: #2a4365;\n --secondary: #4299e1;\n --background: #f7fafc;\n --text: #2d3748;\n --card-bg: #ffffff;\n --accent: #667eea;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--background);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 2rem;\n}\n\n/* Header & Navigation */\nheader {\n background: var(--primary);\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n position: sticky;\n top: 0;\n z-index: 100;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 2rem;\n}\n\n.logo {\n color: white;\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\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.nav-links a:hover {\n color: var(--secondary);\n}\n\n.menu-toggle {\n display: none;\n}\n\n/* Hero Section */\n#hero {\n background: linear-gradient(135deg, var(--primary), var(--accent));\n color: white;\n text-align: center;\n padding: 4rem 2rem;\n}\n\n#hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.subtitle {\n font-size: 1.2rem;\n opacity: 0.9;\n}\n\n/* Cards */\n.cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.card:hover {\n transform: translateY(-5px);\n}\n\n/* Features */\n.feature-grid {\n display: grid;\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.feature {\n background: var(--card-bg);\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.05);\n}\n\n.comparison-row {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 1rem;\n margin-top: 1rem;\n}\n\n/* Comparison Table */\n.comparison-table {\n background: var(--card-bg);\n border-radius: 10px;\n overflow: hidden;\n margin-top: 2rem;\n}\n\n.table-row {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n padding: 1rem;\n}\n\n.table-row.header {\n background: var(--primary);\n color: white;\n font-weight: bold;\n}\n\n.table-row:not(.header):nth-child(even) {\n background: rgba(0,0,0,0.02);\n}\n\n/* Footer */\nfooter {\n background: var(--primary);\n color: white;\n text-align: center;\n padding: 2rem;\n margin-top: 4rem;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .menu-toggle {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n }\n\n .menu-toggle span {\n display: block;\n width: 25px;\n height: 3px;\n background: white;\n margin: 5px 0;\n transition: 0.3s;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary);\n flex-direction: column;\n padding: 1rem;\n gap: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .table-row {\n grid-template-columns: 1fr;\n text-align: center;\n }\n\n .table-row div:not(:first-child) {\n padding-top: 0.5rem;\n }\n\n .comparison-row {\n grid-template-columns: 1fr;\n text-align: center;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const menuToggle = document.querySelector('.menu-toggle');\n const navLinks = document.querySelector('.nav-links');\n\n menuToggle.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n const spans = menuToggle.querySelectorAll('span');\n spans[0].style.transform = navLinks.classList.contains('active') ? 'rotate(45deg) translate(6px, 6px)' : 'none';\n spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1';\n spans[2].style.transform = navLinks.classList.contains('active') ? 'rotate(-45deg) translate(6px, -6px)' : 'none';\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 const target = document.querySelector(this.getAttribute('href'));\n target.scrollIntoView({\n behavior: 'smooth'\n });\n // Close mobile menu after clicking\n if (navLinks.classList.contains('active')) {\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Add 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 threshold: 0.1\n });\n\n // Observe all sections\n document.querySelectorAll('section').forEach(section => {\n section.style.opacity = '0';\n section.style.transform = 'translateY(20px)';\n section.style.transition = 'opacity 0.6s ease, transform 0.6s ease';\n observer.observe(section);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 291, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2899 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..d33e8b5 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# ai-compare.scroll.pub +Website generated by Claude from prompt: differebce between claude 3.5 sonnet (new) and deepseek v3 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..b163036 --- /dev/null +++ b/script.js @@ -0,0 +1,48 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu toggle + const menuToggle = document.querySelector('.menu-toggle'); + const navLinks = document.querySelector('.nav-links'); + + menuToggle.addEventListener('click', () => { + navLinks.classList.toggle('active'); + const spans = menuToggle.querySelectorAll('span'); + spans[0].style.transform = navLinks.classList.contains('active') ? 'rotate(45deg) translate(6px, 6px)' : 'none'; + spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1'; + spans[2].style.transform = navLinks.classList.contains('active') ? 'rotate(-45deg) translate(6px, -6px)' : 'none'; + }); + + // Smooth scroll for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + target.scrollIntoView({ + behavior: 'smooth' + }); + // Close mobile menu after clicking + if (navLinks.classList.contains('active')) { + navLinks.classList.remove('active'); + } + }); + }); + + // Add 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)'; + } + }); + }, { + threshold: 0.1 + }); + + // Observe all sections + document.querySelectorAll('section').forEach(section => { + section.style.opacity = '0'; + section.style.transform = 'translateY(20px)'; + section.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; + observer.observe(section); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..443b43b --- /dev/null +++ b/style.css @@ -0,0 +1,211 @@ +:root { + --primary: #2a4365; + --secondary: #4299e1; + --background: #f7fafc; + --text: #2d3748; + --card-bg: #ffffff; + --accent: #667eea; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif; + line-height: 1.6; + color: var(--text); + background: var(--background); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 2rem; +} + +/* Header & Navigation */ +header { + background: var(--primary); + box-shadow: 0 2px 4px rgba(0,0,0,0.1); + position: sticky; + top: 0; + z-index: 100; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 2rem; +} + +.logo { + color: white; + font-size: 1.5rem; + font-weight: bold; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: white; + text-decoration: none; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--secondary); +} + +.menu-toggle { + display: none; +} + +/* Hero Section */ +#hero { + background: linear-gradient(135deg, var(--primary), var(--accent)); + color: white; + text-align: center; + padding: 4rem 2rem; +} + +#hero h1 { + font-size: 3rem; + margin-bottom: 1rem; +} + +.subtitle { + font-size: 1.2rem; + opacity: 0.9; +} + +/* Cards */ +.cards { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.card { + background: var(--card-bg); + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); + transition: transform 0.3s ease; +} + +.card:hover { + transform: translateY(-5px); +} + +/* Features */ +.feature-grid { + display: grid; + gap: 2rem; + margin-top: 2rem; +} + +.feature { + background: var(--card-bg); + padding: 1.5rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); +} + +.comparison-row { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 1rem; + margin-top: 1rem; +} + +/* Comparison Table */ +.comparison-table { + background: var(--card-bg); + border-radius: 10px; + overflow: hidden; + margin-top: 2rem; +} + +.table-row { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + padding: 1rem; +} + +.table-row.header { + background: var(--primary); + color: white; + font-weight: bold; +} + +.table-row:not(.header):nth-child(even) { + background: rgba(0,0,0,0.02); +} + +/* Footer */ +footer { + background: var(--primary); + color: white; + text-align: center; + padding: 2rem; + margin-top: 4rem; +} + +/* Responsive Design */ +@media (max-width: 768px) { + .menu-toggle { + display: block; + background: none; + border: none; + cursor: pointer; + padding: 0.5rem; + } + + .menu-toggle span { + display: block; + width: 25px; + height: 3px; + background: white; + margin: 5px 0; + transition: 0.3s; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary); + flex-direction: column; + padding: 1rem; + gap: 1rem; + } + + .nav-links.active { + display: flex; + } + + .table-row { + grid-template-columns: 1fr; + text-align: center; + } + + .table-row div:not(:first-child) { + padding-top: 0.5rem; + } + + .comparison-row { + grid-template-columns: 1fr; + text-align: center; + } +}