commit 9e4bdee834c3eebede74b2d2d25ae0f589c91049
Author: root <root@hub.scroll.pub> Date: 2025-01-03 05:27:34 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..9e173ad --- /dev/null +++ b/body.html @@ -0,0 +1,49 @@ +<header class="header"> + <div class="container"> + <h1 class="header__title">Keysight Devices</h1> + <p class="header__subtitle">Innovative Test & Measurement Solutions</p> + </div> +</header> + +<main class="main"> + <section class="hero"> + <div class="container"> + <h2 class="hero__title">Explore Our Cutting-Edge Devices</h2> + <p class="hero__text">From oscilloscopes to network analyzers, Keysight delivers precision and reliability.</p> + </div> + </section> + + <section class="devices"> + <div class="container"> + <h2 class="devices__title">Featured Devices</h2> + <div class="devices__grid"> + <div class="device-card"> + <div class="device-card__image" style="background-image: url('/images/oscilloscope.jpg');"></div> + <h3 class="device-card__title">Oscilloscopes</h3> + <p class="device-card__description">High-performance oscilloscopes for accurate signal analysis.</p> + </div> + <div class="device-card"> + <div class="device-card__image" style="background-image: url('/images/analyzer.jpg');"></div> + <h3 class="device-card__title">Network Analyzers</h3> + <p class="device-card__description">Advanced tools for network performance testing.</p> + </div> + <div class="device-card"> + <div class="device-card__image" style="background-image: url('/images/multimeter.jpg');"></div> + <h3 class="device-card__title">Multimeters</h3> + <p class="device-card__description">Precision multimeters for versatile measurements.</p> + </div> + </div> + </div> + </section> +</main> + +<footer class="footer"> + <div class="container"> + <p>Keysight Technologies</p> + <nav class="footer__nav"> + <a href="/about">About</a> + <a href="/contact">Contact</a> + <a href="/support">Support</a> + </nav> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..49c1471 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://keysightdevices.scroll.pub +metaTags +editButton /edit.html +title Keysight Devices - Cutting-Edge Test & Measurement Solutions +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..5654efe --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "a0990a65-33d5-433f-9319-a690c381b5ac", + "object": "chat.completion", + "created": 1735882030, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nkeysightdevices.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://keysightdevices.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Keysight Devices - Cutting-Edge Test & Measurement Solutions\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"header__title\">Keysight Devices</h1>\n <p class=\"header__subtitle\">Innovative Test & Measurement Solutions</p>\n </div>\n</header>\n\n<main class=\"main\">\n <section class=\"hero\">\n <div class=\"container\">\n <h2 class=\"hero__title\">Explore Our Cutting-Edge Devices</h2>\n <p class=\"hero__text\">From oscilloscopes to network analyzers, Keysight delivers precision and reliability.</p>\n </div>\n </section>\n\n <section class=\"devices\">\n <div class=\"container\">\n <h2 class=\"devices__title\">Featured Devices</h2>\n <div class=\"devices__grid\">\n <div class=\"device-card\">\n <div class=\"device-card__image\" style=\"background-image: url('/images/oscilloscope.jpg');\"></div>\n <h3 class=\"device-card__title\">Oscilloscopes</h3>\n <p class=\"device-card__description\">High-performance oscilloscopes for accurate signal analysis.</p>\n </div>\n <div class=\"device-card\">\n <div class=\"device-card__image\" style=\"background-image: url('/images/analyzer.jpg');\"></div>\n <h3 class=\"device-card__title\">Network Analyzers</h3>\n <p class=\"device-card__description\">Advanced tools for network performance testing.</p>\n </div>\n <div class=\"device-card\">\n <div class=\"device-card__image\" style=\"background-image: url('/images/multimeter.jpg');\"></div>\n <h3 class=\"device-card__title\">Multimeters</h3>\n <p class=\"device-card__description\">Precision multimeters for versatile measurements.</p>\n </div>\n </div>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Keysight Technologies</p>\n <nav class=\"footer__nav\">\n <a href=\"/about\">About</a>\n <a href=\"/contact\">Contact</a>\n <a href=\"/support\">Support</a>\n </nav>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #003366;\n --secondary-color: #ff6600;\n --background-color: #f4f4f4;\n --text-color: #333;\n --font-family: 'Arial', sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.header {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem 0;\n text-align: center;\n}\n\n.header__title {\n font-size: 2.5rem;\n margin: 0;\n}\n\n.header__subtitle {\n font-size: 1.2rem;\n margin: 0.5rem 0 0;\n}\n\n.hero {\n background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('/images/hero-bg.jpg');\n background-size: cover;\n background-position: center;\n color: white;\n padding: 4rem 0;\n text-align: center;\n}\n\n.hero__title {\n font-size: 2.5rem;\n margin: 0;\n}\n\n.hero__text {\n font-size: 1.2rem;\n margin: 1rem 0 0;\n}\n\n.devices {\n padding: 4rem 0;\n}\n\n.devices__title {\n font-size: 2rem;\n text-align: center;\n margin-bottom: 2rem;\n}\n\n.devices__grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.device-card {\n background: white;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.device-card:hover {\n transform: translateY(-10px);\n}\n\n.device-card__image {\n height: 200px;\n background-size: cover;\n background-position: center;\n}\n\n.device-card__title {\n font-size: 1.5rem;\n margin: 1rem;\n}\n\n.device-card__description {\n font-size: 1rem;\n margin: 0 1rem 1rem;\n}\n\n.footer {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem 0;\n text-align: center;\n}\n\n.footer__nav {\n margin-top: 1rem;\n}\n\n.footer__nav a {\n color: white;\n text-decoration: none;\n margin: 0 1rem;\n}\n\n@media (max-width: 768px) {\n .header__title {\n font-size: 2rem;\n }\n\n .hero__title {\n font-size: 2rem;\n }\n\n .devices__grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\n// Smooth scrolling for anchor links\ndocument.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// Add a class to the header when scrolled\nwindow.addEventListener('scroll', () => {\n const header = document.querySelector('.header');\n if (window.scrollY > 50) {\n header.classList.add('scrolled');\n } else {\n header.classList.remove('scrolled');\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 247, + "completion_tokens": 1403, + "total_tokens": 1650, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 247 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..eb6433f --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# keysightdevices.scroll.pub +Website generated by DeepSeek from prompt: I want a web site that show company "Keysight" devices \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..c45ce03 --- /dev/null +++ b/script.js @@ -0,0 +1,19 @@ +// Smooth scrolling for anchor links +document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); +}); + +// Add a class to the header when scrolled +window.addEventListener('scroll', () => { + const header = document.querySelector('.header'); + if (window.scrollY > 50) { + header.classList.add('scrolled'); + } else { + header.classList.remove('scrolled'); + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..67157f9 --- /dev/null +++ b/style.css @@ -0,0 +1,132 @@ +:root { + --primary-color: #003366; + --secondary-color: #ff6600; + --background-color: #f4f4f4; + --text-color: #333; + --font-family: 'Arial', sans-serif; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + margin: 0; + padding: 0; + line-height: 1.6; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +.header { + background-color: var(--primary-color); + color: white; + padding: 2rem 0; + text-align: center; +} + +.header__title { + font-size: 2.5rem; + margin: 0; +} + +.header__subtitle { + font-size: 1.2rem; + margin: 0.5rem 0 0; +} + +.hero { + background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('/images/hero-bg.jpg'); + background-size: cover; + background-position: center; + color: white; + padding: 4rem 0; + text-align: center; +} + +.hero__title { + font-size: 2.5rem; + margin: 0; +} + +.hero__text { + font-size: 1.2rem; + margin: 1rem 0 0; +} + +.devices { + padding: 4rem 0; +} + +.devices__title { + font-size: 2rem; + text-align: center; + margin-bottom: 2rem; +} + +.devices__grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; +} + +.device-card { + background: white; + border-radius: 8px; + overflow: hidden; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.device-card:hover { + transform: translateY(-10px); +} + +.device-card__image { + height: 200px; + background-size: cover; + background-position: center; +} + +.device-card__title { + font-size: 1.5rem; + margin: 1rem; +} + +.device-card__description { + font-size: 1rem; + margin: 0 1rem 1rem; +} + +.footer { + background-color: var(--primary-color); + color: white; + padding: 2rem 0; + text-align: center; +} + +.footer__nav { + margin-top: 1rem; +} + +.footer__nav a { + color: white; + text-decoration: none; + margin: 0 1rem; +} + +@media (max-width: 768px) { + .header__title { + font-size: 2rem; + } + + .hero__title { + font-size: 2rem; + } + + .devices__grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file