commit 06ab1ecb28833a3a0c91766df3e95fa3a0618282
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 17:26:36 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..9aa18f4
--- /dev/null
+++ b/body.html
@@ -0,0 +1,26 @@
+<header>
+ <h1>PopRank</h1>
+ <p>Discover the Top 50 Most Famous Celebrities of the Year</p>
+</header>
+
+<main>
+ <section class="filters">
+ <h2>Rank by Category</h2>
+ <div class="filter-buttons">
+ <button data-category="chart-performance">Chart Performance</button>
+ <button data-category="social-media">Social Media Influence</button>
+ <button data-category="awards">Awards & Nominations</button>
+ <button data-category="public-appearances">Public Appearances</button>
+ <button data-category="endorsements">Endorsements & Deals</button>
+ </div>
+ </section>
+
+ <section class="rankings">
+ <h2>Top 50 Celebrities</h2>
+ <ol class="celebrity-list"></ol>
+ </section>
+</main>
+
+<footer>
+ <p>PopRank - Celebrating the Stars of the Year</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..a41aac2
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://poprank.scroll.pub
+metaTags
+editButton /edit.html
+title PopRank: Top 50 Celebrities of the Year
+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..711c045
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "68717c86-aea2-4ed1-98d8-5e670ce18bff",
+ "object": "chat.completion",
+ "created": 1735320379,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\npoprank.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://poprank.scroll.pub\nmetaTags\neditButton /edit.html\ntitle PopRank: Top 50 Celebrities of the Year\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>PopRank</h1>\n <p>Discover the Top 50 Most Famous Celebrities of the Year</p>\n</header>\n\n<main>\n <section class=\"filters\">\n <h2>Rank by Category</h2>\n <div class=\"filter-buttons\">\n <button data-category=\"chart-performance\">Chart Performance</button>\n <button data-category=\"social-media\">Social Media Influence</button>\n <button data-category=\"awards\">Awards & Nominations</button>\n <button data-category=\"public-appearances\">Public Appearances</button>\n <button data-category=\"endorsements\">Endorsements & Deals</button>\n </div>\n </section>\n\n <section class=\"rankings\">\n <h2>Top 50 Celebrities</h2>\n <ol class=\"celebrity-list\"></ol>\n </section>\n</main>\n\n<footer>\n <p>PopRank - Celebrating the Stars of the Year</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff6f61;\n --secondary-color: #6b5b95;\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 background-color: var(--background-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\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\nmain {\n padding: 2rem;\n}\n\n.filters {\n margin-bottom: 2rem;\n}\n\n.filters h2 {\n text-align: center;\n margin-bottom: 1rem;\n}\n\n.filter-buttons {\n display: flex;\n justify-content: center;\n gap: 1rem;\n flex-wrap: wrap;\n}\n\n.filter-buttons button {\n background: var(--secondary-color);\n color: white;\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: 25px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\n.filter-buttons button:hover {\n background: var(--primary-color);\n}\n\n.rankings {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.rankings h2 {\n text-align: center;\n margin-bottom: 1.5rem;\n}\n\n.celebrity-list {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.celebrity-list li {\n padding: 1rem;\n border-bottom: 1px solid #eee;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.celebrity-list li:last-child {\n border-bottom: none;\n}\n\n.celebrity-list li span {\n font-weight: bold;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n .filter-buttons {\n flex-direction: column;\n align-items: center;\n }\n\n .filter-buttons button {\n width: 100%;\n margin-bottom: 0.5rem;\n }\n}\n---script.js---\nconst celebrityData = [\n { name: \"Taylor Swift\", chartPerformance: 95, socialMedia: 90, awards: 85, publicAppearances: 80, endorsements: 75 },\n { name: \"Drake\", chartPerformance: 90, socialMedia: 85, awards: 80, publicAppearances: 75, endorsements: 70 },\n // Add more celebrities here...\n];\n\nconst celebrityList = document.querySelector('.celebrity-list');\n\nfunction renderRankings(category = 'chart-performance') {\n const sortedCelebrities = celebrityData.sort((a, b) => b[category] - a[category]);\n celebrityList.innerHTML = sortedCelebrities\n .map((celebrity, index) => `\n <li>\n <span>${index + 1}. ${celebrity.name}</span>\n <span>${celebrity[category]} pts</span>\n </li>\n `)\n .join('');\n}\n\ndocument.querySelectorAll('.filter-buttons button').forEach(button => {\n button.addEventListener('click', () => {\n const category = button.dataset.category;\n renderRankings(category);\n });\n});\n\n// Initial render\nrenderRankings();\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 273,
+ "completion_tokens": 1175,
+ "total_tokens": 1448,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 273
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..bd25add
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# poprank.scroll.pub
+Website generated by DeepSeek from prompt: I want a website that rank pop celebrities based on charts that they make in the past year. bring the top 50 most famous and organize the rank with 5 topics that you think is important
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..a270fe6
--- /dev/null
+++ b/script.js
@@ -0,0 +1,29 @@
+const celebrityData = [
+ { name: "Taylor Swift", chartPerformance: 95, socialMedia: 90, awards: 85, publicAppearances: 80, endorsements: 75 },
+ { name: "Drake", chartPerformance: 90, socialMedia: 85, awards: 80, publicAppearances: 75, endorsements: 70 },
+ // Add more celebrities here...
+];
+
+const celebrityList = document.querySelector('.celebrity-list');
+
+function renderRankings(category = 'chart-performance') {
+ const sortedCelebrities = celebrityData.sort((a, b) => b[category] - a[category]);
+ celebrityList.innerHTML = sortedCelebrities
+ .map((celebrity, index) => `
+ <li>
+ <span>${index + 1}. ${celebrity.name}</span>
+ <span>${celebrity[category]} pts</span>
+ </li>
+ `)
+ .join('');
+}
+
+document.querySelectorAll('.filter-buttons button').forEach(button => {
+ button.addEventListener('click', () => {
+ const category = button.dataset.category;
+ renderRankings(category);
+ });
+});
+
+// Initial render
+renderRankings();
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..29d7ae9
--- /dev/null
+++ b/style.css
@@ -0,0 +1,121 @@
+:root {
+ --primary-color: #ff6f61;
+ --secondary-color: #6b5b95;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --font-family: 'Arial', sans-serif;
+}
+
+body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+}
+
+header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+}
+
+main {
+ padding: 2rem;
+}
+
+.filters {
+ margin-bottom: 2rem;
+}
+
+.filters h2 {
+ text-align: center;
+ margin-bottom: 1rem;
+}
+
+.filter-buttons {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ flex-wrap: wrap;
+}
+
+.filter-buttons button {
+ background: var(--secondary-color);
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: 25px;
+ cursor: pointer;
+ transition: background 0.3s ease;
+}
+
+.filter-buttons button:hover {
+ background: var(--primary-color);
+}
+
+.rankings {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+.rankings h2 {
+ text-align: center;
+ margin-bottom: 1.5rem;
+}
+
+.celebrity-list {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+.celebrity-list li {
+ padding: 1rem;
+ border-bottom: 1px solid #eee;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.celebrity-list li:last-child {
+ border-bottom: none;
+}
+
+.celebrity-list li span {
+ font-weight: bold;
+}
+
+footer {
+ background: var(--primary-color);
+ color: white;
+ text-align: center;
+ padding: 1rem;
+ margin-top: 2rem;
+}
+
+@media (max-width: 768px) {
+ .filter-buttons {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .filter-buttons button {
+ width: 100%;
+ margin-bottom: 0.5rem;
+ }
+}
\ No newline at end of file