To Website Restriction Page Design, Normally then you can create an HTML and CSS file to achieve a similar effect. Here's a simple example of how you can do this:
HTML Code (index.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Website Restricted</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Website Restricted By Developer</h1>
<p>Due To Incomplete Payments Of Development.</p>
<p>If you are a site owner, contact the developer and make payment until <strong>10th October 2024</strong>.</p>
<p>After this date, all data of the website will be lost.</p>
<button onclick="alert('Contact Developer')">About Dev.</button>
</div>
</body>
</html>
CSS Code (styles.css)
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #1a1a1a;
color: #f2f2f2;
font-family: Arial, sans-serif;
}
.container {
text-align: center;
border: 2px solid #f00;
padding: 20px;
background: #2e2e2e;
border-radius: 10px;
box-shadow: 0 0 15px #f00;
}
h1 {
color: #ff3b3b;
font-size: 2rem;
margin-bottom: 10px;
}
p {
font-size: 1rem;
margin: 10px 0;
}
button {
background-color: #ff3b3b;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
}
button:hover {
background-color: #d32f2f;
}
How to Run
- Create a folder and save the HTML file as
index.html
. - Save the CSS file as
styles.css
in the same folder. - Open the
index.html
file in a browser to view the page.
You can customize the design, text, and styling as needed! Let me know if you'd like further adjustments.
How to Automatically Restrict Website Access After a Specific Date
Automate Date-Wise Website Restrictions in Laravel with Middleware