Skip to content

Commit

Permalink
Merge branch 'main' into js-283-frontend-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jasalisbury committed Mar 9, 2021
2 parents 3050a42 + 76231df commit a945aca
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 0 deletions.
1 change: 1 addition & 0 deletions Staticfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root: maintenance_page
Binary file added maintenance_page/eclkc-blocks-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions maintenance_page/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TTA Smart Hub</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="logo64.png" type="image/x-icon">
</head>
<body>
<header>
<img src="eclkc-blocks-logo.png" alt="TTA Smarthub logo">
<span>
Office of Head Start TTA Smart Hub
</span>
</header>
<div class="container">
<div class="left-div">
</div>
<main>
<img src="eclkc-blocks-logo.png" alt="TTA Smarthub Logo">
<h1>The TTA Smart Hub is temporarily down.</h1>
<p>Due to system maintenance, system services are currently unavilable. Please check back soon.</p>
</main>

</div>
</body>
</html>
Binary file added maintenance_page/logo64.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions maintenance_page/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

body {
padding: 0;
margin: 0;
overflow: hidden;
font-family: SourceSansPro, sans-serif;
}

header {
height: 7vh;
min-height: 72px;
text-align: center;
display: flex;
align-items: center;
font-size: 20px;
color: #21272d;
}

header img {
height: 55px;
margin-left: 24px;
margin-right: 16px;
}

.container {
display: flex;
}

.left-div {
width: 10%;
min-width: 100px;
height: 93vh;
background-color: #264a64;
margin: 0;
}

main {
width: 90%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #f8f8f8;
border: 1px solid #c5c5c5;
padding: 10px;
}

main h1 {
font-size: 30px;
font-family: Merriweather, serif;
line-height: 39px;
margin-bottom: 0;
}

main img {
width: 110px;
}
4 changes: 4 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ applications:
instances: ((worker_instances))
command: yarn start:worker
memory: ((worker_memory))
- name: tta-smarthub-maintenance-page-((env))
buildpacks:
- staticfile_buildpack
memory: 64M
3 changes: 3 additions & 0 deletions src/worker.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* eslint-disable import/first */
require('newrelic');

import {} from 'dotenv/config';
import throng from 'throng';
import { logger, auditLogger } from './logger';
Expand Down

0 comments on commit a945aca

Please sign in to comment.