commit ec04241ef4b4a1312629653885886b4b7d00d43d
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 17:16:00 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..523d5fa
--- /dev/null
+++ b/body.html
@@ -0,0 +1,44 @@
+<header>
+ <h1>Discover Your Business Profile</h1>
+ <p>Answer a few questions to find out how you rank among industry leaders.</p>
+</header>
+<main>
+ <form id="profileForm">
+ <div class="question">
+ <label for="q1">1. How long has your business been operating?</label>
+ <select id="q1" required>
+ <option value="1">Less than 1 year</option>
+ <option value="2">1-3 years</option>
+ <option value="3">3-5 years</option>
+ <option value="4">More than 5 years</option>
+ </select>
+ </div>
+ <div class="question">
+ <label for="q2">2. What is your annual revenue?</label>
+ <select id="q2" required>
+ <option value="1">Less than $100k</option>
+ <option value="2">$100k - $500k</option>
+ <option value="3">$500k - $1M</option>
+ <option value="4">More than $1M</option>
+ </select>
+ </div>
+ <div class="question">
+ <label for="q3">3. How many employees do you have?</label>
+ <select id="q3" required>
+ <option value="1">1-10</option>
+ <option value="2">11-50</option>
+ <option value="3">51-100</option>
+ <option value="4">More than 100</option>
+ </select>
+ </div>
+ <button type="submit">Calculate Profile</button>
+ </form>
+ <div id="result" class="hidden">
+ <h2>Your Business Profile Score</h2>
+ <p id="score"></p>
+ <p id="ranking"></p>
+ </div>
+</main>
+<footer>
+ <p>Take your business to the next level.</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..8019847
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://bizprofile.scroll.pub
+metaTags
+editButton /edit.html
+title Business Profile Calculator
+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..5f8ae81
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "f72023ab-eb89-4f5b-849f-3ec569c0ff46",
+ "object": "chat.completion",
+ "created": 1735319741,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nbizprofile.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bizprofile.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Business Profile Calculator\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Discover Your Business Profile</h1>\n <p>Answer a few questions to find out how you rank among industry leaders.</p>\n</header>\n<main>\n <form id=\"profileForm\">\n <div class=\"question\">\n <label for=\"q1\">1. How long has your business been operating?</label>\n <select id=\"q1\" required>\n <option value=\"1\">Less than 1 year</option>\n <option value=\"2\">1-3 years</option>\n <option value=\"3\">3-5 years</option>\n <option value=\"4\">More than 5 years</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">2. What is your annual revenue?</label>\n <select id=\"q2\" required>\n <option value=\"1\">Less than $100k</option>\n <option value=\"2\">$100k - $500k</option>\n <option value=\"3\">$500k - $1M</option>\n <option value=\"4\">More than $1M</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">3. How many employees do you have?</label>\n <select id=\"q3\" required>\n <option value=\"1\">1-10</option>\n <option value=\"2\">11-50</option>\n <option value=\"3\">51-100</option>\n <option value=\"4\">More than 100</option>\n </select>\n </div>\n <button type=\"submit\">Calculate Profile</button>\n </form>\n <div id=\"result\" class=\"hidden\">\n <h2>Your Business Profile Score</h2>\n <p id=\"score\"></p>\n <p id=\"ranking\"></p>\n </div>\n</main>\n<footer>\n <p>Take your business to the next level.</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --border-radius: 8px;\n --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;\n background-color: var(--background-color);\n color: var(--text-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nmain {\n max-width: 800px;\n margin: 2rem auto;\n padding: 0 1rem;\n}\n\n.question {\n margin-bottom: 1.5rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: 500;\n}\n\nselect {\n width: 100%;\n padding: 0.75rem;\n border-radius: var(--border-radius);\n border: 1px solid #d1d5db;\n background-color: white;\n font-size: 1rem;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: var(--border-radius);\n font-size: 1rem;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: var(--secondary-color);\n}\n\n#result {\n margin-top: 2rem;\n padding: 1.5rem;\n background-color: white;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n text-align: center;\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n}\n---script.js---\ndocument.getElementById('profileForm').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const q1 = parseInt(document.getElementById('q1').value);\n const q2 = parseInt(document.getElementById('q2').value);\n const q3 = parseInt(document.getElementById('q3').value);\n \n const totalScore = q1 + q2 + q3;\n const maxScore = 12;\n const percentage = Math.round((totalScore / maxScore) * 100);\n \n let ranking;\n if (percentage >= 90) {\n ranking = \"Top 1% of Industry Leaders\";\n } else if (percentage >= 75) {\n ranking = \"Top 10% of Industry Leaders\";\n } else if (percentage >= 50) {\n ranking = \"Top 25% of Industry Leaders\";\n } else {\n ranking = \"Emerging Business\";\n }\n \n document.getElementById('score').textContent = `Your Score: ${percentage}%`;\n document.getElementById('ranking').textContent = ranking;\n document.getElementById('result').classList.remove('hidden');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 272,
+ "completion_tokens": 1290,
+ "total_tokens": 1562,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 272
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..3423835
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# bizprofile.scroll.pub
+Website generated by DeepSeek from prompt: I want a website helps me figure out my business profile. The questions will guide the user through a series of questions that ultimately calculate a profile score and ranks them among top leaders in the industry
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..7e6a58b
--- /dev/null
+++ b/script.js
@@ -0,0 +1,26 @@
+document.getElementById('profileForm').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const q1 = parseInt(document.getElementById('q1').value);
+ const q2 = parseInt(document.getElementById('q2').value);
+ const q3 = parseInt(document.getElementById('q3').value);
+
+ const totalScore = q1 + q2 + q3;
+ const maxScore = 12;
+ const percentage = Math.round((totalScore / maxScore) * 100);
+
+ let ranking;
+ if (percentage >= 90) {
+ ranking = "Top 1% of Industry Leaders";
+ } else if (percentage >= 75) {
+ ranking = "Top 10% of Industry Leaders";
+ } else if (percentage >= 50) {
+ ranking = "Top 25% of Industry Leaders";
+ } else {
+ ranking = "Emerging Business";
+ }
+
+ document.getElementById('score').textContent = `Your Score: ${percentage}%`;
+ document.getElementById('ranking').textContent = ranking;
+ document.getElementById('result').classList.remove('hidden');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..a9da20d
--- /dev/null
+++ b/style.css
@@ -0,0 +1,96 @@
+:root {
+ --primary-color: #2563eb;
+ --secondary-color: #1e40af;
+ --background-color: #f8fafc;
+ --text-color: #1e293b;
+ --border-radius: 8px;
+ --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+}
+
+header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+}
+
+.question {
+ margin-bottom: 1.5rem;
+}
+
+label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+}
+
+select {
+ width: 100%;
+ padding: 0.75rem;
+ border-radius: var(--border-radius);
+ border: 1px solid #d1d5db;
+ background-color: white;
+ font-size: 1rem;
+}
+
+button {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 0.75rem 1.5rem;
+ border: none;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+}
+
+button:hover {
+ background-color: var(--secondary-color);
+}
+
+#result {
+ margin-top: 2rem;
+ padding: 1.5rem;
+ background-color: white;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ text-align: center;
+}
+
+.hidden {
+ display: none;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+}
+
+@media (max-width: 600px) {
+ h1 {
+ font-size: 2rem;
+ }
+}
\ No newline at end of file