commit 2caf87dc8682597718087a5b7c9156e28a73f67c
Author: root <root@hub.scroll.pub> Date: 2024-12-28 16:45:50 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..834d973 --- /dev/null +++ b/body.html @@ -0,0 +1,42 @@ +<header class="navbar"> + <div class="container"> + <a href="/" class="logo">NotesShare</a> + <nav> + <a href="/login.html">Login</a> + <a href="/register.html">Register</a> + <a href="/admin.html">Admin</a> + </nav> + </div> +</header> + +<main class="container"> + <section class="hero"> + <h1>Share and Download Notes Easily</h1> + <p>Access a wide range of study materials shared by students and educators.</p> + </section> + + <section class="notes-grid"> + <div class="note-card"> + <h2>Mathematics Basics</h2> + <p>Fundamental concepts of algebra and geometry.</p> + <a href="/notes/math-basics.pdf" class="btn">Download</a> + </div> + <div class="note-card"> + <h2>History of Science</h2> + <p>Key milestones in the development of science.</p> + <a href="/notes/science-history.pdf" class="btn">Download</a> + </div> + <!-- More note cards can be added here --> + </section> +</main> + +<footer> + <div class="container"> + <p>Connect with us on social media.</p> + <div class="social-links"> + <a href="#">Twitter</a> + <a href="#">Facebook</a> + <a href="#">Instagram</a> + </div> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..f027c7c --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://noteshare.scroll.pub +metaTags +editButton /edit.html +title NotesShare - Modern Notes Sharing Platform +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..7a77df0 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "d1bf585b-f611-4a1b-a69b-12d99bea7eac", + "object": "chat.completion", + "created": 1735404336, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nnoteshare.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://noteshare.scroll.pub\nmetaTags\neditButton /edit.html\ntitle NotesShare - Modern Notes Sharing Platform\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"navbar\">\n <div class=\"container\">\n <a href=\"/\" class=\"logo\">NotesShare</a>\n <nav>\n <a href=\"/login.html\">Login</a>\n <a href=\"/register.html\">Register</a>\n <a href=\"/admin.html\">Admin</a>\n </nav>\n </div>\n</header>\n\n<main class=\"container\">\n <section class=\"hero\">\n <h1>Share and Download Notes Easily</h1>\n <p>Access a wide range of study materials shared by students and educators.</p>\n </section>\n\n <section class=\"notes-grid\">\n <div class=\"note-card\">\n <h2>Mathematics Basics</h2>\n <p>Fundamental concepts of algebra and geometry.</p>\n <a href=\"/notes/math-basics.pdf\" class=\"btn\">Download</a>\n </div>\n <div class=\"note-card\">\n <h2>History of Science</h2>\n <p>Key milestones in the development of science.</p>\n <a href=\"/notes/science-history.pdf\" class=\"btn\">Download</a>\n </div>\n <!-- More note cards can be added here -->\n </section>\n</main>\n\n<footer>\n <div class=\"container\">\n <p>Connect with us on social media.</p>\n <div class=\"social-links\">\n <a href=\"#\">Twitter</a>\n <a href=\"#\">Facebook</a>\n <a href=\"#\">Instagram</a>\n </div>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f4f4f4;\n --text-color: #333;\n --background-color: #fff;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n}\n\n.navbar {\n background-color: var(--primary-color);\n color: var(--background-color);\n padding: 1rem 0;\n}\n\n.navbar .container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.navbar .logo {\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.navbar nav a {\n color: var(--background-color);\n text-decoration: none;\n margin-left: 1rem;\n}\n\n.hero {\n text-align: center;\n padding: 2rem 0;\n}\n\n.notes-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1rem;\n padding: 1rem 0;\n}\n\n.note-card {\n background-color: var(--secondary-color);\n padding: 1rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n\n.note-card h2 {\n margin-top: 0;\n}\n\n.btn {\n display: inline-block;\n background-color: var(--primary-color);\n color: var(--background-color);\n padding: 0.5rem 1rem;\n text-decoration: none;\n border-radius: 4px;\n}\n\nfooter {\n background-color: var(--primary-color);\n color: var(--background-color);\n text-align: center;\n padding: 1rem 0;\n}\n\nfooter .social-links a {\n color: var(--background-color);\n text-decoration: none;\n margin: 0 0.5rem;\n}\n\n@media (max-width: 768px) {\n .navbar .container {\n flex-direction: column;\n }\n\n .navbar nav {\n margin-top: 1rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n console.log('NotesShare platform loaded.');\n // Additional interactivity can be added here\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 326, + "completion_tokens": 939, + "total_tokens": 1265, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 326 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..af24192 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# noteshare2.scroll.pub +Website generated by DeepSeek from prompt: Create a modern Notes Sharing Platform using HTML, CSS (with Bootstrap), and a minimal JavaScript file for interactivity. The platform should include pages for: Homepage with available notes (cards displaying title, description, and download button). Login Page with email and password fields. Registration Page for new users. Admin Dashboard for uploading notes. Notes Page for users to view and download notes. Ensure that the pages are responsive and user-friendly, with a clean design." \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..d587189 --- /dev/null +++ b/script.js @@ -0,0 +1,4 @@ +document.addEventListener('DOMContentLoaded', function() { + console.log('NotesShare platform loaded.'); + // Additional interactivity can be added here +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..9c4e356 --- /dev/null +++ b/style.css @@ -0,0 +1,92 @@ +:root { + --primary-color: #4a90e2; + --secondary-color: #f4f4f4; + --text-color: #333; + --background-color: #fff; +} + +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + color: var(--text-color); + background-color: var(--background-color); + margin: 0; + padding: 0; +} + +.navbar { + background-color: var(--primary-color); + color: var(--background-color); + padding: 1rem 0; +} + +.navbar .container { + display: flex; + justify-content: space-between; + align-items: center; +} + +.navbar .logo { + font-size: 1.5rem; + font-weight: bold; +} + +.navbar nav a { + color: var(--background-color); + text-decoration: none; + margin-left: 1rem; +} + +.hero { + text-align: center; + padding: 2rem 0; +} + +.notes-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 1rem; + padding: 1rem 0; +} + +.note-card { + background-color: var(--secondary-color); + padding: 1rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); +} + +.note-card h2 { + margin-top: 0; +} + +.btn { + display: inline-block; + background-color: var(--primary-color); + color: var(--background-color); + padding: 0.5rem 1rem; + text-decoration: none; + border-radius: 4px; +} + +footer { + background-color: var(--primary-color); + color: var(--background-color); + text-align: center; + padding: 1rem 0; +} + +footer .social-links a { + color: var(--background-color); + text-decoration: none; + margin: 0 0.5rem; +} + +@media (max-width: 768px) { + .navbar .container { + flex-direction: column; + } + + .navbar nav { + margin-top: 1rem; + } +} \ No newline at end of file