Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Create new template for NVRF
Browse files Browse the repository at this point in the history
  • Loading branch information
rayestrada committed Oct 30, 2023
1 parent 77dd0ee commit be09968
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
3 changes: 2 additions & 1 deletion content/en/react.html → content/en/nvrf.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
+++
title = "NVRF"
meta_title = "NVRF"
type = "nvrf"
meta_description = "Vote.gov is a United States government website that provides trusted voting information and can help you find voter registration rules for your state."
+++

{{< reactapp >}}
{{< reactapp >}}
20 changes: 20 additions & 0 deletions layouts/nvrf/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ $translation := ( index $.Site.Data.translations .Site.Language.Lang ) }}


{{ partial "head.html" . }}

<body class="page-basic">
{{ partial "header.html" . }}
<main id="main-content">
<div class="grid-container">
<section class="voter-info page-type--basic">
{{ .Content }}
</section>
</div>
</main>
{{ partial "footer.html" . }}
{{ partial "analytics.html" . }}
{{ partial "scripts.html" . }}
</body>

</html>
2 changes: 2 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ $translation := ( index $.Site.Data.translations .Site.Language.Lang ) }}
<footer role="contentinfo">
{{ if ne .Type "nvrf" }}
<section class="bg-white" title="{{ $translation.footer.section_sign_up }}" aria-label="{{ $translation.footer.section_sign_up }}">
<div class="grid-container">
<div class="grid-row grid-gap">
Expand All @@ -21,6 +22,7 @@ <h2 class="text-blue font-size-medium">{{ replace $translation.footer.subscribe_
</div>
</div>
</section>
{{ end }}

{{ partial "partials/contact-identifier.html" . }}

Expand Down
3 changes: 0 additions & 3 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,4 @@
<script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0007/9651.js" async="async" ></script>
<!-- End Crazy Egg -->

<script type="module" crossorigin src="./assets/index-49a2ab6d.js"></script>
<link rel="stylesheet" href="./assets/index-87a4c664.css">

</head>

0 comments on commit be09968

Please sign in to comment.