Skip to content

Commit a7e5b01

Browse files
committed
Fix issues based on comments
1 parent ae1f876 commit a7e5b01

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

app/assets/stylesheets/marketing_redesign/components/_section.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
gap: var(--space--base);
55
grid-template-columns: repeat(12, [col-start] 1fr);
66
justify-content: center;
7-
justify-content: center;
87
padding: var(--space--large) 0;
98
}
109

app/views/marketing_redesign/about/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%= content_for(:page_title, t(".page_title")) %>
22
<section class="section about-us">
33
<div class="image-crop">
4-
<%= image_tag "marketing_redesign/man-learning-from-home.jpg", alt: "Man wearing a blue cap and green jacket sits at a table and uses a laptop, with a red mug in front of him in a well-lit room."%>
4+
<%= image_tag "marketing_redesign/man-learning-from-home.jpg", alt: "Person wearing a blue cap and green jacket sits at a table and uses a laptop, with a red mug in front of them in a well-lit room."%>
55
</div>
66
<div class="about-content">
77
<h1><%= t(".section_title") %></h1>

app/views/marketing_redesign/home/show.html.erb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
<p class="section-subtitle">
99
<%= t("marketing_redesign.home.show.hero_subheading") %>
1010
</p>
11-
<a class="section-cta button button--primary" href="/contact-us">
12-
<%= t("marketing_redesign.home.show.hero_cta") %>
13-
</a>
11+
<%= link_to(
12+
t("marketing_redesign.home.show.hero_cta"),
13+
{controller: "/marketing_redesign/opportunities", action: :new},
14+
class: "section-cta button button--primary"
15+
) %>
1416
</div>
1517
</section>
1618

0 commit comments

Comments
 (0)