commit dcb7203c4abf24f339e41b5b108dddacd94ff876
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 03:37:28 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..3ddb992
--- /dev/null
+++ b/body.html
@@ -0,0 +1,74 @@
+<header>
+ <nav>
+ <div class="logo">Plato</div>
+ <button class="mobile-menu" aria-label="Toggle menu">
+ <span></span><span></span><span></span>
+ </button>
+ <ul class="nav-links">
+ <li><a href="#features">Features</a></li>
+ <li><a href="#docs">Documentation</a></li>
+ <li><a href="#install">Install</a></li>
+ <li><a href="https://github.com/plato/plato" class="github-btn">GitHub</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <div class="hero-content">
+ <h1>Machine Learning, <span class="accent">Simplified</span></h1>
+ <p>A powerful, intuitive Python library for modern machine learning workflows</p>
+ <div class="cta-buttons">
+ <button class="primary-btn">Get Started</button>
+ <button class="secondary-btn">View Docs</button>
+ </div>
+ <div class="code-preview">
+ <pre><code>pip install plato
+
+import plato as pl
+
+model = pl.NeuralNetwork()
+model.train(X_train, y_train)
+predictions = model.predict(X_test)</code></pre>
+ </div>
+ </div>
+ </section>
+
+ <section id="features" class="features">
+ <h2>Why Choose Plato?</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">⚡</div>
+ <h3>Lightning Fast</h3>
+ <p>Optimized performance with parallel processing capabilities</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔧</div>
+ <h3>Easy to Use</h3>
+ <p>Intuitive API designed for both beginners and experts</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">📊</div>
+ <h3>Visualizations</h3>
+ <p>Built-in plotting and model interpretation tools</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔍</div>
+ <h3>Model Inspection</h3>
+ <p>Transparent access to model internals and decisions</p>
+ </div>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-links">
+ <a href="#about">About</a>
+ <a href="#docs">Documentation</a>
+ <a href="#community">Community</a>
+ <a href="#blog">Blog</a>
+ </div>
+ <p>Made with ❤️ by the Plato Team</p>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..b27de66
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://platoml.scroll.pub
+metaTags
+editButton /edit.html
+title Plato - Elegant Machine Learning for Python
+style.css
+body.html
+script.js
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..c4d8344
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# platoml.scroll.pub
+Website generated by Claude from prompt: A website that is landing page for a machine learning library in Python called plato
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..a663d41
--- /dev/null
+++ b/script.js
@@ -0,0 +1,45 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const mobileMenu = document.querySelector('.mobile-menu');
+ const navLinks = document.querySelector('.nav-links');
+
+ mobileMenu.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+
+ // Animate hamburger to X
+ const spans = mobileMenu.querySelectorAll('span');
+ spans.forEach(span => span.classList.toggle('active'));
+ });
+
+ // Smooth scroll for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ if (target) {
+ target.scrollIntoView({
+ behavior: 'smooth'
+ });
+ // Close mobile menu if open
+ navLinks.classList.remove('active');
+ }
+ });
+ });
+
+ // Add scroll animation for features
+ const observerOptions = {
+ threshold: 0.1
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('animate');
+ }
+ });
+ }, observerOptions);
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ observer.observe(card);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..152f738
--- /dev/null
+++ b/style.css
@@ -0,0 +1,240 @@
+:root {
+ --primary: #6366f1;
+ --secondary: #818cf8;
+ --text: #1f2937;
+ --bg: #ffffff;
+ --accent: #4f46e5;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: system-ui, -apple-system, sans-serif;
+ color: var(--text);
+ line-height: 1.6;
+}
+
+/* Header & Navigation */
+header {
+ position: fixed;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ z-index: 1000;
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+}
+
+nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem 2rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: 700;
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ -webkit-background-clip: text;
+ color: transparent;
+}
+
+.nav-links {
+ display: flex;
+ gap: 2rem;
+ list-style: none;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text);
+ font-weight: 500;
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--primary);
+}
+
+.github-btn {
+ background: var(--primary);
+ color: white !important;
+ padding: 0.5rem 1rem;
+ border-radius: 0.5rem;
+}
+
+/* Hero Section */
+.hero {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ padding: 6rem 2rem 2rem;
+ background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
+}
+
+.hero-content {
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.hero h1 {
+ font-size: 4rem;
+ line-height: 1.2;
+ margin-bottom: 1.5rem;
+}
+
+.accent {
+ color: var(--accent);
+}
+
+.cta-buttons {
+ display: flex;
+ gap: 1rem;
+ margin: 2rem 0;
+}
+
+.primary-btn, .secondary-btn {
+ padding: 0.75rem 1.5rem;
+ border-radius: 0.5rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+}
+
+.primary-btn {
+ background: var(--primary);
+ color: white;
+ border: none;
+}
+
+.secondary-btn {
+ background: transparent;
+ border: 2px solid var(--primary);
+ color: var(--primary);
+}
+
+.primary-btn:hover, .secondary-btn:hover {
+ transform: translateY(-2px);
+}
+
+.code-preview {
+ background: #1a1a1a;
+ padding: 1.5rem;
+ border-radius: 0.75rem;
+ margin-top: 2rem;
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+}
+
+.code-preview code {
+ color: #e5e7eb;
+ font-family: 'Monaco', monospace;
+}
+
+/* Features Section */
+.features {
+ padding: 4rem 2rem;
+ background: var(--bg);
+}
+
+.features h2 {
+ text-align: center;
+ font-size: 2.5rem;
+ margin-bottom: 3rem;
+}
+
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.feature-card {
+ padding: 2rem;
+ border-radius: 1rem;
+ background: white;
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ transition: transform 0.3s ease;
+}
+
+.feature-card:hover {
+ transform: translateY(-5px);
+}
+
+.feature-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+}
+
+/* Footer */
+footer {
+ background: #f3f4f6;
+ padding: 2rem;
+ text-align: center;
+}
+
+.footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 1rem;
+}
+
+.footer-links a {
+ color: var(--text);
+ text-decoration: none;
+}
+
+/* Mobile Menu */
+.mobile-menu {
+ display: none;
+ flex-direction: column;
+ gap: 4px;
+ background: none;
+ border: none;
+ cursor: pointer;
+}
+
+.mobile-menu span {
+ width: 25px;
+ height: 2px;
+ background: var(--text);
+ transition: 0.3s;
+}
+
+@media (max-width: 768px) {
+ .mobile-menu {
+ display: flex;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: white;
+ flex-direction: column;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .cta-buttons {
+ flex-direction: column;
+ }
+}