commit 432192df0645700bbf92ed2f372d94bb472f509b
Author: root <root@hub.scroll.pub> Date: 2024-12-28 08:38:07 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..c53e549 --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <nav> + <div class="logo">DevFolio</div> + <div class="nav-links"> + <a href="#home" class="active">Home</a> + <a href="#about">About</a> + <a href="#projects">Projects</a> + <a href="#contact">Contact</a> + </div> + <div class="menu-toggle"> + <span></span> + <span></span> + <span></span> + </div> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <h1>Welcome to My Portfolio</h1> + <p>Full Stack Developer & AI Enthusiast</p> + </section> + + <section id="about"> + <h2>About Me</h2> + <p>Passionate developer with expertise in multiple programming domains</p> + </section> + + <section id="projects"> + <h2>Projects</h2> + <div class="project-filters"> + <button class="filter-btn active" data-filter="all">All</button> + <button class="filter-btn" data-filter="java">Java</button> + <button class="filter-btn" data-filter="plsql">PL/SQL</button> + <button class="filter-btn" data-filter="data">Data Analysis</button> + <button class="filter-btn" data-filter="ai">AI/ML</button> + </div> + + <div class="projects-grid"> + <div class="project-card" data-category="java"> + <h3>Java Project 1</h3> + <p>E-commerce Platform</p> + </div> + <div class="project-card" data-category="plsql"> + <h3>Database Management</h3> + <p>Enterprise Solution</p> + </div> + <div class="project-card" data-category="data"> + <h3>Data Visualization</h3> + <p>Market Analysis Dashboard</p> + </div> + <div class="project-card" data-category="ai"> + <h3>ML Algorithm</h3> + <p>Predictive Analytics</p> + </div> + </div> + </section> + + <section id="contact"> + <h2>Contact Me</h2> + <form id="contact-form"> + <input type="text" placeholder="Name" required> + <input type="email" placeholder="Email" required> + <textarea placeholder="Message" required></textarea> + <button type="submit">Send Message</button> + </form> + </section> +</main> + +<footer> + <p>Created by DevFolio</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..7da0564 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://devfolio.scroll.pub +metaTags +editButton /edit.html +title Professional Development Portfolio +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..55496a1 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01QcyVX7n2iKwdRMi8qiFktW", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll help create a professional dark-themed portfolio website. For the domain, I suggest:\n\n---domain---\ndevfolio.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://devfolio.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Professional Development Portfolio\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">DevFolio</div>\n <div class=\"nav-links\">\n <a href=\"#home\" class=\"active\">Home</a>\n <a href=\"#about\">About</a>\n <a href=\"#projects\">Projects</a>\n <a href=\"#contact\">Contact</a>\n </div>\n <div class=\"menu-toggle\">\n <span></span>\n <span></span>\n <span></span>\n </div>\n </nav>\n</header>\n\n<main>\n <section id=\"home\" class=\"hero\">\n <h1>Welcome to My Portfolio</h1>\n <p>Full Stack Developer & AI Enthusiast</p>\n </section>\n\n <section id=\"about\">\n <h2>About Me</h2>\n <p>Passionate developer with expertise in multiple programming domains</p>\n </section>\n\n <section id=\"projects\">\n <h2>Projects</h2>\n <div class=\"project-filters\">\n <button class=\"filter-btn active\" data-filter=\"all\">All</button>\n <button class=\"filter-btn\" data-filter=\"java\">Java</button>\n <button class=\"filter-btn\" data-filter=\"plsql\">PL/SQL</button>\n <button class=\"filter-btn\" data-filter=\"data\">Data Analysis</button>\n <button class=\"filter-btn\" data-filter=\"ai\">AI/ML</button>\n </div>\n\n <div class=\"projects-grid\">\n <div class=\"project-card\" data-category=\"java\">\n <h3>Java Project 1</h3>\n <p>E-commerce Platform</p>\n </div>\n <div class=\"project-card\" data-category=\"plsql\">\n <h3>Database Management</h3>\n <p>Enterprise Solution</p>\n </div>\n <div class=\"project-card\" data-category=\"data\">\n <h3>Data Visualization</h3>\n <p>Market Analysis Dashboard</p>\n </div>\n <div class=\"project-card\" data-category=\"ai\">\n <h3>ML Algorithm</h3>\n <p>Predictive Analytics</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\">\n <h2>Contact Me</h2>\n <form id=\"contact-form\">\n <input type=\"text\" placeholder=\"Name\" required>\n <input type=\"email\" placeholder=\"Email\" required>\n <textarea placeholder=\"Message\" required></textarea>\n <button type=\"submit\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Created by DevFolio</p>\n</footer>\n\n---style.css---\n:root {\n --bg-primary: #121212;\n --bg-secondary: #1e1e1e;\n --text-primary: #ffffff;\n --text-secondary: #b3b3b3;\n --accent: #64ffda;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', sans-serif;\n background-color: var(--bg-primary);\n color: var(--text-primary);\n line-height: 1.6;\n}\n\nheader {\n position: fixed;\n width: 100%;\n background-color: rgba(18, 18, 18, 0.95);\n backdrop-filter: blur(10px);\n z-index: 1000;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem 5%;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--accent);\n}\n\n.nav-links a {\n color: var(--text-primary);\n text-decoration: none;\n margin-left: 2rem;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--accent);\n}\n\nsection {\n padding: 5rem 10%;\n min-height: 100vh;\n}\n\n.hero {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n\nh1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n}\n\n.project-filters {\n margin: 2rem 0;\n display: flex;\n gap: 1rem;\n flex-wrap: wrap;\n}\n\n.filter-btn {\n padding: 0.5rem 1rem;\n background: transparent;\n border: 1px solid var(--accent);\n color: var(--text-primary);\n cursor: pointer;\n transition: all 0.3s ease;\n}\n\n.filter-btn.active {\n background: var(--accent);\n color: var(--bg-primary);\n}\n\n.projects-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.project-card {\n background: var(--bg-secondary);\n padding: 1.5rem;\n border-radius: 8px;\n transition: transform 0.3s ease;\n}\n\n.project-card:hover {\n transform: translateY(-5px);\n}\n\nform {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n max-width: 600px;\n margin: 0 auto;\n}\n\ninput, textarea {\n padding: 1rem;\n background: var(--bg-secondary);\n border: none;\n border-radius: 4px;\n color: var(--text-primary);\n}\n\nbutton {\n padding: 1rem 2rem;\n background: var(--accent);\n border: none;\n border-radius: 4px;\n color: var(--bg-primary);\n cursor: pointer;\n transition: opacity 0.3s ease;\n}\n\nbutton:hover {\n opacity: 0.9;\n}\n\nfooter {\n text-align: center;\n padding: 2rem;\n background: var(--bg-secondary);\n}\n\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .menu-toggle {\n display: flex;\n flex-direction: column;\n gap: 5px;\n }\n \n .menu-toggle span {\n width: 25px;\n height: 3px;\n background: var(--text-primary);\n }\n \n section {\n padding: 5rem 5%;\n }\n \n h1 {\n font-size: 2.5rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Smooth scrolling\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Project filtering\n const filterButtons = document.querySelectorAll('.filter-btn');\n const projectCards = document.querySelectorAll('.project-card');\n\n filterButtons.forEach(button => {\n button.addEventListener('click', () => {\n // Remove active class from all buttons\n filterButtons.forEach(btn => btn.classList.remove('active'));\n // Add active class to clicked button\n button.classList.add('active');\n\n const filter = button.dataset.filter;\n \n projectCards.forEach(card => {\n if (filter === 'all' || card.dataset.category === filter) {\n card.style.display = 'block';\n } else {\n card.style.display = 'none';\n }\n });\n });\n });\n\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.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';\n });\n\n // Form submission\n const contactForm = document.getElementById('contact-form');\n \n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n // Add form submission logic here\n alert('Message sent successfully!');\n contactForm.reset();\n });\n\n // Intersection Observer for scroll animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n }\n });\n });\n\n document.querySelectorAll('section').forEach((section) => {\n observer.observe(section);\n });\n});\n\n---end---\n\nThis creates a modern, responsive portfolio website with a dark theme that includes:\n\n1. Fixed navigation header with smooth scrolling\n2. Hero section with introduction\n3. About section\n4. Projects section with filtering capability\n5. Contact form\n6. Mobile-responsive design\n7. Smooth animations and transitions\n8. Professional dark color scheme\n9. Clean and semantic HTML structure\n10. Modern CSS with CSS variables\n11. Interactive JavaScript functionality\n\nThe design is minimal yet professional, with careful attention to spacing, typography, and user experience. The project filtering system allows visitors to easily view projects by category, and the contact form provides a way for potential clients or employers to get in touch." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 319, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2562 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..8b9fd4e --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# devfolio.scroll.pub +Website generated by Claude from prompt: create a portfolio website which is dark in theme and should look formal and professional which should include projects which i have created in subject wise like different tabs or selections of Java, PL/Sql, Data Analysis, AI and ML and so on \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..65ba5eb --- /dev/null +++ b/script.js @@ -0,0 +1,65 @@ +document.addEventListener('DOMContentLoaded', () => { + // Smooth scrolling + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Project filtering + const filterButtons = document.querySelectorAll('.filter-btn'); + const projectCards = document.querySelectorAll('.project-card'); + + filterButtons.forEach(button => { + button.addEventListener('click', () => { + // Remove active class from all buttons + filterButtons.forEach(btn => btn.classList.remove('active')); + // Add active class to clicked button + button.classList.add('active'); + + const filter = button.dataset.filter; + + projectCards.forEach(card => { + if (filter === 'all' || card.dataset.category === filter) { + card.style.display = 'block'; + } else { + card.style.display = 'none'; + } + }); + }); + }); + + // Mobile menu toggle + const menuToggle = document.querySelector('.menu-toggle'); + const navLinks = document.querySelector('.nav-links'); + + menuToggle.addEventListener('click', () => { + navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex'; + }); + + // Form submission + const contactForm = document.getElementById('contact-form'); + + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + // Add form submission logic here + alert('Message sent successfully!'); + contactForm.reset(); + }); + + // Intersection Observer for scroll animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + } + }); + }); + + document.querySelectorAll('section').forEach((section) => { + observer.observe(section); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..b231b54 --- /dev/null +++ b/style.css @@ -0,0 +1,171 @@ +:root { + --bg-primary: #121212; + --bg-secondary: #1e1e1e; + --text-primary: #ffffff; + --text-secondary: #b3b3b3; + --accent: #64ffda; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', sans-serif; + background-color: var(--bg-primary); + color: var(--text-primary); + line-height: 1.6; +} + +header { + position: fixed; + width: 100%; + background-color: rgba(18, 18, 18, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1.5rem 5%; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--accent); +} + +.nav-links a { + color: var(--text-primary); + text-decoration: none; + margin-left: 2rem; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--accent); +} + +section { + padding: 5rem 10%; + min-height: 100vh; +} + +.hero { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; +} + +h1 { + font-size: 3.5rem; + margin-bottom: 1rem; +} + +.project-filters { + margin: 2rem 0; + display: flex; + gap: 1rem; + flex-wrap: wrap; +} + +.filter-btn { + padding: 0.5rem 1rem; + background: transparent; + border: 1px solid var(--accent); + color: var(--text-primary); + cursor: pointer; + transition: all 0.3s ease; +} + +.filter-btn.active { + background: var(--accent); + color: var(--bg-primary); +} + +.projects-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.project-card { + background: var(--bg-secondary); + padding: 1.5rem; + border-radius: 8px; + transition: transform 0.3s ease; +} + +.project-card:hover { + transform: translateY(-5px); +} + +form { + display: flex; + flex-direction: column; + gap: 1rem; + max-width: 600px; + margin: 0 auto; +} + +input, textarea { + padding: 1rem; + background: var(--bg-secondary); + border: none; + border-radius: 4px; + color: var(--text-primary); +} + +button { + padding: 1rem 2rem; + background: var(--accent); + border: none; + border-radius: 4px; + color: var(--bg-primary); + cursor: pointer; + transition: opacity 0.3s ease; +} + +button:hover { + opacity: 0.9; +} + +footer { + text-align: center; + padding: 2rem; + background: var(--bg-secondary); +} + +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .menu-toggle { + display: flex; + flex-direction: column; + gap: 5px; + } + + .menu-toggle span { + width: 25px; + height: 3px; + background: var(--text-primary); + } + + section { + padding: 5rem 5%; + } + + h1 { + font-size: 2.5rem; + } +}