Skip to content

Commit d9c9a64

Browse files
committed
Massively simplify Contact page
1 parent 1c01356 commit d9c9a64

6 files changed

Lines changed: 15 additions & 23 deletions

File tree

_includes/css/csswizardry.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_includes/cta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<strong>Get started…</strong>
1+
Book a Free Call

_includes/promo-home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ <h2 class=heading>Training</h2>
3333

3434
<li class=layout__item>
3535
<p class=promo__links>
36-
<a href=/services/ class="btn btn--secondary">Learn more <span class=hide>about my services</span></a>
36+
<a href=/services/ class="btn btn--secondary">Learn More<span class=hide> about my web performance services</span></a>
3737
<span class=promo__links-spacer>or</span>
38-
<a href=/contact/ class=btn>Hire me</a>
38+
<a href=/contact/ class="btn btn--positive">Contact Me<span class=hide> about a web performance project</span></a>
3939
</p>
4040

4141
</ul>

_includes/sub-content.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<hr class=hide-desk>
22

3+
{% if page.page-class != "page--contact" %}
4+
35
<p class=text-banner>
4-
<a href=/contact/ class="btn btn--full btn--positive" id=cta data-sctrack=cta-sidebar elementtiming=cta-sidebar>{% include cta.md %}</a>
6+
<a href=https://calendly.com/csswizardry/30min class="btn btn--full btn--positive" id=cta data-sctrack=cta-sidebar elementtiming=cta-sidebar>{% include cta.md %}</a>
57
</p>
68

79
<script>
@@ -24,6 +26,8 @@
2426

2527
<hr>
2628

29+
{% endif %}
30+
2731
{% if page.page-class != "page--home" and page.page-class != "page--about" %}
2832
<p>
2933
<img src=/img/css/masthead-small.jpg

contact.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,15 @@ lux: "Contact"
99

1010
**Consultancy projects, speaking engagements, or just to say hi.**
1111

12-
<a href="mailto:csswizardry@gmail.com" class="btn btn--full" id="section:details">harry@csswizardry.com</a>
13-
14-
* For **consulting engagements**, please [send me an
15-
email](mailto:csswizardry@gmail.com).
16-
* For **consultations**, [schedule an appointment](/consultancy/#consultations).
17-
* For **speaking engagements**, [see my speaking
18-
page](/speaking/#section:request).
19-
* For **general questions** and advice, see [my AMA
20-
repository](https://github.com/csswizardry/ama).
21-
* For **small questions**, or just to say hi, feel free to [fire me
22-
a Tweet](https://twitter.com/csswizardry).
23-
* Interested in **software and tools**? See [my setup](/uses/).
24-
* To keep in **regular contact**, [join my newsletter](/newsletter/).
25-
* Still use **RSS**? [Subscribe](https://feeds.feedburner.com/csswizardry).
26-
* Am I **any good?** Read some [testimonials](/testimonials/).
27-
* Got **questions**? See [the FAQ](#frequently-asked-questions).
12+
<p class="text-banner">
2813

14+
<a href="mailto:csswizardry@gmail.com" class="btn btn--secondary" id="section:details">Email Me</a>
2915

16+
<i>or</i>
3017

18+
<a href="https://calendly.com/csswizardry/30min" class="btn btn--positive"><strong>Book a Call</strong></a>
3119

20+
</p>
3221

3322
## Frequently Asked Questions
3423

css/_components.buttons.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@include font-weight(bold);
1212
@include vendor(transition, 0.2s);
1313
position: relative;
14+
@include font-weight(bold);
1415
will-change: transform; /* [1] */
1516
z-index: 1; /* [2] */
1617

@@ -60,7 +61,6 @@
6061
}
6162

6263
.btn--positive {
63-
@include font-weight(regular);
6464

6565
@include attention(self) {
6666
background-color: $color-positive;
@@ -70,7 +70,6 @@
7070
}
7171

7272
.btn--negative {
73-
@include font-weight(regular);
7473

7574
@include attention(self) {
7675
background-color: $color-negative;

0 commit comments

Comments
 (0)