-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a static downtime page #442
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<html> | ||
<head> | ||
<title>Thunderbird Appointment will be right back</title> | ||
<style> | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
src: url('./assets/fonts/OpenSans-LightItalic.ttf'); | ||
font-weight: 300; | ||
font-style: italic; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
src: url('./assets/fonts/OpenSans-Light.ttf'); | ||
font-weight: 300; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
src: url('./assets/fonts/OpenSans-Italic.ttf'); | ||
font-weight: 400; | ||
font-style: italic; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Open Sans'; | ||
src: url('./assets/fonts/OpenSans-Regular.ttf'); | ||
font-weight: 400; | ||
} | ||
|
||
svg { | ||
width: 448px; | ||
} | ||
|
||
body { | ||
--txt: rgb(17, 24, 39); | ||
--bg: rgb(255, 255, 255); | ||
display: flex; | ||
flex-direction: column; | ||
height: 100vh; | ||
|
||
color: var(--txt); | ||
background-color: var(--bg); | ||
margin: auto; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
font-family: Open Sans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"; | ||
} | ||
|
||
h1, h2 { | ||
font-weight: lighter; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
body { | ||
--txt: rgb(243, 244, 246); | ||
--bg: rgb(55, 65, 81); | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<svg width="791" height="356" viewBox="0 0 791 356" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M57.1435 0C167.022 0 212.384 2.95128 333.259 185.272C333.259 185.272 398.436 273.437 477.538 268.957C477.538 268.957 531.771 280.868 580.062 167.351C628.405 53.7807 667.947 -8.97825 791 7.4493C791 7.4493 733.874 58.2431 725.805 79.9154C717.754 101.588 586.911 262.965 515.39 274.166C525.881 277.153 540.555 280.868 565.388 276.388C565.388 276.388 591.024 277.917 595.067 290.593C569.815 288.371 486.321 313.777 468.755 327.235C451.206 340.729 390.96 376.642 342.687 340C353.004 338.454 410.827 327.591 437.578 301.296C392.581 301.829 317.906 286.878 262.191 233.844C206.581 180.792 71.7823 20.89 0 8.94271L57.1435 0Z" fill="#2dd4bf"/> | ||
<path d="M57.1435 0C167.022 0 212.384 2.95128 333.259 185.272C333.259 185.272 398.436 273.437 477.538 268.957C477.538 268.957 531.771 280.868 580.062 167.351C628.405 53.7807 667.947 -8.97825 791 7.4493C791 7.4493 733.874 58.2431 725.805 79.9154C717.754 101.588 586.911 262.965 515.39 274.166C525.881 277.153 540.555 280.868 565.388 276.388C565.388 276.388 591.024 277.917 595.067 290.593C569.815 288.371 486.321 313.777 468.755 327.235C451.206 340.729 390.96 376.642 342.687 340C353.004 338.454 410.827 327.591 437.578 301.296C392.581 301.829 317.906 286.878 262.191 233.844C206.581 180.792 71.7823 20.89 0 8.94271L57.1435 0Z" fill="url(#paint0_linear_128_30)"/> | ||
<defs> | ||
<linearGradient id="paint0_linear_128_30" x1="63.28" y1="-4.64767e-05" x2="719.852" y2="355.923" gradientUnits="userSpaceOnUse"> | ||
<stop stop-color="#2dd4bf"/> | ||
<stop offset="1" stop-color="#0284c7"/> | ||
</linearGradient> | ||
</defs> | ||
</svg> | ||
<div> | ||
<h1>Thunderbird Appointment is undergoing some maintenance.</h1> | ||
<h2>We'll be back before you know it!</h2> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a
height: 100vh;
here to vertically center too?