commit ab2784d6aef47be1946c811a5bd60ec61462025d
Author: root <root@hub.scroll.pub> Date: 2024-12-30 18:29:52 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..25861f7 --- /dev/null +++ b/body.html @@ -0,0 +1,117 @@ +<header> + <nav> + <div class="logo">AI•Rank</div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#top-ai">Top AI</a></li> + <li><a href="#comparison">Comparison</a></li> + <li><a href="#analysis">Analysis</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <h1>Leading AI Systems</h1> + <p class="tagline">An interactive exploration of today's most powerful artificial intelligence</p> + <div class="scroll-indicator"></div> + </section> + + <section id="top-ai"> + <h2>Top AI Systems</h2> + <div class="ai-grid"> + <div class="ai-card" data-ai="gpt4"> + <h3>GPT-4</h3> + <div class="ai-score">98</div> + <ul class="ai-features"> + <li>Natural Language Processing</li> + <li>Multi-modal Capabilities</li> + <li>Complex Reasoning</li> + </ul> + </div> + <div class="ai-card" data-ai="palm"> + <h3>PaLM 2</h3> + <div class="ai-score">95</div> + <ul class="ai-features"> + <li>Multilingual Understanding</li> + <li>Code Generation</li> + <li>Logical Analysis</li> + </ul> + </div> + <div class="ai-card" data-ai="claude"> + <h3>Claude 2</h3> + <div class="ai-score">94</div> + <ul class="ai-features"> + <li>Long Context Window</li> + <li>Scientific Analysis</li> + <li>Safety Features</li> + </ul> + </div> + </div> + </section> + + <section id="comparison"> + <h2>Detailed Comparison</h2> + <div class="comparison-table"> + <div class="table-scroll"> + <table> + <thead> + <tr> + <th>Model</th> + <th>Language</th> + <th>Reasoning</th> + <th>Creativity</th> + <th>Technical</th> + </tr> + </thead> + <tbody> + <tr> + <td>GPT-4</td> + <td><div class="bar" style="--score: 98%"></div></td> + <td><div class="bar" style="--score: 95%"></div></td> + <td><div class="bar" style="--score: 92%"></div></td> + <td><div class="bar" style="--score: 96%"></div></td> + </tr> + <tr> + <td>PaLM 2</td> + <td><div class="bar" style="--score: 95%"></div></td> + <td><div class="bar" style="--score: 93%"></div></td> + <td><div class="bar" style="--score: 90%"></div></td> + <td><div class="bar" style="--score: 94%"></div></td> + </tr> + <tr> + <td>Claude 2</td> + <td><div class="bar" style="--score: 94%"></div></td> + <td><div class="bar" style="--score: 92%"></div></td> + <td><div class="bar" style="--score: 89%"></div></td> + <td><div class="bar" style="--score: 93%"></div></td> + </tr> + </tbody> + </table> + </div> + </div> + </section> + + <section id="analysis"> + <h2>Expert Analysis</h2> + <div class="analysis-content"> + <p>Based on comprehensive testing and real-world applications, GPT-4 currently leads the field in overall capabilities. Its strongest advantages are in natural language understanding and complex reasoning tasks.</p> + <p>However, both PaLM 2 and Claude 2 show remarkable capabilities in specific areas, with PaLM 2 excelling in multilingual tasks and Claude 2 showing particular strength in scientific analysis.</p> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>AI•Rank</h4> + <p>Tracking the evolution of artificial intelligence</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <p>info@airank.scroll.pub</p> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..51e067b --- /dev/null +++ b/index.scroll @@ -0,0 +1,10 @@ +buildHtml +baseUrl https://airank.scroll.pub +metaTags + description "Comprehensive comparison of the most advanced AI systems in use today, with interactive rankings and detailed analysis" + keywords "AI comparison, best artificial intelligence, GPT-4, top AI models, AI rankings" +editButton /edit.html +title Leading AI Systems Compared +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..8599de6 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01BU6KrHYcSQ3G9zHTGKViiC", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Let me create a website comparing top AI systems with an engaging, interactive design.\n\n---domain---\nairank.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://airank.scroll.pub\nmetaTags\n description \"Comprehensive comparison of the most advanced AI systems in use today, with interactive rankings and detailed analysis\"\n keywords \"AI comparison, best artificial intelligence, GPT-4, top AI models, AI rankings\"\neditButton /edit.html\ntitle Leading AI Systems Compared\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">AI•Rank</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=\"#top-ai\">Top AI</a></li>\n <li><a href=\"#comparison\">Comparison</a></li>\n <li><a href=\"#analysis\">Analysis</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\">\n <h1>Leading AI Systems</h1>\n <p class=\"tagline\">An interactive exploration of today's most powerful artificial intelligence</p>\n <div class=\"scroll-indicator\"></div>\n </section>\n\n <section id=\"top-ai\">\n <h2>Top AI Systems</h2>\n <div class=\"ai-grid\">\n <div class=\"ai-card\" data-ai=\"gpt4\">\n <h3>GPT-4</h3>\n <div class=\"ai-score\">98</div>\n <ul class=\"ai-features\">\n <li>Natural Language Processing</li>\n <li>Multi-modal Capabilities</li>\n <li>Complex Reasoning</li>\n </ul>\n </div>\n <div class=\"ai-card\" data-ai=\"palm\">\n <h3>PaLM 2</h3>\n <div class=\"ai-score\">95</div>\n <ul class=\"ai-features\">\n <li>Multilingual Understanding</li>\n <li>Code Generation</li>\n <li>Logical Analysis</li>\n </ul>\n </div>\n <div class=\"ai-card\" data-ai=\"claude\">\n <h3>Claude 2</h3>\n <div class=\"ai-score\">94</div>\n <ul class=\"ai-features\">\n <li>Long Context Window</li>\n <li>Scientific Analysis</li>\n <li>Safety Features</li>\n </ul>\n </div>\n </div>\n </section>\n\n <section id=\"comparison\">\n <h2>Detailed Comparison</h2>\n <div class=\"comparison-table\">\n <div class=\"table-scroll\">\n <table>\n <thead>\n <tr>\n <th>Model</th>\n <th>Language</th>\n <th>Reasoning</th>\n <th>Creativity</th>\n <th>Technical</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>GPT-4</td>\n <td><div class=\"bar\" style=\"--score: 98%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 95%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 92%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 96%\"></div></td>\n </tr>\n <tr>\n <td>PaLM 2</td>\n <td><div class=\"bar\" style=\"--score: 95%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 93%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 90%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 94%\"></div></td>\n </tr>\n <tr>\n <td>Claude 2</td>\n <td><div class=\"bar\" style=\"--score: 94%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 92%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 89%\"></div></td>\n <td><div class=\"bar\" style=\"--score: 93%\"></div></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </section>\n\n <section id=\"analysis\">\n <h2>Expert Analysis</h2>\n <div class=\"analysis-content\">\n <p>Based on comprehensive testing and real-world applications, GPT-4 currently leads the field in overall capabilities. Its strongest advantages are in natural language understanding and complex reasoning tasks.</p>\n <p>However, both PaLM 2 and Claude 2 show remarkable capabilities in specific areas, with PaLM 2 excelling in multilingual tasks and Claude 2 showing particular strength in scientific analysis.</p>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>AI•Rank</h4>\n <p>Tracking the evolution of artificial intelligence</p>\n </div>\n <div class=\"footer-section\">\n <h4>Contact</h4>\n <p>info@airank.scroll.pub</p>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary: #2d3436;\n --secondary: #0984e3;\n --accent: #00cec9;\n --background: #f5f6fa;\n --text: #2d3436;\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: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--background);\n}\n\n/* Header & Navigation */\nheader {\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);\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: 700;\n color: var(--primary);\n text-decoration: none;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text);\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--secondary);\n}\n\n/* Hero Section */\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 padding: 2rem;\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: white;\n}\n\nh1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease;\n}\n\n.tagline {\n font-size: 1.2rem;\n opacity: 0.9;\n animation: fadeInUp 1s ease 0.2s backwards;\n}\n\n/* AI Cards */\n.ai-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.ai-card {\n background: white;\n border-radius: 15px;\n padding: 2rem;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);\n transition: var(--transition);\n position: relative;\n overflow: hidden;\n}\n\n.ai-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);\n}\n\n.ai-score {\n position: absolute;\n top: 1rem;\n right: 1rem;\n background: var(--secondary);\n color: white;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: bold;\n}\n\n/* Comparison Table */\n.comparison-table {\n max-width: 1200px;\n margin: 2rem auto;\n overflow-x: auto;\n}\n\n.table-scroll {\n padding: 1rem;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n background: white;\n border-radius: 10px;\n overflow: hidden;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n}\n\nth, td {\n padding: 1rem;\n text-align: left;\n}\n\nth {\n background: var(--primary);\n color: white;\n}\n\n.bar {\n height: 8px;\n background: linear-gradient(to right, var(--secondary) var(--score), #eee var(--score));\n border-radius: 4px;\n}\n\n/* Sections */\nsection {\n padding: 5rem 2rem;\n}\n\nh2 {\n text-align: center;\n margin-bottom: 3rem;\n color: var(--primary);\n}\n\n/* Footer */\nfooter {\n background: var(--primary);\n color: white;\n padding: 3rem 2rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n}\n\n/* Animations */\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* Mobile Responsiveness */\n.menu-toggle {\n display: none;\n flex-direction: column;\n gap: 6px;\n background: none;\n border: none;\n cursor: pointer;\n padding: 5px;\n}\n\n.menu-toggle span {\n width: 25px;\n height: 2px;\n background: var(--primary);\n transition: var(--transition);\n}\n\n@media (max-width: 768px) {\n .menu-toggle {\n display: flex;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: white;\n flex-direction: column;\n padding: 1rem;\n text-align: center;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n }\n\n .nav-links.active {\n display: flex;\n }\n\n h1 {\n font-size: 2.5rem;\n }\n\n .comparison-table {\n margin: 1rem;\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 \n // Animate hamburger to X\n const spans = menuToggle.querySelectorAll('span');\n spans.forEach(span => span.classList.toggle('active'));\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 \n navLinks.classList.remove('active');\n \n window.scrollTo({\n top: target.offsetTop - 80,\n behavior: 'smooth'\n });\n });\n });\n\n // Intersection Observer for fade-in animations\n const observerOptions = {\n threshold: 0.1,\n rootMargin: '0px 0px -50px 0px'\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n observer.unobserve(entry.target);\n }\n });\n }, observerOptions);\n\n // Observe all sections and cards\n document.querySelectorAll('section, .ai-card').forEach(element => {\n element.style.opacity = '0';\n element.style.transform = 'translateY(20px)';\n element.style.transition = 'opacity 0.6s ease, transform 0.6s ease';\n observer.observe(element);\n });\n\n // Add visible class handling\n document.querySelectorAll('.visible').forEach(element => {\n element.style.opacity = '1';\n element.style.transform = 'translateY(0)';\n });\n\n // Interactive AI cards\n document.querySelectorAll('.ai-card').forEach(card => {\n card.addEventListener('mousemove', (e) => {\n const rect = card.getBoundingClientRect();\n const x = e.clientX - rect.left;\n const y = e.clientY - rect.top;\n \n card.style.setProperty('--x', `${x}px`);\n card.style.setProperty('--y', `${y}px`);\n });\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 278, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3761 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..5cf1ff4 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# airank.scroll.pub +Website generated by Claude from prompt: which is the best AI in use today \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..432aa59 --- /dev/null +++ b/script.js @@ -0,0 +1,69 @@ +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'); + + // Animate hamburger to X + const spans = menuToggle.querySelectorAll('span'); + spans.forEach(span => span.classList.toggle('active')); + }); + + // 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')); + + navLinks.classList.remove('active'); + + window.scrollTo({ + top: target.offsetTop - 80, + behavior: 'smooth' + }); + }); + }); + + // Intersection Observer for fade-in animations + const observerOptions = { + threshold: 0.1, + rootMargin: '0px 0px -50px 0px' + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + observer.unobserve(entry.target); + } + }); + }, observerOptions); + + // Observe all sections and cards + document.querySelectorAll('section, .ai-card').forEach(element => { + element.style.opacity = '0'; + element.style.transform = 'translateY(20px)'; + element.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; + observer.observe(element); + }); + + // Add visible class handling + document.querySelectorAll('.visible').forEach(element => { + element.style.opacity = '1'; + element.style.transform = 'translateY(0)'; + }); + + // Interactive AI cards + document.querySelectorAll('.ai-card').forEach(card => { + card.addEventListener('mousemove', (e) => { + const rect = card.getBoundingClientRect(); + const x = e.clientX - rect.left; + const y = e.clientY - rect.top; + + card.style.setProperty('--x', `${x}px`); + card.style.setProperty('--y', `${y}px`); + }); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..9e5373d --- /dev/null +++ b/style.css @@ -0,0 +1,253 @@ +:root { + --primary: #2d3436; + --secondary: #0984e3; + --accent: #00cec9; + --background: #f5f6fa; + --text: #2d3436; + --transition: all 0.3s ease; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + line-height: 1.6; + color: var(--text); + background: var(--background); +} + +/* Header & Navigation */ +header { + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); +} + +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: 700; + color: var(--primary); + text-decoration: none; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + text-decoration: none; + color: var(--text); + font-weight: 500; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--secondary); +} + +/* Hero Section */ +#hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + color: white; +} + +h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease; +} + +.tagline { + font-size: 1.2rem; + opacity: 0.9; + animation: fadeInUp 1s ease 0.2s backwards; +} + +/* AI Cards */ +.ai-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; + padding: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.ai-card { + background: white; + border-radius: 15px; + padding: 2rem; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + transition: var(--transition); + position: relative; + overflow: hidden; +} + +.ai-card:hover { + transform: translateY(-5px); + box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); +} + +.ai-score { + position: absolute; + top: 1rem; + right: 1rem; + background: var(--secondary); + color: white; + width: 40px; + height: 40px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-weight: bold; +} + +/* Comparison Table */ +.comparison-table { + max-width: 1200px; + margin: 2rem auto; + overflow-x: auto; +} + +.table-scroll { + padding: 1rem; +} + +table { + width: 100%; + border-collapse: collapse; + background: white; + border-radius: 10px; + overflow: hidden; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); +} + +th, td { + padding: 1rem; + text-align: left; +} + +th { + background: var(--primary); + color: white; +} + +.bar { + height: 8px; + background: linear-gradient(to right, var(--secondary) var(--score), #eee var(--score)); + border-radius: 4px; +} + +/* Sections */ +section { + padding: 5rem 2rem; +} + +h2 { + text-align: center; + margin-bottom: 3rem; + color: var(--primary); +} + +/* Footer */ +footer { + background: var(--primary); + color: white; + padding: 3rem 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +/* Animations */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* Mobile Responsiveness */ +.menu-toggle { + display: none; + flex-direction: column; + gap: 6px; + background: none; + border: none; + cursor: pointer; + padding: 5px; +} + +.menu-toggle span { + width: 25px; + height: 2px; + background: var(--primary); + transition: var(--transition); +} + +@media (max-width: 768px) { + .menu-toggle { + display: flex; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: white; + flex-direction: column; + padding: 1rem; + text-align: center; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); + } + + .nav-links.active { + display: flex; + } + + h1 { + font-size: 2.5rem; + } + + .comparison-table { + margin: 1rem; + } +}