Skip to content

Commit f3826ef

Browse files
committed
Fixed Broken Website
1 parent 43aacca commit f3826ef

File tree

11 files changed

+66
-66
lines changed

11 files changed

+66
-66
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ coverage
2020
# nyc test coverage
2121
.nyc_output
2222

23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-Files)
2424
.grunt
2525

2626
# Bower dependency directory (https://bower.io/)

404.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta name="theme-color" content="#22b455">
7-
<link rel="stylesheet" href="css/error.css">
8-
<link rel="icon" href="files/warning.png">
7+
<link rel="stylesheet" href="CSS/error.css">
8+
<link rel="icon" href="Files/warning.png">
99
<link rel="preconnect" href="https://fonts.gstatic.com">
10-
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;700&display=swap" rel="stylesheet">
10+
<link href="https://fonts.googleapis.com/CSS2?family=Sora:wght@300;400;500;700&display=swap" rel="stylesheet">
1111
<title>There was an Error 404</title>
1212
</head>
1313
<body class="no-script">
@@ -21,7 +21,7 @@ <h1 class="error-number">404</h1>
2121
</div>
2222
<script>document.body.classList.remove("no-script");</script>
2323
<noscript>
24-
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;700&display=swap" rel="stylesheet">
24+
<link href="https://fonts.googleapis.com/CSS2?family=Sora:wght@300;400;500;700&display=swap" rel="stylesheet">
2525
<div class="err">
2626
<h2>There was an error</h2>
2727
<p>Sorry, but your browser doesn't support Javascript.<br> Please enable JavaScript in your browser for best experience for website.</p>

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Please note we have a code of conduct, please follow it in all your interactions
1111
build.
1212
2. Update the README.md with details of changes to the interface, this includes new environment
1313
variables, exposed ports, useful file locations and container parameters.
14-
3. Increase the version numbers in any examples files and the README.md to the new version that this
14+
3. Increase the version numbers in any examples Files and the README.md to the new version that this
1515
Pull Request would represent.
1616
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
1717
do not have permission to do that, you may request the second reviewer to merge it for you.

