Skip to content

Commit

Permalink
adding in a bit of seo and qol change on intensity
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas1337 committed Aug 9, 2024
1 parent 33cc899 commit 0eabbbe
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/website/highlighttool.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ export class HighlightTool {
if (!uniqueId) return;

let currentIntensity = this.intensityMap.get(uniqueId) || 0;
let newIntensity = Math.min(currentIntensity + this.intensityIncreaseRate, this.maxIntensity);
let multFactor = 1;
if (this.brushSize <=2) {
multFactor = 1.5;
}
let newIntensity = Math.min(currentIntensity + this.intensityIncreaseRate * multFactor, this.maxIntensity);
this.intensityMap.set(uniqueId, newIntensity);
}

Expand Down
1 change: 1 addition & 0 deletions tools/create_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def CreateWebsite (rootDir, websiteDir, version, testBuild):
shutil.copy2 (os.path.join (rootDir, 'website', 'index.html'), websiteDir)
shutil.copy2 (os.path.join (rootDir, 'website', 'embed.html'), websiteDir)
shutil.copy2 (os.path.join (rootDir, 'website', 'robots.txt'), websiteDir)
shutil.copy2 (os.path.join (rootDir, 'website', 'tellmewhereithurtsnow.html'), websiteDir)
shutil.copytree (os.path.join (rootDir, 'libs'), os.path.join (websiteDir, 'libs'))
shutil.copytree (os.path.join (rootDir, 'build', 'website'), os.path.join (websiteDir, 'o3dv'))
shutil.copytree (os.path.join (rootDir, 'website', 'assets'), os.path.join (websiteDir, 'assets'))
Expand Down
60 changes: 60 additions & 0 deletions website/tellmewhereithurtsnow.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="description" content="Tell Me Where It Hurts - A platform to accurately describe and share your pain for better healthcare communication and support.">
<meta name="keywords" content="chronic pain management, pain description tool, healthcare communication, patient empowerment, pain mapping, TellMeWhereItHurts, pain advocacy, pain relief, patient support, pain sharing">
<link rel="icon" type="image/png" href="assets/favicons/favicon.ico">
<link rel="canonical" href="https://tellmewhereithurtsnow.com/tellmewhereithurts">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="node_modules/driver.js/dist/driver.min.css">
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
font-family: 'Material Symbols Outlined';
}
</style>
<title>Tell Me Where It Hurts Now - Guide and Introduction</title>
</head>

<body>
<div class="header" id="header">
<!-- Same header content as index.html -->
</div>

<div class="main" id="main">
<h1>Welcome to Tell Me Where It Hurts Now</h1>
<p>Understanding and communicating your pain can be challenging. At <strong>Tell Me Where It Hurts</strong>, we're here to help you accurately describe your pain and share it with your healthcare providers, friends, and family.</p>
<p>Explore our tools and resources to better communicate your pain and ensure you get the support you need.</p>

<!-- Inserting the blog content -->
<article>
<header>
<h2>Finding Freedom in Accurately Describing and Sharing Your Pain</h2>
</header>
<section>
<p>Living with chronic pain is not just a physical burden; it can also be an emotional and mental struggle. One of the biggest challenges is communicating your pain effectively to those who can help.</p>
<h3>Why Accurate Pain Description Matters</h3>
<ul>
<li><strong>Better Diagnosis and Treatment:</strong> Clear pain descriptions help doctors understand your condition better, leading to more effective and personalized treatments.</li>
<li><strong>Enhanced Communication:</strong> When you can clearly communicate your pain, it ensures that your concerns are taken seriously and addressed promptly.</li>
<li><strong>Empowerment:</strong> Accurately describing your pain empowers you to take an active role in your healthcare journey, advocating for your needs and preferences.</li>
</ul>
<h3>How TellMeWhereItHurts Can Help</h3>
<p>TellMeWhereItHurts offers a straightforward way to map out your pain on a 3D model. This visual tool allows you to pinpoint exactly where you hurt and describe the type and intensity of your pain, making it easier for others to understand your experience.</p>
</section>
<footer>
<p>Visit TellMeWhereItHurts today and take the first step towards freedom.</p>
</footer>
</article>

<p>tellmewhereithurts</p>
<p>tellmewhereithurtsnow</p>
</div>

<div class="footer" id="footer">
<!-- Same footer content as index.html -->
</div>
</body>
</html>

0 comments on commit 0eabbbe

Please sign in to comment.