commit 707c7cfa0130c76db1ea97d3c20a07621ef622d3
Author: root <root@hub.scroll.pub>
Date: 2024-12-30 09:49:48 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..3937a99
--- /dev/null
+++ b/body.html
@@ -0,0 +1,42 @@
+<header>
+ <nav>
+ <a href="/">Home</a>
+ <a href="/about">About</a>
+ <a href="/contact">Contact</a>
+ </nav>
+ <h1>React Artifacts</h1>
+ <p>Your source for cutting-edge React components and insights.</p>
+</header>
+
+<main>
+ <section class="featured-post">
+ <h2>Featured Post</h2>
+ <article>
+ <h3>Building a Responsive Navbar with React</h3>
+ <p>Learn how to create a fully responsive navbar using React and CSS Grid.</p>
+ <a href="/posts/responsive-navbar">Read More</a>
+ </article>
+ </section>
+
+ <section class="recent-posts">
+ <h2>Recent Posts</h2>
+ <article>
+ <h3>State Management with Context API</h3>
+ <p>Explore the power of React's Context API for state management.</p>
+ <a href="/posts/state-management">Read More</a>
+ </article>
+ <article>
+ <h3>Optimizing React Performance</h3>
+ <p>Tips and tricks to optimize your React applications for better performance.</p>
+ <a href="/posts/optimizing-performance">Read More</a>
+ </article>
+ </section>
+</main>
+
+<footer>
+ <p>Connect with us:</p>
+ <nav>
+ <a href="https://twitter.com/reactartifacts">Twitter</a>
+ <a href="https://github.com/reactartifacts">GitHub</a>
+ </nav>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..f00fcc4
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://reactartifacts.scroll.pub
+metaTags
+editButton /edit.html
+title React Artifacts Blog
+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..ff0f025
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "b2290b64-ee98-4174-a362-a6d8e97a6bd1",
+ "object": "chat.completion",
+ "created": 1735552169,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nreactartifacts.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://reactartifacts.scroll.pub\nmetaTags\neditButton /edit.html\ntitle React Artifacts Blog\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"/\">Home</a>\n <a href=\"/about\">About</a>\n <a href=\"/contact\">Contact</a>\n </nav>\n <h1>React Artifacts</h1>\n <p>Your source for cutting-edge React components and insights.</p>\n</header>\n\n<main>\n <section class=\"featured-post\">\n <h2>Featured Post</h2>\n <article>\n <h3>Building a Responsive Navbar with React</h3>\n <p>Learn how to create a fully responsive navbar using React and CSS Grid.</p>\n <a href=\"/posts/responsive-navbar\">Read More</a>\n </article>\n </section>\n\n <section class=\"recent-posts\">\n <h2>Recent Posts</h2>\n <article>\n <h3>State Management with Context API</h3>\n <p>Explore the power of React's Context API for state management.</p>\n <a href=\"/posts/state-management\">Read More</a>\n </article>\n <article>\n <h3>Optimizing React Performance</h3>\n <p>Tips and tricks to optimize your React applications for better performance.</p>\n <a href=\"/posts/optimizing-performance\">Read More</a>\n </article>\n </section>\n</main>\n\n<footer>\n <p>Connect with us:</p>\n <nav>\n <a href=\"https://twitter.com/reactartifacts\">Twitter</a>\n <a href=\"https://github.com/reactartifacts\">GitHub</a>\n </nav>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-color: #f4f4f4;\n color: #333;\n}\n\nheader {\n background: #282c34;\n color: #fff;\n padding: 2rem 0;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nnav {\n display: flex;\n justify-content: center;\n margin-bottom: 1rem;\n}\n\nnav a {\n color: #61dafb;\n text-decoration: none;\n margin: 0 1rem;\n font-size: 1.1rem;\n}\n\nnav a:hover {\n text-decoration: underline;\n}\n\nmain {\n padding: 2rem;\n}\n\n.featured-post, .recent-posts {\n margin-bottom: 2rem;\n}\n\n.featured-post h2, .recent-posts h2 {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\narticle {\n background: #fff;\n padding: 1.5rem;\n margin-bottom: 1rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\narticle h3 {\n margin: 0 0 1rem;\n font-size: 1.5rem;\n}\n\narticle p {\n margin: 0 0 1rem;\n}\n\narticle a {\n color: #61dafb;\n text-decoration: none;\n}\n\narticle a:hover {\n text-decoration: underline;\n}\n\nfooter {\n background: #282c34;\n color: #fff;\n text-align: center;\n padding: 1rem 0;\n}\n\nfooter p {\n margin: 0;\n}\n\nfooter nav {\n margin-top: 0.5rem;\n}\n\nfooter nav a {\n color: #61dafb;\n text-decoration: none;\n margin: 0 1rem;\n}\n\nfooter nav a:hover {\n text-decoration: underline;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n nav a {\n font-size: 1rem;\n }\n\n main {\n padding: 1rem;\n }\n\n .featured-post h2, .recent-posts h2 {\n font-size: 1.5rem;\n }\n\n article h3 {\n font-size: 1.2rem;\n }\n}\n---script.js---\n// JavaScript for interactivity can be added here if needed\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 243,
+ "completion_tokens": 1052,
+ "total_tokens": 1295,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 243
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..4e4ead4
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# reactartifacts.scroll.pub
+Website generated by DeepSeek from prompt: create a blog website that can publish react artifacts.
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..40b7817
--- /dev/null
+++ b/script.js
@@ -0,0 +1 @@
+// JavaScript for interactivity can be added here if needed
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..2005a42
--- /dev/null
+++ b/style.css
@@ -0,0 +1,132 @@
+body {
+ font-family: 'Arial', sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background-color: #f4f4f4;
+ color: #333;
+}
+
+header {
+ background: #282c34;
+ color: #fff;
+ padding: 2rem 0;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+}
+
+nav {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 1rem;
+}
+
+nav a {
+ color: #61dafb;
+ text-decoration: none;
+ margin: 0 1rem;
+ font-size: 1.1rem;
+}
+
+nav a:hover {
+ text-decoration: underline;
+}
+
+main {
+ padding: 2rem;
+}
+
+.featured-post, .recent-posts {
+ margin-bottom: 2rem;
+}
+
+.featured-post h2, .recent-posts h2 {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+}
+
+article {
+ background: #fff;
+ padding: 1.5rem;
+ margin-bottom: 1rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+}
+
+article h3 {
+ margin: 0 0 1rem;
+ font-size: 1.5rem;
+}
+
+article p {
+ margin: 0 0 1rem;
+}
+
+article a {
+ color: #61dafb;
+ text-decoration: none;
+}
+
+article a:hover {
+ text-decoration: underline;
+}
+
+footer {
+ background: #282c34;
+ color: #fff;
+ text-align: center;
+ padding: 1rem 0;
+}
+
+footer p {
+ margin: 0;
+}
+
+footer nav {
+ margin-top: 0.5rem;
+}
+
+footer nav a {
+ color: #61dafb;
+ text-decoration: none;
+ margin: 0 1rem;
+}
+
+footer nav a:hover {
+ text-decoration: underline;
+}
+
+@media (max-width: 768px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ nav a {
+ font-size: 1rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+
+ .featured-post h2, .recent-posts h2 {
+ font-size: 1.5rem;
+ }
+
+ article h3 {
+ font-size: 1.2rem;
+ }
+}
\ No newline at end of file