Changes to links.scroll.pub

root
root
23 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+

Your Name

+

Web Developer & Digital Creator

+
+
+
+
+
+
+
+
+
+
+
+
+

Made with passion in 2024

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://links.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Digital Presence | Personal Links
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "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
\n
\n
\n
\n

Your Name

\n

Web Developer & Digital Creator

\n
\n\n
\n \n
\n\n
\n

Made with passion in 2024

\n
\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
+ }
+ }
readme.scroll
Changed around line 1
+ # links.scroll.pub
+ Website generated by Claude from prompt: 一个简约干净的个人主页,报告常用的社交媒体,github 等链接
script.js
Changed around line 1
+ 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);
+ });
style.css
Changed around line 1
+ :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;
+ }
+ }