Skip to content

Commit

Permalink
Apply pre-commit fix
Browse files Browse the repository at this point in the history
From the artifact of the previous workflow run
  • Loading branch information
geo-ghci-int[bot] committed Sep 25, 2024
1 parent a52f399 commit bdc7f6d
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 58 deletions.
4 changes: 1 addition & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
},
/** Accept only the patch on stabilization branches */
{
matchBaseBranches: [
'/^[0-9]+\\.[0-9]+$/',
],
matchBaseBranches: ['/^[0-9]+\\.[0-9]+$/'],
matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'],
enabled: false,
},
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ docker run camptcoampt/maintenance

Environment variables:

* `PORT`: Port to listen on. Default: `8080`
* `RESPONSE_CODE`: HTTP response code. Default: `200`
* `TITLE`: Title of the page. Default: `Under maintenance`
* `HEADLINE`: Title of the page. Default: `Under maintenance`
* `MESSAGE`: Message of the page. Default: `This application is in maintenance mode`
- `PORT`: Port to listen on. Default: `8080`
- `RESPONSE_CODE`: HTTP response code. Default: `200`
- `TITLE`: Title of the page. Default: `Under maintenance`
- `HEADLINE`: Title of the page. Default: `Under maintenance`
- `MESSAGE`: Message of the page. Default: `This application is in maintenance mode`
99 changes: 49 additions & 50 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,62 +1,61 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{{title}}</title>
<style>
body {
text-align: center;
padding: 20px;
}
@media (min-width: 768px) {
body {
text-align: center;
padding: 20px;
}
@media (min-width: 768px) {
body {
padding-top: 100px;
}
}
h1 {
font-size: 50px;
}
body {
font: 20px Helvetica, sans-serif;
color: #333;
}
article {
display: block;
text-align: left;
max-width: 650px;
margin: 0 auto;
}
a {
color: #dc8100;
text-decoration: none;
}
a:hover {
color: #333;
text-decoration: none;
}
padding-top: 100px;
}
}
h1 {
font-size: 50px;
}
body {
font: 20px Helvetica, sans-serif;
color: #333;
}
article {
display: block;
text-align: left;
max-width: 650px;
margin: 0 auto;
}
a {
color: #dc8100;
text-decoration: none;
}
a:hover {
color: #333;
text-decoration: none;
}
</style>
<script type="text/javascript">
function applyTheme() {
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.style.backgroundColor = '#2a2e35';
document.body.style.color = '#b2becd';
}
else {
document.body.style.backgroundColor = 'white';
document.body.style.color = 'black';
}
}
window.onload = function () {
applyTheme();
};
function applyTheme() {
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.style.backgroundColor = '#2a2e35';
document.body.style.color = '#b2becd';
} else {
document.body.style.backgroundColor = 'white';
document.body.style.color = 'black';
}
}
window.onload = function () {
applyTheme();
};
</script>
</head>
<body>
</head>
<body>
<article>
<h1>{{headline}}</h1>
<div>
<p>{{message}}</p>
</div>
<h1>{{headline}}</h1>
<div>
<p>{{message}}</p>
</div>
</article>
</body>
</body>
</html>

0 comments on commit bdc7f6d

Please sign in to comment.