Skip to content

Commit

Permalink
NEW: Construction Notice (#61)
Browse files Browse the repository at this point in the history
closes #61
  • Loading branch information
dwhieb committed Jun 6, 2024
1 parent acf33fc commit c8fc755
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions layouts/main/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<body>
{{> components/skip-link/skip-link }}
{{> components/nav/nav }}
{{#if Search }}
{{> Search/components/construction/construction }}
{{/if}}
{{> components/issue-link/issue-link }}
{{{ body }}}{{!-- This is actually <main> but express-handlebars calls this variable `body`. --}}
{{> components/footer/footer }}
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions pages/Search/Search.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'components/construction/construction.css';

.search-page {
p {
text-align: center;
Expand Down
2 changes: 0 additions & 2 deletions pages/Search/Search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@

<h1>Search the Database</h1>

<p>🚧 Under Construction 🚧</p>

</main>

7 changes: 7 additions & 0 deletions pages/Search/components/construction/construction.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.construction {
align-self: stretch;
background-color: #FE5000;
color: white;
padding: var(--text-padding);
text-align: center;
}
1 change: 1 addition & 0 deletions pages/Search/components/construction/construction.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div class=construction>🚧 Under Construction 🚧</div>

0 comments on commit c8fc755

Please sign in to comment.