commit 09ed5f73ae00a88d32fc7262b7b78345e28d058d
Author: root <root@hub.scroll.pub>
Date: 2025-01-08 10:31:48 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..3282082
--- /dev/null
+++ b/body.html
@@ -0,0 +1,88 @@
+<header class="main-header">
+ <nav>
+ <div class="logo">TPW</div>
+ <div class="menu-toggle" id="menuToggle">
+ <span></span><span></span><span></span>
+ </div>
+ <ul class="nav-links">
+ <li><a href="#home">首页</a></li>
+ <li><a href="#blockchain">区块链</a></li>
+ <li><a href="#ai">人工智能</a></li>
+ <li><a href="#privacy">隐私保护</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section id="home" class="hero">
+ <div class="hero-content">
+ <h1>未来科技的交汇点</h1>
+ <p>区块链、人工智能与隐私保护的创新解决方案</p>
+ <button class="cta-button">了解更多</button>
+ </div>
+ </section>
+
+ <section id="blockchain" class="feature-section">
+ <h2>区块链技术</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">🔗</div>
+ <h3>去中心化</h3>
+ <p>探索区块链技术带来的革命性变革</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">📊</div>
+ <h3>智能合约</h3>
+ <p>自动化的信任机制</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="ai" class="feature-section">
+ <h2>人工智能</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">🤖</div>
+ <h3>机器学习</h3>
+ <p>智能算法与数据分析</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🧠</div>
+ <h3>深度学习</h3>
+ <p>神经网络与模式识别</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="privacy" class="feature-section">
+ <h2>隐私保护</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="feature-icon">🔒</div>
+ <h3>数据加密</h3>
+ <p>保护您的数字资产安全</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🛡️</div>
+ <h3>身份验证</h3>
+ <p>安全可靠的身份认证系统</p>
+ </div>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h4>联系我们</h4>
+ <p>邮箱: contact@tpw.scroll.pub</p>
+ </div>
+ <div class="footer-section">
+ <h4>关注我们</h4>
+ <div class="social-links">
+ <a href="#" class="social-icon">微博</a>
+ <a href="#" class="social-icon">微信</a>
+ </div>
+ </div>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..f7c0e73
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://tpw.scroll.pub
+metaTags
+editButton /edit.html
+title TPW - Blockchain AI Privacy Solutions
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..063cc4f
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_013iJQ9ws7SVNGZaxzYfdrbq",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a blockchain/AI privacy-focused website called \"TPW\" (Tech Privacy Web). Here's the implementation:\n\n---domain---\ntpw.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://tpw.scroll.pub\nmetaTags\neditButton /edit.html\ntitle TPW - Blockchain AI Privacy Solutions\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"main-header\">\n <nav>\n <div class=\"logo\">TPW</div>\n <div class=\"menu-toggle\" id=\"menuToggle\">\n <span></span><span></span><span></span>\n </div>\n <ul class=\"nav-links\">\n <li><a href=\"#home\">首页</a></li>\n <li><a href=\"#blockchain\">区块链</a></li>\n <li><a href=\"#ai\">人工智能</a></li>\n <li><a href=\"#privacy\">隐私保护</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"home\" class=\"hero\">\n <div class=\"hero-content\">\n <h1>未来科技的交汇点</h1>\n <p>区块链、人工智能与隐私保护的创新解决方案</p>\n <button class=\"cta-button\">了解更多</button>\n </div>\n </section>\n\n <section id=\"blockchain\" class=\"feature-section\">\n <h2>区块链技术</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔗</div>\n <h3>去中心化</h3>\n <p>探索区块链技术带来的革命性变革</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📊</div>\n <h3>智能合约</h3>\n <p>自动化的信任机制</p>\n </div>\n </div>\n </section>\n\n <section id=\"ai\" class=\"feature-section\">\n <h2>人工智能</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🤖</div>\n <h3>机器学习</h3>\n <p>智能算法与数据分析</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🧠</div>\n <h3>深度学习</h3>\n <p>神经网络与模式识别</p>\n </div>\n </div>\n </section>\n\n <section id=\"privacy\" class=\"feature-section\">\n <h2>隐私保护</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔒</div>\n <h3>数据加密</h3>\n <p>保护您的数字资产安全</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🛡️</div>\n <h3>身份验证</h3>\n <p>安全可靠的身份认证系统</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>联系我们</h4>\n <p>邮箱: contact@tpw.scroll.pub</p>\n </div>\n <div class=\"footer-section\">\n <h4>关注我们</h4>\n <div class=\"social-links\">\n <a href=\"#\" class=\"social-icon\">微博</a>\n <a href=\"#\" class=\"social-icon\">微信</a>\n </div>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2a2a72;\n --secondary-color: #009ffd;\n --text-color: #333;\n --background-color: #f8f9fa;\n --card-background: #ffffff;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\n.main-header {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n padding: 1rem;\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n color: white;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n}\n\n.nav-links li a {\n color: white;\n text-decoration: none;\n padding: 0.5rem 1rem;\n transition: all 0.3s ease;\n}\n\n.nav-links li a:hover {\n background: rgba(255, 255, 255, 0.1);\n border-radius: 4px;\n}\n\n.menu-toggle {\n display: none;\n flex-direction: column;\n cursor: pointer;\n}\n\n.menu-toggle span {\n width: 25px;\n height: 3px;\n background-color: white;\n margin: 2px 0;\n transition: 0.3s;\n}\n\n.hero {\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), \n url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><rect width=\"100\" height=\"100\" fill=\"%232a2a72\"/></svg>');\n background-size: cover;\n color: white;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n}\n\n.cta-button {\n padding: 1rem 2rem;\n font-size: 1.2rem;\n background: var(--secondary-color);\n border: none;\n border-radius: 50px;\n color: white;\n cursor: pointer;\n transition: transform 0.3s ease;\n}\n\n.cta-button:hover {\n transform: scale(1.05);\n}\n\n.feature-section {\n padding: 5rem 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-section h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2.5rem;\n color: var(--primary-color);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.feature-card {\n background: var(--card-background);\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 text-align: center;\n}\n\n.feature-card:hover {\n transform: translateY(-10px);\n}\n\n.feature-icon {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\nfooter {\n background: var(--primary-color);\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.social-links {\n display: flex;\n gap: 1rem;\n}\n\n.social-icon {\n color: white;\n text-decoration: none;\n transition: opacity 0.3s ease;\n}\n\n.social-icon:hover {\n opacity: 0.8;\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: var(--primary-color);\n flex-direction: column;\n padding: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .nav-links li {\n margin: 0.5rem 0;\n }\n\n .hero-content h1 {\n font-size: 2.5rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const menuToggle = document.getElementById('menuToggle');\n const navLinks = document.querySelector('.nav-links');\n\n menuToggle.addEventListener('click', () => {\n navLinks.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 if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n // Close mobile menu after clicking\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Intersection Observer for animation\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 feature cards\n document.querySelectorAll('.feature-card').forEach(card => {\n card.style.opacity = '0';\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'all 0.6s ease-out';\n observer.observe(card);\n });\n});\n\n---end---"
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 300,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2863
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..985b0a4
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,3 @@
+# tpw.scroll.pub
+
+website generated by Claude from prompt: 生成一个名字叫 tpw 的AI主题网站 主题是区块链AI隐私
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..4dc8fcc
--- /dev/null
+++ b/script.js
@@ -0,0 +1,44 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const menuToggle = document.getElementById('menuToggle');
+ const navLinks = document.querySelector('.nav-links');
+
+ menuToggle.addEventListener('click', () => {
+ navLinks.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'));
+ if (target) {
+ target.scrollIntoView({
+ behavior: 'smooth'
+ });
+ // Close mobile menu after clicking
+ navLinks.classList.remove('active');
+ }
+ });
+ });
+
+ // Intersection Observer for animation
+ 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 feature cards
+ document.querySelectorAll('.feature-card').forEach(card => {
+ card.style.opacity = '0';
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'all 0.6s ease-out';
+ observer.observe(card);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..11ce19e
--- /dev/null
+++ b/style.css
@@ -0,0 +1,201 @@
+:root {
+ --primary-color: #2a2a72;
+ --secondary-color: #009ffd;
+ --text-color: #333;
+ --background-color: #f8f9fa;
+ --card-background: #ffffff;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+}
+
+.main-header {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ padding: 1rem;
+ position: fixed;
+ width: 100%;
+ top: 0;
+ z-index: 1000;
+}
+
+nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.logo {
+ font-size: 2rem;
+ font-weight: bold;
+ color: white;
+}
+
+.nav-links {
+ display: flex;
+ list-style: none;
+}
+
+.nav-links li a {
+ color: white;
+ text-decoration: none;
+ padding: 0.5rem 1rem;
+ transition: all 0.3s ease;
+}
+
+.nav-links li a:hover {
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 4px;
+}
+
+.menu-toggle {
+ display: none;
+ flex-direction: column;
+ cursor: pointer;
+}
+
+.menu-toggle span {
+ width: 25px;
+ height: 3px;
+ background-color: white;
+ margin: 2px 0;
+ transition: 0.3s;
+}
+
+.hero {
+ height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+ background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
+ url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232a2a72"/></svg>');
+ background-size: cover;
+ color: white;
+}
+
+.hero-content h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+}
+
+.cta-button {
+ padding: 1rem 2rem;
+ font-size: 1.2rem;
+ background: var(--secondary-color);
+ border: none;
+ border-radius: 50px;
+ color: white;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+}
+
+.cta-button:hover {
+ transform: scale(1.05);
+}
+
+.feature-section {
+ padding: 5rem 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.feature-section h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2.5rem;
+ color: var(--primary-color);
+}
+
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+}
+
+.feature-card {
+ background: var(--card-background);
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+ transition: transform 0.3s ease;
+ text-align: center;
+}
+
+.feature-card:hover {
+ transform: translateY(-10px);
+}
+
+.feature-icon {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+}
+
+footer {
+ background: var(--primary-color);
+ 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;
+}
+
+.social-links {
+ display: flex;
+ gap: 1rem;
+}
+
+.social-icon {
+ color: white;
+ text-decoration: none;
+ transition: opacity 0.3s ease;
+}
+
+.social-icon:hover {
+ opacity: 0.8;
+}
+
+@media (max-width: 768px) {
+ .menu-toggle {
+ display: flex;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: var(--primary-color);
+ flex-direction: column;
+ padding: 1rem;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .nav-links li {
+ margin: 0.5rem 0;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+}