Closed fireball8931 closed 2 months ago
To comply with the BC Care registry's request, we need to redirect users from the Health Care Assistant page to a 'Coming Soon' page. This can be achieved by updating the src/health-care-assistant.html
file to include a meta refresh tag that redirects users to the new 'Coming Soon' page. Additionally, we need to create the 'Coming Soon' page itself.
Update src/health-care-assistant.html
to Redirect to 'Coming Soon' Page:
Create src/coming-soon.html
:
File: src/health-care-assistant.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url='/coming-soon.html'" />
<title>Health Care Assistant - Redirect</title>
</head>
<body>
<p>If you are not redirected automatically, follow this <a href="/coming-soon.html">link to the Coming Soon page</a>.</p>
</body>
</html>
File: src/coming-soon.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coming Soon</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 50px;
background-color: #f4f4f4;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: inline-block;
}
h1 {
color: #333;
}
p {
color: #666;
}
</style>
</head>
<body>
<div class="container">
<h1>Coming Soon</h1>
<p>We are currently updating our information to bring it into compliance. Please check back soon for the latest updates.</p>
</div>
</body>
</html>
This solution ensures that users visiting the Health Care Assistant page are redirected to the 'Coming Soon' page, thus complying with the request from the BC Care registry.
Click here to create a Pull Request with the proposed solution
Files used for this task:
If you are not redirected automatically, follow this link to the Coming Soon page.
``` ### Explanation: - **Meta Refresh Tag**: The `` tag will redirect the user to the 'Coming Soon' page immediately. The `content="0"` part specifies a delay of 0 seconds. - **Fallback Link**: The paragraph `If you are not redirected automatically, follow this link to the Coming Soon page.
` provides a fallback link in case the meta refresh does not work for some reason. This change ensures that users visiting the Health Care Assistant page are redirected to the 'Coming Soon' page, complying with the request from the BC Care registry.We are currently updating our information to bring it into compliance. Please check back soon for the latest updates.
The BC Care registry has requested that until we have revised our information for the program to bring it into compliance, we should redirect to a 'Coming Soon' page