Skip to content

Commit c0743b0

Browse files
committed
give some soul to the user choices
1 parent e4b8c41 commit c0743b0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

LongevityWorldCup.Website/wwwroot/onboarding/waiting-for-lab.html

+12-2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
const webpSource = waitingPicture.querySelector('source[type="image/webp"]');
4646
const jpegSource = waitingPicture.querySelector('source[type="image/jpeg"]');
4747

48+
const findLabText = document.getElementById('findLabText');
49+
const postNoteText = document.getElementById('postNoteText');
50+
4851
function updateIllustration(imageName, format, webpSource, jpegSource, illustrationImage) {
4952
webpSource.srcset = `../assets/content-images/${imageName}.webp`;
5053
jpegSource.srcset = `../assets/content-images/${imageName}.${format}`;
@@ -53,10 +56,16 @@
5356

5457
if (holding === 'beer') {
5558
updateIllustration('beer', 'jpg', webpSource, jpegSource, waitingImage);
59+
findLabText.innerHTML = "Alright, you troublemaker! Get off your ass, head to the lab, and demand they draw your blood. Tell them it’s for science, for progress, for the twisted quest to know your biological age, also called <a href='https://pmc.ncbi.nlm.nih.gov/articles/PMC5940111/' target='_blank' rel='noopener'>PhenoAge</a>. These are the signs of life we’re after:";
60+
postNoteText.innerHTML = "Life’s a goddamn experiment — measure it, push it, break it. Get your numbers and make them dance to your tune. No excuses, just action.";
5661
} else if (holding === 'beef') {
5762
updateIllustration('beef', 'jpg', webpSource, jpegSource, waitingImage);
63+
findLabText.innerHTML = "Alright, here’s what you need to do: head to a legit lab, get your blood work done, and make sure it includes these biomarkers. This is how we figure out your biological age, what’s called <a href='https://pmc.ncbi.nlm.nih.gov/articles/PMC5940111/' target='_blank' rel='noopener'>PhenoAge</a>. These are the heavy hitters:";
64+
postNoteText.innerHTML = "This is next-level stuff, man. Track this data, dial in your nutrition, your recovery, your training — this is how you optimize and crush it at life. Get it done.";
5865
} else if (holding === 'veggies') {
5966
updateIllustration('veggies', 'jpg', webpSource, jpegSource, waitingImage);
67+
findLabText.innerHTML = "Journey to a place of measurement and seek the truth written in your blood. These biomarkers will help reveal your biological age, known as <a href='https://pmc.ncbi.nlm.nih.gov/articles/PMC5940111/' target='_blank' rel='noopener'>PhenoAge</a>. These are the measures we must study:";
68+
postNoteText.innerHTML = "True health flows from self-awareness. Know thyself, align with nature, and live according to its truths.";
6069
} else {
6170
updateIllustration('lab', 'jpg', webpSource, jpegSource, waitingImage);
6271
}
@@ -76,7 +85,7 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">Your Lab Awaits
7685
<img id="waitingImage" src="../assets/content-images/bean-waiting.png" alt="Waiting" class="illustration" loading="lazy">
7786
</picture>
7887
</div>
79-
<p data-aos="fade" data-aos-duration="700" data-aos-delay="350">Find the nearest lab and request a blood test that includes the following biomarkers. These will help us calculate your biological age, known as <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC5940111/" target="_blank" rel="noopener">PhenoAge</a>:</p>
88+
<p id="findLabText" data-aos="fade" data-aos-duration="700" data-aos-delay="350">Find the nearest lab and request a blood test that includes the following biomarkers. These will help us calculate your biological age, known as <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC5940111/" target="_blank" rel="noopener">PhenoAge</a>:</p>
8089
<ul>
8190
<li data-aos="fade" data-aos-duration="700" data-aos-delay="400"><strong>Albumin</strong> (also known as Serum Albumin)</li>
8291
<li data-aos="fade" data-aos-duration="700" data-aos-delay="450"><strong>Creatinine</strong> (sometimes called Serum Creatinine)</li>
@@ -88,8 +97,9 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">Your Lab Awaits
8897
<li data-aos="fade" data-aos-duration="700" data-aos-delay="750"><strong>Alkaline Phosphatase</strong> (ALP, also referred to as Alk Phos)</li>
8998
<li data-aos="fade" data-aos-duration="700" data-aos-delay="800"><strong>White Blood Cell Count</strong> (WBC Count, also called Leukocyte Count)</li>
9099
</ul>
100+
<p id="postNoteText" data-aos="fade" data-aos-duration="700" data-aos-delay="850" />
91101

92-
<div class="options-container" data-aos="fade" data-aos-duration="700" data-aos-delay="850">
102+
<div class="options-container" data-aos="fade" data-aos-duration="700" data-aos-delay="900">
93103
<button class="option-button already-have" onclick="window.location.href='/onboarding/pheno-age.html#mainProgressBar'">Got My Results!</button>
94104
<button class="option-button back-button" onclick="window.location.href='/'">
95105
<i class="fas fa-home"></i>&nbsp;Home

0 commit comments

Comments
 (0)