A webpage opens when someone enters the ip/url in the web browser instead of dc client. Integrate its setup into the current workflow.
<!DOCTYPE html>
<html>
<head>
<title>Oops!</title>
<style>
body {
margin: 0;
padding: 0;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
}
.container {
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
text-align: center;
}
h1 {
font-size: 40px;
margin-bottom: 10px;
}
p {
font-size: 22px;
color: #666;
}
a {
text-decoration: none;
color: #0070e0;
}
footer {
margin-top: 7px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
text-align: center;
background-color: #333;
color: #fff;
width: 100%; /* Set the width of the footer to 100% */
box-sizing: border-box; /* Include padding in the width calculation */
}
.copyright-link { /* Style the <a> tag in the footer */
color: #fff;
text-decoration: none;
}
.copyright-link:hover { /* Add hover style for <a> tag in the footer */
text-decoration: underline;
}
/* Add a wrapper with display: flex to stack container and footer vertically */
.wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="container">
<h1>Oops!</h1>
<p>
It looks like you have entered <u><b>dc.metakgp.org</b></u> in a web browser,<br>
when it should have been entered into a DC client instead.
</p>
<p>
For more information, read the <a href="https://bit.ly/dc-setup" target="_blank">DC Client Setup Guide</a>.
</p>
<p>
Still facing some issue? Report it on the <a href="https://bit.ly/dc-issue" target="_blank">DC Issue Tracker Form</a>.<br>
Join <b>#dc-discssions</b> on <a href="https://slack.metakgp.org">MetaKGP slack</a> for further discussions.
</p>
</div>
<footer>
© <a class="copyright-link" href="https://metakgp.github.io/" target="_blank">MetaKGP</a> 2023
</footer>
</div>
</body>
</html>