CSS/dark-mode.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.dark{color: #f1f1f1;background: #353b48;}
2-
.dark .logo {background-image: url(/files/arsentech-dark.svg);background-size: contain;}
2+
.dark .logo {background-image: url(/Files/arsentech-dark.svg);background-size: contain;}
33
.dark .menu-toggler span {background-color: #fff;}
44
.dark .navbar-menu a {color: #fff;}
55
.dark .navbar-menu a:hover, .dark .navbar-menu a:focus {color: #1dd1a1 !important;}
66
.dark #icon{filter: invert(1);}
77
.dark .sticky {background: #353b48;}
8-
.dark .sticky .logo {background-image: url(/files/arsentech-dark.svg);}
9-
.dark .sticky .logo:hover{background-image: url(/files/arsentech-colorful.svg);}
8+
.dark .sticky .logo {background-image: url(/Files/arsentech-dark.svg);}
9+
.dark .sticky .logo:hover{background-image: url(/Files/arsentech-colorful.svg);}
1010
.dark .sticky .navbar-menu a {color: #f1f1f1;}
1111
.dark .sticky .menu-toggler span {background-color: #f1f1f1;}
1212
.dark .sticky .menu-toggler {color: #f1f1f1;}

CSS/error.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*{margin: 0;padding: 0;box-sizing: border-box;text-decoration: none;}
22
body{font-family: Sora,Arial;}
33
::selection{color: #204829;background-color: #92e5a1;}
4-
#error{height: 100vh;background: #204829;background: linear-gradient(#20482945,#1dd1a188),url(../files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#1dd1a188),url(../files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;}
4+
#error{height: 100vh;background: #204829;background: linear-gradient(#20482945,#1dd1a188),url(../Files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#1dd1a188),url(../Files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;}
55
.error-container{width: 100%;position: absolute;top: 50%;transform: translateY(-50%);text-align: center;color: #f5f5f5;}
66
.error-number{font-size: 160px;margin: 0;font-weight: 900;letter-spacing: 20px;color: #f1f1f1;}
77
.errbtn,.error-button{display: inline-block;margin: 15px 30px;color: #fff;font-size: 16px;font-weight: 500;width: 180px;border: 1px solid #fff;padding: 15px 0;border-radius: 6px;transition: .3s ease-in-out;outline:0;}
@@ -15,7 +15,7 @@ body{font-family: Sora,Arial;}
1515
}
1616
@media screen and (max-width:400px){.error-number{font-size: 100px;}}
1717
.no-script #error{display: none;}
18-
.no-script{min-height: 100vh;text-align: center;background: #204829;background: linear-gradient(#22B45545,#1dd1a188),url(../files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#22B45545,#1dd1a188),url(../files/backgrounds/bg.webp) no-repeat; background-size: cover;}
18+
.no-script{min-height: 100vh;text-align: center;background: #204829;background: linear-gradient(#22B45545,#1dd1a188),url(../Files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#22B45545,#1dd1a188),url(../Files/backgrounds/bg.webp) no-repeat; background-size: cover;}
1919
.no-script h2{color: #dc3545;margin: 5px;font-size: 30px;}
2020
noscript .err{width: 100%;position: absolute;top: 50%;background: #92e5a1;padding: 15px 0;}
2121
@media (prefers-reduced-motion:reduce){.errbtn,.error-button{transition: none;}}

CSS/style.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ body{background: #f1f1f1; color: #202020;}
1616
.navbar{background: 0 0;width: 100%;padding: 30px 0;top: 0;z-index: 999;transition: .3s ease-in-out;}
1717
.inner-width{max-width: 1300px;margin: auto;padding: 0 40px;}
1818
.navbar .inner-width{display: flex;align-items: center;justify-content: space-between;}
19-
.logo{width: 150px;height: 32px;background-image: url(/files/arsentech-dark.svg);background-size: contain;}
19+
.logo{width: 150px;height: 32px;background-image: url(/Files/arsentech-dark.svg);background-size: contain;}
2020
.menu-toggler{background: 0 0;width: 30px;border: none;cursor: pointer;position: relative;z-index: 999;display: none;color: #fff;font-size: 25px;}
2121
.menu-toggler span{display: block;height: 3px;background-color: #fff;margin: 6px 0;position: relative;transition: .3s ease;}
2222
.navbar-menu a{color: #fff;font-size: 16px;font-weight: 500;margin-left: 30px;transition: .3s ease;}
2323
.navbar-menu a:hover,.navbar-menu a:focus-within{color: #1dd1a1 !important;}
2424
#icon{width: 30px;transition: .3s ease;filter: invert(1);cursor: pointer;}
2525
#icon img{width: 100%;}
2626
.sticky{background: #f1f1f1;padding: 18px 0;}
27-
.sticky .logo{background-image: url(/files/arsentech-light.svg);transition: .3s;}
28-
.sticky .logo:hover{background-image: url(/files/arsentech-colorful.svg);}
27+
.sticky .logo{background-image: url(/Files/arsentech-light.svg);transition: .3s;}
28+
.sticky .logo:hover{background-image: url(/Files/arsentech-colorful.svg);}
2929
.sticky .navbar-menu a,.sticky .menu-toggler{color: #222;}
3030
.sticky .menu-toggler span{background-color: #222;}
3131
.sticky #icon{filter: invert(0.1);}
32-
#home{height: 100vh;min-height: 500px;background: #204829;background: linear-gradient(#20482945,#1dd1a188),url(../files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#1dd1a188),url(../files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;transition: 1s all;}
32+
#home{height: 100vh;min-height: 500px;background: #204829;background: linear-gradient(#20482945,#1dd1a188),url(../Files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#1dd1a188),url(../Files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;transition: 1s all;}
3333
#home .inner-width{height: 100%;text-align: center;}
3434
#home .content{width: 100%;color: #fff}
3535
#home .content h1{font-size: 60px;margin-bottom: 60px;}
@@ -56,7 +56,7 @@ section{padding: 100px 0;background: #fff;}
5656
.skill-info{display: flex;justify-content: space-between;}
5757
.skill-bar{height: 3px;background: #ddd;margin-top: 14px;position: relative;}
5858
.skill-bar::after{height: 6px;background-color: #1dd1a1;bottom: 0;}
59-
.html::after,.css::after,.js::after,.react::after,.scss::after{width: 90%;}.angular::after{width: 75%;}
59+
.html::after,.css::after,.js::after,.react::after,.sCSS::after{width: 90%;}.angular::after{width: 75%;}
6060
section.alt{background-color: #f1f1f1;}section.alt .section-title::after{border: 4px solid #f1f1f1;}
6161
.services{display: flex;justify-content: space-between;flex-wrap: wrap;}
6262
.service{width: calc(33% - 20px);text-align: center;border: 1px solid #0d5a45;border-radius: 5px;margin: 20px 0;padding: 40px 20px;color: #0d5a45;cursor: pointer;transition: .4s ease-in-out;}
@@ -80,7 +80,7 @@ section.alt{background-color: #f1f1f1;}section.alt .section-title::after{border:
8080
.messageZone{min-height: 200px;resize: vertical;}
8181
.contact-form .btn{width: 180px;background-color: #f1f1f1;color: #0d5a45;font-size: 16px;border: 2px solid #1dd1a1;padding: 0;margin-left: auto;transition: .3s ease-in-out;cursor: pointer;}
8282
.contact-form .btn:hover,.contact-form .btn:focus-within{background: #1dd1a1;}
83-
#site-footer{width: 100%;background: #204829;background: linear-gradient(#20482945,#20482945),url(../files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#20482945),url(../files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;color: #fff;padding: 80px 0;text-align: center;}
83+
#site-footer{width: 100%;background: #204829;background: linear-gradient(#20482945,#20482945),url(../Files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#20482945,#20482945),url(../Files/backgrounds/bg.webp) no-repeat center;background-attachment: fixed;background-size: cover;color: #fff;padding: 80px 0;text-align: center;}
8484
.copyright{margin-bottom: 20px;font-size: 16px;}
8585
.copyright a{text-decoration: underline;font-size: 16px;color: #E8FDF7;font-weight: 500;transition: .3s linear;}
8686
.copyright a:hover,.copyright a:focus-within{color: #59facf;}
@@ -94,7 +94,7 @@ section.alt{background-color: #f1f1f1;}section.alt .section-title::after{border:
9494
.subscribe p{color:#444}
9595
.subscribe a{display:inline-block;padding:.5em 1em;border-radius:10px;background:#0B4B3A;width:100%;color:#fff;width:100%;text-align:center;transition:.3s;margin-top: 5px;font-size: 18px;}
9696
.subscribe a:hover{background:#138164}.subscribe.hide{animation:hide_sub 0.5s ease forwards}
97-
.christmas :where(#home,#site-footer){background:#204829!important;background:linear-gradient(#20482945,#20482945),url(../files/backgrounds/bg-christmas.jpg) no-repeat!important;background:linear-gradient(#20482945,#20482945),url(../files/backgrounds/bg-christmas.webp) no-repeat center!important;background-attachment:fixed!important;background-size:cover!important}
97+
.christmas :where(#home,#site-footer){background:#204829!important;background:linear-gradient(#20482945,#20482945),url(../Files/backgrounds/bg-christmas.jpg) no-repeat!important;background:linear-gradient(#20482945,#20482945),url(../Files/backgrounds/bg-christmas.webp) no-repeat center!important;background-attachment:fixed!important;background-size:cover!important}
9898
@keyframes loader{0%,100%{transform: rotateX(0);}50%{transform: rotateX(90deg);}}
9999
@keyframes fadeOut{100%{opacity:0;visibility: hidden;}}
100100
@keyframes text{25%{content: "a Tech Youtuber";}50%{content: "a Developer";}75%{content: "a Programmer (Coder)";}}
@@ -117,7 +117,7 @@ section.alt{background-color: #f1f1f1;}section.alt .section-title::after{border:
117117
@media screen and (max-width:600px){#home .content h1{font-size:40px;}.inner-width{padding:0 18px;}.skill,.service,.work{width:100%;}.emailZone,.nameZone{max-width:100%;}.subscribe{right:12px;}}
118118
@media screen and (max-width:290px){#home .content h1{font-size:30px;}.subscribe img{width:75px;height:75px;}}
119119
.no-script #site-header,.no-script #site-main,.no-script #site-footer,.no-script .loader-wrapper{display: none;}
120-
.no-script{min-height: 100vh;text-align: center;background: #204829;background: linear-gradient(#22B45545,#1dd1a188),url(../files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#22B45545,#1dd1a188),url(../files/backgrounds/bg.webp) no-repeat; background-size: cover;}
120+
.no-script{min-height: 100vh;text-align: center;background: #204829;background: linear-gradient(#22B45545,#1dd1a188),url(../Files/backgrounds/bg.jpg) no-repeat;background: linear-gradient(#22B45545,#1dd1a188),url(../Files/backgrounds/bg.webp) no-repeat; background-size: cover;}
121121
.no-script h2{color: #dc3545;margin: 5px;font-size: 30px;}
122122
noscript .err{width: 100%;position: absolute;top: 50%;background: #92e5a1;padding: 15px 0;}
123123
@media (prefers-reduced-motion: reduce) {*,*::after,*::before {transition: none !important;scroll-behavior: auto !important;transition-delay: 0 !important;}}

Files/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "ArsenTech's Official Website",
44
"icons": [
55
{
6-
"src": "/files/app-icon.png",
6+
"src": "/Files/app-icon.png",
77
"sizes": "192x192",
88
"type": "image/png",
99
"purpose": "maskable any"

JS/functions.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const skillData = [
22
{name:"HTML",class:"html",percentage:90},
3-
{name:"CSS",class:"css",percentage:90},
3+
{name:"CSS",class:"CSS",percentage:90},
44
{name:"Javascript",class:"js",percentage:90},
55
{name:"React JS",class:"react",percentage:90},
6-
{name:"SASS (SCSS)",class:"scss",percentage:90},
6+
{name:"SASS (SCSS)",class:"sCSS",percentage:90},
77
{name:"Angular",class:"angular",percentage:75}
88
]
99
const serviceData = [
@@ -15,27 +15,27 @@ const serviceData = [
1515
{name:"Malware Testing",desc:"Malware Testing Content and Antivirus VS Malware Videos",icon:"fa-solid:bug",link:"https://youtube.com/playlist?list=PLsOMVP9OgGeoAFJZdOofZQS3R0g5G57ot"}
1616
];
1717
const worksData = [
18-
{img:"files/Work/code.webp",name:"Programming",category:"Development, Programming",attr:"Photo: Pixabay from Pexels",imgAlt:"coding"},
19-
{img:"files/Work/wintuto.webp",name:"Tutorials",category:"Windows, Linux",attr:"Photo: Max DeRoin from Pexels",imgAlt:"keyboard"},
20-
{img:"files/Work/lintuto.webp",name:"Windows Experiments",category:"Windows 10, Windows 7",attr:"Photo: Negative Space from Pexels",imgAlt:"computer"},
21-
{img:"files/Work/downloads.webp",name:"Downloads",category:"Software, Wallpaper",attr:"Photo: Miguel Á. Padriñán from Pexels",imgAlt:"downloads"},
22-
{img:"files/Work/virustest.webp",name:"Malware Testing",category:"Virus Test, Malware Test",attr:"Photo: Markus Spiske from Pexels",imgAlt:"matrix"},
23-
{img:"files/Work/ios.webp",name:"ArsenTech Shorts",category:"Quick Tutorials, Tips and Tricks",attr:"Photo: Tracy Le Blanc from Pexels",imgAlt:"phone"},
18+
{img:"Files/Work/code.webp",name:"Programming",category:"Development, Programming",attr:"Photo: Pixabay from Pexels",imgAlt:"coding"},
19+
{img:"Files/Work/wintuto.webp",name:"Tutorials",category:"Windows, Linux",attr:"Photo: Max DeRoin from Pexels",imgAlt:"keyboard"},
20+
{img:"Files/Work/lintuto.webp",name:"Windows Experiments",category:"Windows 10, Windows 7",attr:"Photo: Negative Space from Pexels",imgAlt:"computer"},
21+
{img:"Files/Work/downloads.webp",name:"Downloads",category:"Software, Wallpaper",attr:"Photo: Miguel Á. Padriñán from Pexels",imgAlt:"downloads"},
22+
{img:"Files/Work/virustest.webp",name:"Malware Testing",category:"Virus Test, Malware Test",attr:"Photo: Markus Spiske from Pexels",imgAlt:"matrix"},
23+
{img:"Files/Work/ios.webp",name:"ArsenTech Shorts",category:"Quick Tutorials, Tips and Tricks",attr:"Photo: Tracy Le Blanc from Pexels",imgAlt:"phone"},
2424
]
25-
const removeCss = ()=>document.querySelector("link[href='css/dark-mode.css']").remove();
25+
const removeCss = ()=>document.querySelector("link[href='CSS/dark-mode.css']").remove();
2626
const redirectTo = (link) => document.location=link;
27-
function lazyCss(e) {const t = document.createElement( "link" );t.href = e, t.rel = "stylesheet", t.type = "text/css", t.media="screen", document.getElementsByTagName("head")[0].appendChild(t);}
27+
function lazyCss(e) {const t = document.createElement( "link" );t.href = e, t.rel = "stylesheet", t.type = "text/CSS", t.media="screen", document.getElementsByTagName("head")[0].appendChild(t);}
2828
function handleScroll(scrlY, pageY){scrlY < this.scrollY ? navbar.classList.add("sticky") : navbar.classList.remove("sticky");window.scrollY > pageY ? gotop.classList.add("active") : gotop.classList.remove("active");}
2929
function toggleActive(){toggler.classList.toggle("active"); navMenu.classList.toggle("active");}
3030
function closeMenu(){toggler.classList.remove("active"); navMenu.classList.remove("active");}
3131
function toggleMode(){
3232
document.body.classList.toggle("dark");
3333
if(!document.body.classList.contains("dark")){
34-
modeToggler.querySelector("img").src = "files/icons/light.svg";
34+
modeToggler.querySelector("img").src = "Files/icons/light.svg";
3535
localStorage.setItem("arsentech-theme", "light");removeCss();
3636
} else{
37-
modeToggler.querySelector("img").src = "files/icons/dark.svg";
38-
localStorage.setItem("arsentech-theme", "dark");lazyCss("css/dark-mode.css");
37+
modeToggler.querySelector("img").src = "Files/icons/dark.svg";
38+
localStorage.setItem("arsentech-theme", "dark");lazyCss("CSS/dark-mode.css");
3939
}
4040
}
4141
const addSkills=()=>skillData.map(val=>{
@@ -69,7 +69,7 @@ function addWorks(){
6969
</div>`;
7070
document.querySelector(".works").append(el);
7171
});
72-
code.src = "js/fslightbox.js";
72+
code.src = "JS/fslightbox.js";
7373
code.defer = true;
7474
document.body.appendChild(code);
7575
}
@@ -82,7 +82,7 @@ function isChristmas() {
8282
function init(){
8383
const aboutPfp = document.querySelector(".about-pic");
8484
const subscribePfp = document.querySelector(".subscribe img");
85-
const christmasPfp = "files/profile-pics/pfp-christmas.webp", regularPfp = "files/profile-pics/pfp.webp"
85+
const christmasPfp = "Files/profile-pics/pfp-christmas.webp", regularPfp = "Files/profile-pics/pfp.webp"
8686
aboutPfp.src = isChristmas() ? christmasPfp : regularPfp;
8787
subscribePfp.src = isChristmas() ? christmasPfp : regularPfp;
8888
document.body.classList[isChristmas() ? "add" : "remove"]("christmas");

0 commit comments

Comments
 (0)