Skip to content

Commit

Permalink
Merge pull request #7 from Cerebellum-Network/feature/update-cere-ui
Browse files Browse the repository at this point in the history
Update UI according to Cere styles guide book
  • Loading branch information
Andrei Navoichyk authored Nov 25, 2022
2 parents 5271c08 + 4f3c109 commit 7c3ca8f
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bridge-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bridge-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bridge-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/explorer-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/explorer-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/explorer-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stats-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.DEV_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stats-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.PRD_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stats-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_container: 'node:14-buster-slim'
deploy_container: 'ubuntu:20.04'
install_packages_command: 'echo "Installing is not required"'
build_command: 'printf "Cere team\n [email protected]\n" | ./install.sh'
build_command: 'printf "Cere Team\n" | ./install.sh'
path_to_static_files_to_upload: './build'
secrets:
NETWORK_AWS_ACCESS_KEY_ID: ${{ secrets.STG_NETWORK_AWS_ACCESS_KEY_ID }}
Expand Down
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
<title>Site is down for maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.cdnfonts.com/css/sora-3" rel="stylesheet">
<style type="text/css">
body { text-align: center; padding: 10%; font: 20px Helvetica, sans-serif; color: #333; }
h1 { font-size: 50px; margin: 0; }
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; }
body { text-align: center; padding: 10%; font: 24px SORA, sans-serif; color: #000; }
h1 { font-size: 60px; margin: 0; color: #161d30 }
article { display: block; text-align: center; max-width: 650px; margin: 70px auto }
p#signature { color: #b70f93; text-decoration: none; }
@media only screen and (max-width : 480px) {
h1 { font-size: 40px; }
h1 { font-size: 46px; }
}
</style>
</head>
<body>
<article>
<h1>Site is temporarily unavailable.</h1>
<h1>Site is temporarily unavailable</h1>
<p>Scheduled maintenance is currently in progress. Please check back soon.</p>
<p>We apologize for any inconvenience.</p>
<p id="signature">&mdash; <a href="mailto:[Email]">[Name]</a></p>
<p id="signature">[Name]</p>
</article>
</body>
</html>
4 changes: 1 addition & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
mkdir ./build
TEMP_FILE="build/index.html"

printf "Yes\n" | apt install curl

curl -sSL https://raw.githubusercontent.com/Cerebellum-Network/maintenance-page/master/index.html > $TEMP_FILE
cat ./index.html > $TEMP_FILE

echo -n "Name (optional): " 1>&2
read NAME
Expand Down

0 comments on commit 7c3ca8f

Please sign in to comment.