Skip to content

Commit

Permalink
feat: tweakers index ref
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Dec 4, 2021
1 parent 4d5837b commit 3539b48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<div class="display-4 text-contrast light mt-5">
<span class="h1 bold text-contrast font-lg display-lg-2 pb-5">
Securing today
<span class="d-block light font-lg">
<span class="d-block light font-lg" id="txtSubtext">
for your tomorrow
</span>
</span>
</div>

<p class="lead mt-5">
Securing you should be invisible and automagically mitigate security incidents.
Securing you should be invisible and automagically mitigate security threats.
No technical mumbo-jumbo required.
</p>

Expand Down
12 changes: 11 additions & 1 deletion static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,14 @@ function onSubmitCaptcha(captchaToken)
.catch(function(err){
invalidContactSubmit(err);
});
}
}

function checkTweakers()
{
if (location.pathname !== '/') { return; }

const urlParams = new URLSearchParams(window.location.search);
if (! urlParams.has('orig') || urlParams.get('orig') !== 'tweakers') { return; }

$('#txtSubtext').text('like a cyber Tweaker.');
}; checkTweakers();

0 comments on commit 3539b48

Please sign in to comment.