Skip to content

Commit

Permalink
NEW: Construction Notice (#538)
Browse files Browse the repository at this point in the history
closes #538
  • Loading branch information
dwhieb committed Jun 20, 2023
1 parent 5b02d05 commit 4a4f8ef
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ addRoutes(app.router)

// Start server
app.listen(process.env.PORT, () => {
console.info(`Server started on port ${ process.env.PORT } in ${ process.env.NODE_ENV } mode. Press Ctrl+C to terminate.`)
console.info(`Server started. Press Ctrl+C to terminate.
DATABASE: ${ process.env.COSMOS_DB_NAME }
MODE: ${ process.env.NODE_ENV }
PORT: ${ process.env.PORT }`)
})
1 change: 1 addition & 0 deletions layouts/main/construction.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div class=construction>🚧 This site is under construction. 🚧</div>
12 changes: 12 additions & 0 deletions layouts/main/construction.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.construction {

align-items : center;
background-color: var(--yellow-4);
padding : var(--text-padding);
text-align : center;

@media (prefers-color-scheme: dark) {
color: var(--background-color-dark);
}

}
1 change: 1 addition & 0 deletions layouts/main/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<body>
{{> skip-link }}
{{> construction }}
{{> navbar }}
{{{ body }}}{{!-- actually <main> but express-handlebars calls this variable 'body' --}}
{{> footer }}
Expand Down
1 change: 1 addition & 0 deletions layouts/main/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@import 'global/borders.less';

// App-Level Components
@import 'construction.less';
@import 'footer.less';
@import 'navbar.less';
@import 'nav-link.less';
Expand Down

0 comments on commit 4a4f8ef

Please sign in to comment.