commit 1fbee411157a5abb155122f0fd0711c64ee3eddd
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 21:41:09 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..1e2b21f
--- /dev/null
+++ b/body.html
@@ -0,0 +1,50 @@
+<header class="header">
+ <div class="container">
+ <h1 class="logo">Rate Your Professor</h1>
+ <nav class="nav">
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/search">Search</a></li>
+ <li><a href="/about">About</a></li>
+ <li><a href="/contact">Contact</a></li>
+ </ul>
+ </nav>
+ </div>
+</header>
+
+<main class="main">
+ <section class="hero">
+ <div class="container">
+ <h2>Find and Rate Professors</h2>
+ <p>Get honest reviews from students and share your own experiences.</p>
+ <form class="search-form" action="/search" method="get">
+ <input type="text" name="query" placeholder="Search for a professor..." aria-label="Search for a professor">
+ <button type="submit">Search</button>
+ </form>
+ </div>
+ </section>
+
+ <section class="recent-reviews">
+ <div class="container">
+ <h3>Recent Reviews</h3>
+ <div class="reviews-grid">
+ <article class="review-card">
+ <h4>Professor John Doe</h4>
+ <p class="rating">★★★★☆</p>
+ <p class="review-text">Great lecturer, but assignments are tough.</p>
+ </article>
+ <article class="review-card">
+ <h4>Professor Jane Smith</h4>
+ <p class="rating">★★★★★</p>
+ <p class="review-text">Amazing teacher, very supportive and clear.</p>
+ </article>
+ </div>
+ </div>
+ </section>
+</main>
+
+<footer class="footer">
+ <div class="container">
+ <p>Rate Your Professor - Honest Reviews & Ratings</p>
+ </div>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..286e110
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://rateprof.scroll.pub
+metaTags
+editButton /edit.html
+title Rate Your Professor - Honest Reviews & Ratings
+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..c57917b
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "ef6689f0-879e-4b02-bacc-64db79ddc607",
+ "object": "chat.completion",
+ "created": 1735335653,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nrateprof.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://rateprof.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Rate Your Professor - Honest Reviews & Ratings\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"logo\">Rate Your Professor</h1>\n <nav class=\"nav\">\n <ul>\n <li><a href=\"/\">Home</a></li>\n <li><a href=\"/search\">Search</a></li>\n <li><a href=\"/about\">About</a></li>\n <li><a href=\"/contact\">Contact</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<main class=\"main\">\n <section class=\"hero\">\n <div class=\"container\">\n <h2>Find and Rate Professors</h2>\n <p>Get honest reviews from students and share your own experiences.</p>\n <form class=\"search-form\" action=\"/search\" method=\"get\">\n <input type=\"text\" name=\"query\" placeholder=\"Search for a professor...\" aria-label=\"Search for a professor\">\n <button type=\"submit\">Search</button>\n </form>\n </div>\n </section>\n\n <section class=\"recent-reviews\">\n <div class=\"container\">\n <h3>Recent Reviews</h3>\n <div class=\"reviews-grid\">\n <article class=\"review-card\">\n <h4>Professor John Doe</h4>\n <p class=\"rating\">★★★★☆</p>\n <p class=\"review-text\">Great lecturer, but assignments are tough.</p>\n </article>\n <article class=\"review-card\">\n <h4>Professor Jane Smith</h4>\n <p class=\"rating\">★★★★★</p>\n <p class=\"review-text\">Amazing teacher, very supportive and clear.</p>\n </article>\n </div>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Rate Your Professor - Honest Reviews & Ratings</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f5f5f5;\n --text-color: #333;\n --white: #fff;\n --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Arial', sans-serif;\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: var(--white);\n padding: 1rem 0;\n}\n\n.logo {\n margin: 0;\n font-size: 1.5rem;\n}\n\n.nav ul {\n list-style: none;\n padding: 0;\n display: flex;\n gap: 1rem;\n}\n\n.nav a {\n color: var(--white);\n text-decoration: none;\n font-weight: bold;\n}\n\n.hero {\n background-color: var(--secondary-color);\n padding: 2rem 0;\n text-align: center;\n}\n\n.hero h2 {\n margin-bottom: 1rem;\n}\n\n.search-form {\n display: flex;\n justify-content: center;\n gap: 0.5rem;\n}\n\n.search-form input {\n padding: 0.5rem;\n width: 300px;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\n.search-form button {\n padding: 0.5rem 1rem;\n background-color: var(--primary-color);\n color: var(--white);\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\n.recent-reviews {\n padding: 2rem 0;\n}\n\n.reviews-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1rem;\n}\n\n.review-card {\n background-color: var(--white);\n padding: 1rem;\n border-radius: 4px;\n box-shadow: var(--shadow);\n}\n\n.rating {\n color: #ffc107;\n font-size: 1.2rem;\n}\n\n.footer {\n background-color: var(--primary-color);\n color: var(--white);\n text-align: center;\n padding: 1rem 0;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n .nav ul {\n flex-direction: column;\n align-items: center;\n }\n\n .search-form {\n flex-direction: column;\n align-items: center;\n }\n\n .search-form input {\n width: 100%;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const searchForm = document.querySelector('.search-form');\n if (searchForm) {\n searchForm.addEventListener('submit', function(event) {\n event.preventDefault();\n const query = this.querySelector('input[name=\"query\"]').value;\n window.location.href = `/search?query=${encodeURIComponent(query)}`;\n });\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 245,
+ "completion_tokens": 1191,
+ "total_tokens": 1436,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 245
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..ba6a8dc
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# rateprof.scroll.pub
+Website generated by DeepSeek from prompt: https://www.ratemyprofessors.com/
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..d5bc5c4
--- /dev/null
+++ b/script.js
@@ -0,0 +1,10 @@
+document.addEventListener('DOMContentLoaded', function() {
+ const searchForm = document.querySelector('.search-form');
+ if (searchForm) {
+ searchForm.addEventListener('submit', function(event) {
+ event.preventDefault();
+ const query = this.querySelector('input[name="query"]').value;
+ window.location.href = `/search?query=${encodeURIComponent(query)}`;
+ });
+ }
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..4a2a759
--- /dev/null
+++ b/style.css
@@ -0,0 +1,123 @@
+:root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5f5f5;
+ --text-color: #333;
+ --white: #fff;
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+body {
+ font-family: 'Arial', sans-serif;
+ 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: var(--white);
+ padding: 1rem 0;
+}
+
+.logo {
+ margin: 0;
+ font-size: 1.5rem;
+}
+
+.nav ul {
+ list-style: none;
+ padding: 0;
+ display: flex;
+ gap: 1rem;
+}
+
+.nav a {
+ color: var(--white);
+ text-decoration: none;
+ font-weight: bold;
+}
+
+.hero {
+ background-color: var(--secondary-color);
+ padding: 2rem 0;
+ text-align: center;
+}
+
+.hero h2 {
+ margin-bottom: 1rem;
+}
+
+.search-form {
+ display: flex;
+ justify-content: center;
+ gap: 0.5rem;
+}
+
+.search-form input {
+ padding: 0.5rem;
+ width: 300px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+.search-form button {
+ padding: 0.5rem 1rem;
+ background-color: var(--primary-color);
+ color: var(--white);
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+.recent-reviews {
+ padding: 2rem 0;
+}
+
+.reviews-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1rem;
+}
+
+.review-card {
+ background-color: var(--white);
+ padding: 1rem;
+ border-radius: 4px;
+ box-shadow: var(--shadow);
+}
+
+.rating {
+ color: #ffc107;
+ font-size: 1.2rem;
+}
+
+.footer {
+ background-color: var(--primary-color);
+ color: var(--white);
+ text-align: center;
+ padding: 1rem 0;
+ margin-top: 2rem;
+}
+
+@media (max-width: 768px) {
+ .nav ul {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .search-form {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .search-form input {
+ width: 100%;
+ }
+}
\ No newline at end of file