Skip to content

Commit c9a6b63

Browse files
committed
reasonable page
1 parent 7f828c5 commit c9a6b63

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

src/index.njk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ description: Reduce your time to ship code by 90%. Built for enterprises that ne
99
<div class="hero-content">
1010
<div class="hero-text">
1111
<h1>Ship 90% faster.</h1>
12-
<p class="tagline">Reduce your time to ship code by 90%.</p>
12+
<p class="tagline">Reduce your time to ship code dramatically.</p>
1313
<p style="font-size: 1.125rem; margin: 2rem 0; color: var(--color-gray-dark);">
1414
Built for enterprises that need to move fast without breaking things.
1515
</p>
16-
<a href="#" class="cta-button mt-3" onclick="sendEmail(); return false;">Get in Touch</a>
16+
<a href="javascript:void(0)" class="cta-button mt-3" onclick="sendEmail()">Get in Touch</a>
1717
</div>
1818
<div class="hero-image">
1919
<img src="/media/logo.svg" alt="codeGROOVE" class="hero-logo">
@@ -24,7 +24,7 @@ description: Reduce your time to ship code by 90%. Built for enterprises that ne
2424

2525
<section class="container">
2626
<div class="content-section text-center">
27-
<h2>The 90% Promise</h2>
27+
<h2>The Promise</h2>
2828
<div class="funk-divider"></div>
2929
<p style="max-width: var(--max-width-narrow); margin: 0 auto;">
3030
Our tools bring the average push-to-merge cycle time down from <strong>4 days to 3.5 hours</strong>. Less context switching. Less tool fatigue. More shipping.
@@ -62,9 +62,9 @@ description: Reduce your time to ship code by 90%. Built for enterprises that ne
6262
<div class="highlight-box" style="max-width: var(--max-width-narrow); margin: 0 auto; background: var(--color-white); box-shadow: var(--shadow-strong);">
6363
<h2 style="margin-bottom: calc(var(--spacing-unit) * 2);">Ready to ship 90% faster?</h2>
6464
<p style="max-width: 500px; margin: 0 auto calc(var(--spacing-unit) * 2);">
65-
Let's discuss how codeGROOVE can transform your development velocity and get you shipping 90% faster.
65+
Let's discuss how codeGROOVE can transform your development velocity.
6666
</p>
67-
<a href="#" class="cta-button" onclick="sendEmail(); return false;">Get in Touch</a>
67+
<a href="javascript:void(0)" class="cta-button" onclick="sendEmail()" style="position: relative; z-index: 10;">Get in Touch</a>
6868
</div>
6969
</div>
7070
</section>

src/js/main.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ function sendEmail() {
3030
const parts = ["ohai", "codegroove", "dev"];
3131
const email = parts[0] + "@" + parts[1] + "." + parts[2];
3232

33-
const subject = "Let's talk about shipping 90% faster";
34-
const body = "Hi codeGROOVE team,\n\nI'm interested in learning how we can reduce our push-to-merge cycle time from 4 days to 3.5 hours and ship 90% faster.\n\nThanks!";
33+
const subject = "Let's talk about making dev life better";
34+
const body = "Hi codeGROOVE team,\n\nI'm interested in learning how we can reduce our push-to-merge cycle time from 4 days to 3.5 hours and bring back the fun to software development.\n\nThanks!";
3535

3636
const mailtoLink = "mailto:" + email + "?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(body);
3737

@@ -78,7 +78,7 @@ function showPopup(email, mailtoLink) {
7878
Let's Talk
7979
</h3>
8080
<p style="font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; color: var(--color-secondary);">
81-
Email us at <a href="${mailtoLink}" style="color: var(--color-secondary); font-weight: bold;">${email}</a> to learn how we can help you ship 90% faster.
81+
Email us at <a href="${mailtoLink}" style="color: var(--color-secondary); font-weight: bold;">${email}</a> to learn how we can help you ship faster and have more fun doing it.
8282
</p>
8383
<button onclick="closePopup()" class="cta-button-small" style="
8484
background: var(--color-white);
@@ -139,10 +139,16 @@ style.textContent = `
139139
document.head.appendChild(style);
140140

141141
// Smooth scroll for anchor links
142-
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
142+
document.querySelectorAll('a[href^="#"]:not([onclick])').forEach(anchor => {
143143
anchor.addEventListener('click', function (e) {
144+
const href = this.getAttribute('href');
145+
// Skip if it's just #
146+
if (href === '#') {
147+
return;
148+
}
149+
144150
e.preventDefault();
145-
const target = document.querySelector(this.getAttribute('href'));
151+
const target = document.querySelector(href);
146152
if (target) {
147153
target.scrollIntoView({
148154
behavior: 'smooth',

src/security.njk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,5 @@ description: Security is at the core of everything we do at codeGROOVE.
4040
</div>
4141
</div>
4242

43-
<div class="text-center" style="margin-top: 4rem;">
44-
<p style="color: var(--color-gray);">Questions about our security practices?</p>
45-
<a href="/contact/" class="cta-button mt-2">Get in Touch</a>
46-
</div>
4743
</div>
4844
</section>

0 commit comments

Comments
 (0)