commit f2db3d4266a2492357f1cbe47b224b416acacc59
Author: root <root@hub.scroll.pub>
Date: 2024-12-29 14:48:03 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..7cbefd0
--- /dev/null
+++ b/body.html
@@ -0,0 +1,32 @@
+<header>
+ <div class="avatar-container">
+ <div class="avatar"></div>
+ </div>
+ <h1>Your Name</h1>
+ <p class="bio">Web Developer & Digital Creator</p>
+</header>
+
+<main>
+ <nav class="social-links">
+ <a href="#" class="social-link github">
+ <i class="icon-github"></i>
+ <span>GitHub</span>
+ </a>
+ <a href="#" class="social-link twitter">
+ <i class="icon-twitter"></i>
+ <span>Twitter</span>
+ </a>
+ <a href="#" class="social-link linkedin">
+ <i class="icon-linkedin"></i>
+ <span>LinkedIn</span>
+ </a>
+ <a href="#" class="social-link blog">
+ <i class="icon-blog"></i>
+ <span>Blog</span>
+ </a>
+ </nav>
+</main>
+
+<footer>
+ <p>Made with passion in 2024</p>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..653ac5d
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://links.scroll.pub
+metaTags
+editButton /edit.html
+title Digital Presence | Personal Links
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..6d1ea75
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01UqsM3T2NpXJgKbSs52bXEe",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a clean personal homepage focused on social media links and GitHub presence.\n\n---domain---\nlinks.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://links.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Digital Presence | Personal Links\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <div class=\"avatar-container\">\n <div class=\"avatar\"></div>\n </div>\n <h1>Your Name</h1>\n <p class=\"bio\">Web Developer & Digital Creator</p>\n</header>\n\n<main>\n <nav class=\"social-links\">\n <a href=\"#\" class=\"social-link github\">\n <i class=\"icon-github\"></i>\n <span>GitHub</span>\n </a>\n <a href=\"#\" class=\"social-link twitter\">\n <i class=\"icon-twitter\"></i>\n <span>Twitter</span>\n </a>\n <a href=\"#\" class=\"social-link linkedin\">\n <i class=\"icon-linkedin\"></i>\n <span>LinkedIn</span>\n </a>\n <a href=\"#\" class=\"social-link blog\">\n <i class=\"icon-blog\"></i>\n <span>Blog</span>\n </a>\n </nav>\n</main>\n\n<footer>\n <p>Made with passion in 2024</p>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2d3436;\n --secondary-color: #0984e3;\n --background-color: #f5f6fa;\n --text-color: #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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n background: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 2rem;\n}\n\nheader {\n text-align: center;\n margin-bottom: 3rem;\n}\n\n.avatar-container {\n width: 150px;\n height: 150px;\n margin: 0 auto 1.5rem;\n position: relative;\n overflow: hidden;\n}\n\n.avatar {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background: linear-gradient(45deg, var(--secondary-color), #74b9ff);\n transform: scale(0.95);\n transition: var(--transition);\n}\n\n.avatar:hover {\n transform: scale(1);\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n color: var(--primary-color);\n}\n\n.bio {\n color: #636e72;\n font-size: 1.1rem;\n}\n\n.social-links {\n display: grid;\n gap: 1rem;\n width: 100%;\n max-width: 500px;\n}\n\n.social-link {\n display: flex;\n align-items: center;\n padding: 1rem 1.5rem;\n background: white;\n border-radius: 12px;\n text-decoration: none;\n color: var(--text-color);\n font-weight: 500;\n box-shadow: 0 2px 15px rgba(0,0,0,0.05);\n transition: var(--transition);\n}\n\n.social-link:hover {\n transform: translateY(-2px);\n box-shadow: 0 5px 20px rgba(0,0,0,0.1);\n}\n\n.social-link i {\n margin-right: 1rem;\n font-size: 1.5rem;\n}\n\n.github { border-left: 4px solid #333; }\n.twitter { border-left: 4px solid #1da1f2; }\n.linkedin { border-left: 4px solid #0077b5; }\n.blog { border-left: 4px solid #ff6b6b; }\n\nfooter {\n margin-top: auto;\n padding: 2rem 0;\n color: #636e72;\n font-size: 0.9rem;\n}\n\n@media (max-width: 600px) {\n body {\n padding: 1rem;\n }\n \n h1 {\n font-size: 2rem;\n }\n \n .social-link {\n padding: 0.8rem 1rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Add smooth scroll behavior\n document.documentElement.style.scrollBehavior = 'smooth';\n\n // Add hover animation for social links\n const socialLinks = document.querySelectorAll('.social-link');\n \n socialLinks.forEach(link => {\n link.addEventListener('mouseenter', () => {\n link.style.transform = 'translateY(-2px) scale(1.02)';\n });\n \n link.addEventListener('mouseleave', () => {\n link.style.transform = 'translateY(0) scale(1)';\n });\n });\n\n // Add loading animation\n document.body.style.opacity = '0';\n setTimeout(() => {\n document.body.style.transition = 'opacity 0.5s ease';\n document.body.style.opacity = '1';\n }, 100);\n});\n\n---end---\n\nThis design features:\n- Clean and minimal aesthetic\n- Smooth animations and transitions\n- Responsive design that works on all devices\n- Beautiful gradient avatar placeholder\n- Elegant social media links with hover effects\n- Semantic HTML structure\n- Accessible color contrast\n- Modern CSS with custom properties\n- Progressive enhancement with JavaScript\n- Optimized performance with minimal code\n- Subtle shadows and depth\n- Professional typography\n\nThe domain name \"links.scroll.pub\" is:\n- Short and memorable\n- Describes the purpose (social links)\n- Easy to type and share\n- Professional sounding\n- Matches the minimal theme\n\nYou can customize the colors, links, and personal information while maintaining the clean and professional design."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 298,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 1624
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..4153bd9
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# links.scroll.pub
+Website generated by Claude from prompt: 一个简约干净的个人主页,报告常用的社交媒体,github 等链接
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..517e549
--- /dev/null
+++ b/script.js
@@ -0,0 +1,24 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Add smooth scroll behavior
+ document.documentElement.style.scrollBehavior = 'smooth';
+
+ // Add hover animation for social links
+ const socialLinks = document.querySelectorAll('.social-link');
+
+ socialLinks.forEach(link => {
+ link.addEventListener('mouseenter', () => {
+ link.style.transform = 'translateY(-2px) scale(1.02)';
+ });
+
+ link.addEventListener('mouseleave', () => {
+ link.style.transform = 'translateY(0) scale(1)';
+ });
+ });
+
+ // Add loading animation
+ document.body.style.opacity = '0';
+ setTimeout(() => {
+ document.body.style.transition = 'opacity 0.5s ease';
+ document.body.style.opacity = '1';
+ }, 100);
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..c25b442
--- /dev/null
+++ b/style.css
@@ -0,0 +1,118 @@
+:root {
+ --primary-color: #2d3436;
+ --secondary-color: #0984e3;
+ --background-color: #f5f6fa;
+ --text-color: #2d3436;
+ --transition: all 0.3s ease;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ background: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 2rem;
+}
+
+header {
+ text-align: center;
+ margin-bottom: 3rem;
+}
+
+.avatar-container {
+ width: 150px;
+ height: 150px;
+ margin: 0 auto 1.5rem;
+ position: relative;
+ overflow: hidden;
+}
+
+.avatar {
+ width: 100%;
+ height: 100%;
+ border-radius: 50%;
+ background: linear-gradient(45deg, var(--secondary-color), #74b9ff);
+ transform: scale(0.95);
+ transition: var(--transition);
+}
+
+.avatar:hover {
+ transform: scale(1);
+}
+
+h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ color: var(--primary-color);
+}
+
+.bio {
+ color: #636e72;
+ font-size: 1.1rem;
+}
+
+.social-links {
+ display: grid;
+ gap: 1rem;
+ width: 100%;
+ max-width: 500px;
+}
+
+.social-link {
+ display: flex;
+ align-items: center;
+ padding: 1rem 1.5rem;
+ background: white;
+ border-radius: 12px;
+ text-decoration: none;
+ color: var(--text-color);
+ font-weight: 500;
+ box-shadow: 0 2px 15px rgba(0,0,0,0.05);
+ transition: var(--transition);
+}
+
+.social-link:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 5px 20px rgba(0,0,0,0.1);
+}
+
+.social-link i {
+ margin-right: 1rem;
+ font-size: 1.5rem;
+}
+
+.github { border-left: 4px solid #333; }
+.twitter { border-left: 4px solid #1da1f2; }
+.linkedin { border-left: 4px solid #0077b5; }
+.blog { border-left: 4px solid #ff6b6b; }
+
+footer {
+ margin-top: auto;
+ padding: 2rem 0;
+ color: #636e72;
+ font-size: 0.9rem;
+}
+
+@media (max-width: 600px) {
+ body {
+ padding: 1rem;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ .social-link {
+ padding: 0.8rem 1rem;
+ }
+}