commit a3947c24642bcc88c57673117139a850b76bf0b2
Author: root <root@hub.scroll.pub> Date: 2025-01-02 18:13:51 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..1febc5b --- /dev/null +++ b/body.html @@ -0,0 +1,95 @@ +<header> + <nav> + <div class="logo">AIshift</div> + <div class="menu-toggle"> + <span></span> + <span></span> + <span></span> + </div> + <ul class="nav-links"> + <li><a href="#calculator">Calculator</a></li> + <li><a href="#insights">Insights</a></li> + <li><a href="#resources">Resources</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Should You Pivot to an AI Career?</h1> + <p>Calculate your AI career readiness score and get personalized insights</p> + </section> + + <section id="calculator" class="calculator"> + <h2>Career Shift Calculator</h2> + <form id="assessment-form"> + <div class="form-group"> + <label for="current-satisfaction">Current Job Satisfaction (1-10)</label> + <input type="range" id="current-satisfaction" min="1" max="10" value="5"> + <span class="range-value">5</span> + </div> + + <div class="form-group"> + <label for="ai-experience">AI Experience Level</label> + <select id="ai-experience"> + <option value="1">Complete Beginner</option> + <option value="2">Some Knowledge</option> + <option value="3">Intermediate</option> + <option value="4">Advanced</option> + </select> + </div> + + <div class="form-group"> + <label>Skills & Interests (Select all that apply)</label> + <div class="checkbox-group"> + <label><input type="checkbox" name="skills" value="writing"> Content Writing</label> + <label><input type="checkbox" name="skills" value="teaching"> Teaching/Training</label> + <label><input type="checkbox" name="skills" value="tech"> Technical Background</label> + <label><input type="checkbox" name="skills" value="creative"> Creative Work</label> + </div> + </div> + + <button type="submit" class="calculate-btn">Calculate My Score</button> + </form> + </section> + + <section id="results" class="results hidden"> + <h2>Your Results</h2> + <div class="score-container"> + <div class="score-circle"> + <span class="score">0</span> + <span class="score-label">Readiness Score</span> + </div> + </div> + <div class="recommendations"></div> + </section> + + <section id="insights" class="insights"> + <h2>Key Insights</h2> + <div class="cards-container"> + <div class="card"> + <h3>Market Growth</h3> + <p>AI content creation market expected to grow by 34% annually through 2028</p> + </div> + <div class="card"> + <h3>Skills Gap</h3> + <p>High demand for AI educators and content creators with practical experience</p> + </div> + <div class="card"> + <h3>Income Potential</h3> + <p>Average AI content creator salary ranges from $60K to $120K annually</p> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-links"> + <a href="#privacy">Privacy Policy</a> + <a href="#terms">Terms of Use</a> + <a href="#contact">Contact</a> + </div> + <p>Made with passion by AIshift</p> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..6959720 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://aishift.scroll.pub +metaTags +editButton /edit.html +title AI Career Shift Calculator +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..d89dbdc --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01Vo7PitJLdcnwxpzkkdphmN", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Here's a creative AI career assessment website:\n\n---domain---\naishift.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://aishift.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AI Career Shift Calculator\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">AIshift</div>\n <div class=\"menu-toggle\">\n <span></span>\n <span></span>\n <span></span>\n </div>\n <ul class=\"nav-links\">\n <li><a href=\"#calculator\">Calculator</a></li>\n <li><a href=\"#insights\">Insights</a></li>\n <li><a href=\"#resources\">Resources</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Should You Pivot to an AI Career?</h1>\n <p>Calculate your AI career readiness score and get personalized insights</p>\n </section>\n\n <section id=\"calculator\" class=\"calculator\">\n <h2>Career Shift Calculator</h2>\n <form id=\"assessment-form\">\n <div class=\"form-group\">\n <label for=\"current-satisfaction\">Current Job Satisfaction (1-10)</label>\n <input type=\"range\" id=\"current-satisfaction\" min=\"1\" max=\"10\" value=\"5\">\n <span class=\"range-value\">5</span>\n </div>\n\n <div class=\"form-group\">\n <label for=\"ai-experience\">AI Experience Level</label>\n <select id=\"ai-experience\">\n <option value=\"1\">Complete Beginner</option>\n <option value=\"2\">Some Knowledge</option>\n <option value=\"3\">Intermediate</option>\n <option value=\"4\">Advanced</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label>Skills & Interests (Select all that apply)</label>\n <div class=\"checkbox-group\">\n <label><input type=\"checkbox\" name=\"skills\" value=\"writing\"> Content Writing</label>\n <label><input type=\"checkbox\" name=\"skills\" value=\"teaching\"> Teaching/Training</label>\n <label><input type=\"checkbox\" name=\"skills\" value=\"tech\"> Technical Background</label>\n <label><input type=\"checkbox\" name=\"skills\" value=\"creative\"> Creative Work</label>\n </div>\n </div>\n\n <button type=\"submit\" class=\"calculate-btn\">Calculate My Score</button>\n </form>\n </section>\n\n <section id=\"results\" class=\"results hidden\">\n <h2>Your Results</h2>\n <div class=\"score-container\">\n <div class=\"score-circle\">\n <span class=\"score\">0</span>\n <span class=\"score-label\">Readiness Score</span>\n </div>\n </div>\n <div class=\"recommendations\"></div>\n </section>\n\n <section id=\"insights\" class=\"insights\">\n <h2>Key Insights</h2>\n <div class=\"cards-container\">\n <div class=\"card\">\n <h3>Market Growth</h3>\n <p>AI content creation market expected to grow by 34% annually through 2028</p>\n </div>\n <div class=\"card\">\n <h3>Skills Gap</h3>\n <p>High demand for AI educators and content creators with practical experience</p>\n </div>\n <div class=\"card\">\n <h3>Income Potential</h3>\n <p>Average AI content creator salary ranges from $60K to $120K annually</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-links\">\n <a href=\"#privacy\">Privacy Policy</a>\n <a href=\"#terms\">Terms of Use</a>\n <a href=\"#contact\">Contact</a>\n </div>\n <p>Made with passion by AIshift</p>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #6366f1;\n --secondary-color: #818cf8;\n --text-color: #1f2937;\n --background-color: #ffffff;\n --accent-color: #c7d2fe;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);\n}\n\n/* Header & Navigation */\nheader {\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding: 2rem;\n background: radial-gradient(circle at 50% 50%, var(--accent-color) 0%, transparent 50%);\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n/* Calculator Section */\n.calculator {\n max-width: 800px;\n margin: 4rem auto;\n padding: 2rem;\n background: white;\n border-radius: 20px;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);\n}\n\n.form-group {\n margin-bottom: 2rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: 500;\n}\n\ninput[type=\"range\"] {\n width: 100%;\n height: 6px;\n background: var(--accent-color);\n border-radius: 3px;\n outline: none;\n}\n\nselect {\n width: 100%;\n padding: 0.8rem;\n border: 2px solid var(--accent-color);\n border-radius: 8px;\n background: white;\n}\n\n.checkbox-group {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n}\n\n.calculate-btn {\n width: 100%;\n padding: 1rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 1.1rem;\n cursor: pointer;\n transition: transform 0.2s ease;\n}\n\n.calculate-btn:hover {\n transform: translateY(-2px);\n}\n\n/* Results Section */\n.results {\n text-align: center;\n padding: 2rem;\n}\n\n.score-circle {\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n color: white;\n margin: 2rem auto;\n}\n\n.score {\n font-size: 3rem;\n font-weight: bold;\n}\n\n/* Cards Section */\n.cards-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.card {\n background: white;\n padding: 2rem;\n border-radius: 15px;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.card:hover {\n transform: translateY(-5px);\n}\n\n/* Footer */\nfooter {\n background: white;\n padding: 2rem;\n margin-top: 4rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n margin-bottom: 1rem;\n}\n\n.footer-links a {\n color: var(--text-color);\n text-decoration: none;\n}\n\n/* Responsive Design */\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: 4px;\n cursor: pointer;\n }\n \n .menu-toggle span {\n width: 25px;\n height: 3px;\n background: var(--text-color);\n border-radius: 3px;\n }\n \n .hero h1 {\n font-size: 2.5rem;\n }\n}\n\n.hidden {\n display: none;\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const form = document.getElementById('assessment-form');\n const results = document.getElementById('results');\n const scoreElement = document.querySelector('.score');\n const recommendationsElement = document.querySelector('.recommendations');\n const menuToggle = document.querySelector('.menu-toggle');\n const navLinks = document.querySelector('.nav-links');\n \n // Handle range input display\n const rangeInput = document.getElementById('current-satisfaction');\n const rangeValue = document.querySelector('.range-value');\n \n rangeInput.addEventListener('input', (e) => {\n rangeValue.textContent = e.target.value;\n });\n \n // Mobile menu toggle\n menuToggle.addEventListener('click', () => {\n navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';\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 target.scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n \n // Form submission and score calculation\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n \n const satisfaction = parseInt(document.getElementById('current-satisfaction').value);\n const experience = parseInt(document.getElementById('ai-experience').value);\n const skills = document.querySelectorAll('input[name=\"skills\"]:checked').length;\n \n // Calculate score (0-100)\n let score = Math.round(((10 - satisfaction) * 3) + (experience * 10) + (skills * 5));\n score = Math.min(Math.max(score, 0), 100);\n \n // Animate score counter\n let currentScore = 0;\n const interval = setInterval(() => {\n if (currentScore >= score) {\n clearInterval(interval);\n } else {\n currentScore++;\n scoreElement.textContent = currentScore;\n }\n }, 20);\n \n // Generate recommendations\n let recommendation = '';\n if (score >= 80) {\n recommendation = \"You're highly suited for an AI career transition! Your current situation and skill set strongly align with AI content creation and education.\";\n } else if (score >= 60) {\n recommendation = \"You show good potential for an AI career shift. Consider building more skills while maintaining your current job.\";\n } else {\n recommendation = \"Start by exploring AI fundamentals and content creation as a side project before making a full transition.\";\n }\n \n recommendationsElement.innerHTML = `<p>${recommendation}</p>`;\n results.classList.remove('hidden');\n \n // Smooth scroll to results\n results.scrollIntoView({ behavior: 'smooth' });\n });\n \n // Add 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 \n // Observe all cards and sections\n document.querySelectorAll('.card, section').forEach((el) => {\n el.style.opacity = '0';\n el.style.transform = 'translateY(20px)';\n el.style.transition = 'all 0.6s ease-out';\n observer.observe(el);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 303, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3625 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..2c43f9a --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# aishift.scroll.pub +Website generated by Claude from prompt: Build a website where I want to assess if I should quit my boring job and get full time in AI content production and education do some funky analysis and be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..154d6c7 --- /dev/null +++ b/script.js @@ -0,0 +1,90 @@ +document.addEventListener('DOMContentLoaded', () => { + const form = document.getElementById('assessment-form'); + const results = document.getElementById('results'); + const scoreElement = document.querySelector('.score'); + const recommendationsElement = document.querySelector('.recommendations'); + const menuToggle = document.querySelector('.menu-toggle'); + const navLinks = document.querySelector('.nav-links'); + + // Handle range input display + const rangeInput = document.getElementById('current-satisfaction'); + const rangeValue = document.querySelector('.range-value'); + + rangeInput.addEventListener('input', (e) => { + rangeValue.textContent = e.target.value; + }); + + // Mobile menu toggle + menuToggle.addEventListener('click', () => { + navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex'; + }); + + // 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')); + target.scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Form submission and score calculation + form.addEventListener('submit', (e) => { + e.preventDefault(); + + const satisfaction = parseInt(document.getElementById('current-satisfaction').value); + const experience = parseInt(document.getElementById('ai-experience').value); + const skills = document.querySelectorAll('input[name="skills"]:checked').length; + + // Calculate score (0-100) + let score = Math.round(((10 - satisfaction) * 3) + (experience * 10) + (skills * 5)); + score = Math.min(Math.max(score, 0), 100); + + // Animate score counter + let currentScore = 0; + const interval = setInterval(() => { + if (currentScore >= score) { + clearInterval(interval); + } else { + currentScore++; + scoreElement.textContent = currentScore; + } + }, 20); + + // Generate recommendations + let recommendation = ''; + if (score >= 80) { + recommendation = "You're highly suited for an AI career transition! Your current situation and skill set strongly align with AI content creation and education."; + } else if (score >= 60) { + recommendation = "You show good potential for an AI career shift. Consider building more skills while maintaining your current job."; + } else { + recommendation = "Start by exploring AI fundamentals and content creation as a side project before making a full transition."; + } + + recommendationsElement.innerHTML = `<p>${recommendation}</p>`; + results.classList.remove('hidden'); + + // Smooth scroll to results + results.scrollIntoView({ behavior: 'smooth' }); + }); + + // Add 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)'; + } + }); + }); + + // Observe all cards and sections + document.querySelectorAll('.card, section').forEach((el) => { + el.style.opacity = '0'; + el.style.transform = 'translateY(20px)'; + el.style.transition = 'all 0.6s ease-out'; + observer.observe(el); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..fdb63ab --- /dev/null +++ b/style.css @@ -0,0 +1,240 @@ +:root { + --primary-color: #6366f1; + --secondary-color: #818cf8; + --text-color: #1f2937; + --background-color: #ffffff; + --accent-color: #c7d2fe; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); + background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%); +} + +/* Header & Navigation */ +header { + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: radial-gradient(circle at 50% 50%, var(--accent-color) 0%, transparent 50%); +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +/* Calculator Section */ +.calculator { + max-width: 800px; + margin: 4rem auto; + padding: 2rem; + background: white; + border-radius: 20px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); +} + +.form-group { + margin-bottom: 2rem; +} + +label { + display: block; + margin-bottom: 0.5rem; + font-weight: 500; +} + +input[type="range"] { + width: 100%; + height: 6px; + background: var(--accent-color); + border-radius: 3px; + outline: none; +} + +select { + width: 100%; + padding: 0.8rem; + border: 2px solid var(--accent-color); + border-radius: 8px; + background: white; +} + +.checkbox-group { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; +} + +.calculate-btn { + width: 100%; + padding: 1rem; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + color: white; + border: none; + border-radius: 8px; + font-size: 1.1rem; + cursor: pointer; + transition: transform 0.2s ease; +} + +.calculate-btn:hover { + transform: translateY(-2px); +} + +/* Results Section */ +.results { + text-align: center; + padding: 2rem; +} + +.score-circle { + width: 200px; + height: 200px; + border-radius: 50%; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + color: white; + margin: 2rem auto; +} + +.score { + font-size: 3rem; + font-weight: bold; +} + +/* Cards Section */ +.cards-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: 2rem; +} + +.card { + background: white; + padding: 2rem; + border-radius: 15px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.card:hover { + transform: translateY(-5px); +} + +/* Footer */ +footer { + background: white; + padding: 2rem; + margin-top: 4rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + text-align: center; +} + +.footer-links { + display: flex; + justify-content: center; + gap: 2rem; + margin-bottom: 1rem; +} + +.footer-links a { + color: var(--text-color); + text-decoration: none; +} + +/* Responsive Design */ +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .menu-toggle { + display: flex; + flex-direction: column; + gap: 4px; + cursor: pointer; + } + + .menu-toggle span { + width: 25px; + height: 3px; + background: var(--text-color); + border-radius: 3px; + } + + .hero h1 { + font-size: 2.5rem; + } +} + +.hidden { + display: none; +}