Skip to content

Commit

Permalink
Merge pull request #1045 from usds/awhitty-january25
Browse files Browse the repository at this point in the history
remove press hits from HP and blog page
  • Loading branch information
amwhitty authored Dec 12, 2024
2 parents 37b45d3 + e6a6f05 commit 4f18756
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 56 deletions.
2 changes: 1 addition & 1 deletion _includes/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<a class="site-c-nav__primary-nav__link" href="{{ site.baseurl }}{% link pages/projects.html %}">Projects</a>
</li>
<li class="site-c-nav__primary-nav__item">
<a class="site-c-nav__primary-nav__link" href="{{ site.baseurl }}{% link pages/news-and-blog.html %}">News &amp; blog</a>
<a class="site-c-nav__primary-nav__link" href="{{ site.baseurl }}{% link pages/news-and-blog.html %}">Blog</a>
</li>
<li class="site-c-nav__primary-nav__item site-c-nav__primary-nav__item--mobile">
<a class="site-c-nav__primary-nav__link" href="{{ site.baseurl }}{% link pages/apply.html %}">Apply now</a>
Expand Down
9 changes: 0 additions & 9 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,6 @@ <h2 class="site-c-section-heading__heading">{{ content.news.heading_title }}</h2
</div>
</div>

<div class="site-c-section__body">

{% include news-articles.html %}

<p class="tablet:display-none">
<a class="usa-button usa-button--outline" href="{{ site.baseurl }}{% link pages/news-and-blog.html %}" class="usa-button usa-button--outline">{{ content.news.heading_button_text }}</a>
</p>
</div>

</section>

<hr aria-hidden="true">
Expand Down
46 changes: 0 additions & 46 deletions pages/news-and-blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,50 +65,4 @@ <h3 class="site-c-card__title">{{ item.carousel_title }}</h3>
</div>
<hr aria-hidden="true">

<section class="site-c-section">
<div class="site-c-section-heading">
<h2 class="site-c-section-heading__heading">{{ content.usds_in_the_news.heading_title }}</h2>
<div class="site-c-section-heading__text usa-prose">
{{ content.usds_in_the_news.heading_text | replace: 'site.baseurl', site.baseurl | markdownify}}
</div>
</div>

<div class="site-c-section__body">
{% include news-articles.html %}
</div>
</section>

<hr aria-hidden="true">

<section class="site-c-section">
<div class="site-c-section-heading">
<h2 class="site-c-section-heading__heading">{{ content.for_the_press.heading_title }}</h2>
<div class="site-c-section-heading__text usa-prose">
{{ content.for_the_press.heading_text | replace: 'site.baseurl', site.baseurl | markdownify}}
</div>
</div>

<div class="site-c-section__body">
<div class="grid-row tablet:margin-x-neg-2 flex-justify-center">
<div class="grid-col-12 tablet:grid-col-4 tablet:padding-2 margin-bottom-5">
<div class="site-c-mask">
<img src="{{ site.baseurl }}/assets/img/{{ content.for_the_press.email_image }}" alt="">
</div>
<div class="text-center">
<a class="usa-button usa-button--outline" href="{{ content.for_the_press.email_link }}">{{ content.for_the_press.email_button_text }}</a>
</div>
</div>

<div class="grid-col-12 tablet:grid-col-4 tablet:padding-2 margin-bottom-5">
<div class="site-c-mask">
<img src="{{ site.baseurl }}/assets/img/{{ content.for_the_press.press_kit_image }}" alt="">
</div>
<div class="text-center">
<a class="usa-button usa-button--outline" href="{{ site.baseurl }}/assets/files/{{ site.press_kit_file_name }}">{{ content.for_the_press.press_kit_button_text }}</a>
</div>
</div>

</div>
</section>

</div>

0 comments on commit 4f18756

Please sign in to comment.