great-website/index.html
Kumi 010845611d
feat: implement dynamic error box visibility
Introduced a `.hidden` CSS class to control the visibility of elements
and initially applied it to the error box, making it hidden by default.
JavaScript logic was added to remove this class dynamically, allowing
for the error box to be shown conditionally based on specific criteria.
This change enhances user experience by preventing immediate display of
error messages on page load, instead allowing for dynamic visibility
control based on application state or user actions.
2024-03-28 09:20:53 +01:00

35 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Browser Error</title>
<link
rel="stylesheet"
href="./index.css"
/>
</head>
<body>
<div class="error-box hidden">
<h1 class="mb-4">
FATAL ERROR: <span class="browser"></span> Detected
</h1>
<p class="mb-4">
Due to a bug in <span class="browser"></span>, this website is
temporarily inaccessible for anyone using the browser.
</p>
<p class="mb-4">
I apologize for the inaccessibility. As this site is now public I will
be revisiting this bug to try and find a workaround. If I fail, I
believe there is a PR currently in review for
<span class="browser"></span> that attempts to fix the regression.
Whether or not that will fix the bug is unknown. Updates will be posted
here.
</p>
<p class="mb-4">
In the meantime if you want to access this site you will need to use a
different browser.
</p>
<p>Thank you - Kumi</p>
</div>
<script src="./lib/index.bundle.js"></script>
</body>
</html>