Skip to content

Appinfo page + Error page redesign #17

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

Merged
merged 10 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/external-db-config/lib/external_db_config_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ class ExternalDbConfigClient {

return this.config
}

getConfig() {
const config = Object.assign({}, this.config)
if (config.password) config.password = '*********'
if (config.secretKey) config.secretKey = '*********'
return config
}

configStatus() {
return this.missingRequiredSecretsKeys.length ? `Missing props: ${this.missingRequiredSecretsKeys}` : 'External DB Config read successfully'
}
}

module.exports = { ExternalDbConfigClient }
67 changes: 67 additions & 0 deletions packages/velo-external-db/assets/sad-wix.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions packages/velo-external-db/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
body {
font-display: fallback;
background: url('/assets/cloud_bg.svg');
background-size: cover;
background-position: center;
line-height: 1.6;
}

h1 {
font-size: 24px;
font-weight: bold;
margin-bottom: 0px;
}

.congrats {
font-size: 18px;
font-weight: normal;
margin-top: 4px;
}

h3 {
font-size: 20px;
margin-bottom: 0px;
}

.next {
font-size: 15px;
margin-top: 8px;
margin-bottom: 8px;
}

.container {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

.hero {
margin-top: 172px;
}

.hero .logo {
width: 140px;
float: left;
margin-right: 32px;
}

.hero .message {
font-size: 15px;
text-align: center;
margin-bottom: 24px;
}

.details {
clear: both;
height: 400px;
line-height: 1.8;
}

.callout {
font-size: 14px;
color: #1967D2;
font-weight: 600;
padding: 16px 24px 16px 40px;
background: url('/assets/lightbulb_icon.svg') #E8F0FE;
background-position: 16px 16px;
background-repeat: no-repeat;
line-height: 1.6;
}

code {
font-family: 'Roboto Mono', Courier, monospace;
color: #A30038;
background-color: #F8F8F8;
border: 1px solid #DDD;
border-radius: 2px;
padding: 0 6px;
font-weight: 500;
}

.cta a {
background-color: rgba(233, 233, 233, 0.9);
color: rgb(14, 14, 14);
text-decoration: none;
padding: 8px 12px;
margin-top: 8px;
margin-right: 4px;
min-height: 36px;
border-radius: 2px;
font-weight: 600;
}

.cta a:hover {
background-color: rgba(213, 213, 213, 0.9);
}

.cta a.primary {
color: white;
background-color: rgb(14, 101, 241);
}

.cta a.primary:hover {
background-color: rgb(66, 133, 244, 0.9);
}

@media (max-width: 600px) {
.hero .logo {
float: initial;
display: block;
margin-left: auto;
margin-right: auto;
}

.container {
margin-top: 0;
}

.hero {
margin-top: 0;
margin-bottom: 24px;
}
}
Loading