Skip to content

Commit

Permalink
Merge branch 'error-component' of https://github.com/abhirajadhikary0…
Browse files Browse the repository at this point in the history
…6/Beautiify into error-component
  • Loading branch information
abhirajadhikary06 committed Jan 8, 2025
2 parents 97913a9 + c1fca2b commit c8da824
Show file tree
Hide file tree
Showing 39 changed files with 775 additions and 560 deletions.
17 changes: 8 additions & 9 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./assets/images/favicon.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="./style.css" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="./assets/images/favicon.png">
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="stylesheet" type="text/css" href="./assets/css_files/cursor.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css">
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/scrollreveal"></script>
<script src="./assets/js_files/hamburgerMenu.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Error 404</title>
</head>

Expand Down Expand Up @@ -151,7 +150,7 @@ <h1 class="heading">Keep In Touch</h1>

<script src="./script.js"></script>
<script src="./assets/js_files/cursor.js"></script>
<script src="./assets/js_files/dark-mode.js"></script>
<script src="./assets/js_files/commonscript.js"></script>
</body>

</html>
43 changes: 43 additions & 0 deletions Components/Error-Pages/404-Error-Page/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>404 Error Page</title>
</head>

<body>
<div id="particles" class="particles">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<main>
<section>
<h1>Page Not Found!</h1>
<div>
<span>4</span>
<span class="circle">0</span>
<span>4</span>
</div>
<p>We are unable to find the page<br>you're looking for.</p>
<div>
<button>Back to Home Page</button>
</div>
</section>
</main>
</body>

</html>
204 changes: 204 additions & 0 deletions Components/Error-Pages/404-Error-Page/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
* {
padding: 0;
margin: 0;
}

body {
background: radial-gradient(circle, rgb(28, 27, 90) 0%, rgb(15, 18, 44) 30%, rgb(15, 13, 31) 100%);
height: 100vh;
color: #efefef;
}

.particles {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
}

.particles span {
position: absolute;
top: 10%;
left: 10%;
display: block;
content: '';
width: 6px;
height: 6px;
background: rgba(255, 255, 255, 0.6);
border-radius: 0.5rem;
filter: blur(5px);

}

.particles span:nth-child(2) {
top: 15%;
left: 70%;
filter: blur(3px);
}

.particles span:nth-child(3) {
top: 70%;
left: 40%;
filter: blur(5px);
}

.particles span:nth-child(4) {
top: 52%;
left: 20%;
filter: blur(4px);
}

.particles span:nth-child(5) {
top: 74%;
left: 90%;
filter: blur(5px);
}

.particles span:nth-child(6) {
top: 85%;
left: 10%;
filter: blur(7px);
}

.particles span:nth-child(7) {
top: 67%;
left: 79%;
filter: blur(3px);
}

.particles span:nth-child(8) {
top: 48%;
left: 40%;
filter: blur(4px);
}

.particles span:nth-child(9) {
top: 45%;
left: 30%;
filter: blur(5px);
}

.particles span:nth-child(10) {
top: 96%;
left: 29%;
filter: blur(4px);
}

.particles span:nth-child(11) {
top: 55%;
left: 89%;
filter: blur(6px);
}

.particles span:nth-child(12) {
top: 55%;
left: 60%;
filter: blur(7px);
}

main {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: cursive;
}

main h1 {
font-weight: normal;
}

main h1 {
text-align: center;
text-shadow: 0 0 5px #c3d168a2;
}

main div {
margin-top: 2rem;
text-align: center;
}

main div span {
font-size: 5rem;
line-height: 6rem;
text-shadow: 0 0 7px #c3d168a2;
}

.circle {
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
display: inline-block;
position: relative;
width: 6rem;
height: 6rem;
text-shadow: none;
background: #e6f1a3 radial-gradient(#f9ffd2, #ecff70);
color: rgba(0, 0, 0, 0);
border-radius: 50%;
box-shadow: 0 0 7px #e7f1a3a2;
}

.circle:after {
display: block;
position: absolute;
content: '';
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
width: 10rem;
height: 4rem;
border-radius: 50%;
border: 2px solid #fafafa;
border-top: 0px solid #fafafa;
border-bottom: 4px solid #fafafa;
z-index: 2
}

.circle:before {
display: block;
position: absolute;
content: '';
top: 50%;
left: 50%;
background: #124;
border-radius: 50%;
width: 4px;
height: 4px;
transform-origin: 2.5rem 0;
transform: translate(-2.5rem, 0) rotate(0deg);
animation: circle-around 5s infinite linear;
}

@keyframes circle-around {
0% {
transform: translate(-2.5rem, 0) rotate(0deg);
}

100% {
transform: translate(-2.5rem, 0) rotate(360deg);
}
}

main p {
margin-top: 3rem;
text-align: center;
text-shadow: 0 0 5px #c3d168a2;
}

main button {
padding: 0.55rem 1.2rem;
border: none;
outline: none;
appearance: none;
border-radius: 1rem;
background: rgb(17, 141, 44);
color: #fafafa;
box-shadow: 0 0 4px #e1f17859;
}

main button:hover {
cursor: pointer;
}
Binary file not shown.
55 changes: 0 additions & 55 deletions Components/Errors/Oops-Error-Twitter/index.html

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion assets/css_files/progressbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
background: linear-gradient(90deg, rgba(59, 3, 52, 1) 0%, rgba(219, 0, 255, 1) 50%, rgba(59, 3, 52, 1) 100%);
box-shadow: 0 0 10px rgba(219, 0, 255, 0.7), 0 0 20px rgba(219, 0, 255, 0.7), 0 0 30px rgba(219, 0, 255, 0.7);
transition: width 0.09s ease-in-out;
}
}
Loading

0 comments on commit c8da824

Please sign in to comment.