Changes to bookhaven2.scroll.pub

root
root
20 days ago
Initial commit
body.html
Changed around line 1
+
+

The Book Haven

+

Discover the magic of reading with our featured book

+
+
+
+
+ Cover of 'The Enchanted Forest'
+
+

The Enchanted Forest

+

by Sarah J. Willow

+

Step into a world of magic and wonder with this captivating tale of adventure and friendship.

+
+
+
+
+

Get Your Copy Today

+
+
+
+
+
+
+
+
+

Read a Preview

+
+

Once upon a time, in a land far, far away, there was a forest unlike any other...

+

The trees whispered secrets to those who would listen, and the streams sang songs of ancient times...

+
+
+
+
+
+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://bookhaven.scroll.pub
+ metaTags
+ editButton /edit.html
+ title The Book Haven - Discover Your Next Read
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "961ee7ed-ba4e-4e86-ac5f-26da6352afa6",
+ "object": "chat.completion",
+ "created": 1735787163,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nbookhaven.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bookhaven.scroll.pub\nmetaTags\neditButton /edit.html\ntitle The Book Haven - Discover Your Next Read\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

The Book Haven

\n

Discover the magic of reading with our featured book

\n
\n\n
\n
\n \"Cover\n
\n

The Enchanted Forest

\n

by Sarah J. Willow

\n

Step into a world of magic and wonder with this captivating tale of adventure and friendship.

\n \n
\n
\n\n
\n

Get Your Copy Today

\n
\n \n \n \n
\n
\n\n
\n

Read a Preview

\n
\n

Once upon a time, in a land far, far away, there was a forest unlike any other...

\n

The trees whispered secrets to those who would listen, and the streams sang songs of ancient times...

\n
\n
\n
\n\n\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f5f5f5;\n --text-color: #333;\n --font-family: 'Georgia', 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\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\n.book-feature {\n display: flex;\n flex-wrap: wrap;\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.book-feature img {\n max-width: 300px;\n height: auto;\n border-radius: 8px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n}\n\n.book-details {\n flex: 1;\n min-width: 300px;\n}\n\n.author {\n font-style: italic;\n color: #666;\n}\n\n.description {\n margin: 1rem 0;\n}\n\n.cta {\n display: flex;\n gap: 1rem;\n margin-top: 1.5rem;\n}\n\n.btn {\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: 4px;\n background: var(--primary-color);\n color: white;\n text-decoration: none;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\n.btn.secondary {\n background: var(--secondary-color);\n color: var(--text-color);\n}\n\n.btn:hover {\n background: #357abd;\n}\n\n.purchase-section, .preview-section {\n padding: 2rem;\n background: var(--secondary-color);\n margin: 2rem 0;\n}\n\n.purchase-form {\n display: flex;\n gap: 1rem;\n align-items: center;\n}\n\n.preview-content {\n max-width: 800px;\n margin: 0 auto;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 1rem;\n text-align: center;\n}\n\nfooter a {\n color: white;\n text-decoration: none;\n margin: 0 1rem;\n}\n\n@media (max-width: 768px) {\n .book-feature {\n flex-direction: column;\n align-items: center;\n text-align: center;\n }\n\n .cta {\n flex-direction: column;\n gap: 0.5rem;\n }\n\n .purchase-form {\n flex-direction: column;\n gap: 0.5rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const purchaseForm = document.querySelector('.purchase-form');\n \n purchaseForm.addEventListener('submit', function(event) {\n event.preventDefault();\n const quantity = document.getElementById('quantity').value;\n alert(`Added ${quantity} copy/copies of \"The Enchanted Forest\" to your cart!`);\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 246,
+ "completion_tokens": 1199,
+ "total_tokens": 1445,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 246
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # bookhaven2.scroll.pub
+ Website generated by DeepSeek from prompt: create an blog website for a bookselling for only one book.
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ const purchaseForm = document.querySelector('.purchase-form');
+
+ purchaseForm.addEventListener('submit', function(event) {
+ event.preventDefault();
+ const quantity = document.getElementById('quantity').value;
+ alert(`Added ${quantity} copy/copies of "The Enchanted Forest" to your cart!`);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5f5f5;
+ --text-color: #333;
+ --font-family: 'Georgia', serif;
+ }
+
+ body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .book-feature {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .book-feature img {
+ max-width: 300px;
+ height: auto;
+ border-radius: 8px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ }
+
+ .book-details {
+ flex: 1;
+ min-width: 300px;
+ }
+
+ .author {
+ font-style: italic;
+ color: #666;
+ }
+
+ .description {
+ margin: 1rem 0;
+ }
+
+ .cta {
+ display: flex;
+ gap: 1rem;
+ margin-top: 1.5rem;
+ }
+
+ .btn {
+ padding: 0.75rem 1.5rem;
+ border: none;
+ border-radius: 4px;
+ background: var(--primary-color);
+ color: white;
+ text-decoration: none;
+ cursor: pointer;
+ transition: background 0.3s ease;
+ }
+
+ .btn.secondary {
+ background: var(--secondary-color);
+ color: var(--text-color);
+ }
+
+ .btn:hover {
+ background: #357abd;
+ }
+
+ .purchase-section, .preview-section {
+ padding: 2rem;
+ background: var(--secondary-color);
+ margin: 2rem 0;
+ }
+
+ .purchase-form {
+ display: flex;
+ gap: 1rem;
+ align-items: center;
+ }
+
+ .preview-content {
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ footer {
+ background: var(--primary-color);
+ color: white;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ footer a {
+ color: white;
+ text-decoration: none;
+ margin: 0 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .book-feature {
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ .cta {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+
+ .purchase-form {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+ }