Skip to content

Commit 9584549

Browse files
committed
Re-arranged directories
1 parent 93ff06b commit 9584549

File tree

12 files changed

+41
-29
lines changed

12 files changed

+41
-29
lines changed

comm_accept.html renamed to commissions/comm_accept.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<html>
33
<head>
44
<title>Submission Successful - GamerPablito</title>
5+
<link rel="shortcut icon" href="../icon.png" type="image/png">
6+
<link rel="stylesheet" href="../style.css"></link>
7+
<meta name="og:title" content="Submission Successful">
8+
<meta name="og:url" content="https://gamerpablito.github.io/commissions/comm_accept.html">
59
</head>
610
<body>
711
<center>

comm_cancel.html renamed to commissions/comm_cancel.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta name="og:title" content="Submission Canceled">
5-
<meta name="og:url" content="https://gamerpablito.github.io/comm_cancel">
64
<title>Submission Canceled - GamerPablito</title>
5+
<link rel="shortcut icon" href="../icon.png" type="image/png">
6+
<link rel="stylesheet" href="../style.css"></link>
7+
<meta name="og:title" content="Submission Canceled">
8+
<meta name="og:url" content="https://gamerpablito.github.io/commissions/comm_cancel.html">
79
</head>
810
<body>
911
<center>

commissions.html renamed to commissions/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html>
33
<head>
4-
<meta name="og:title" content="Commissions">
5-
<meta name="og:url" content="https://gamerpablito.github.io/commissions.html">
64
<title>Commissions - GamerPablito</title>
5+
<link rel="shortcut icon" href="../icon.png" type="image/png">
6+
<link rel="stylesheet" href="../style.css"></link>
7+
<meta property="og:title" content="GamerPablito - Commissions">
8+
<meta property="og:url" content="https://gamerpablito.github.io/commissions">
79
</head>
810
<body>
911
<center>
@@ -115,5 +117,5 @@ <h2>
115117
<footer></footer>
116118
</center>
117119
</body>
118-
<script src="javas/main.js"></script>
120+
<script src="../javas/main.js"></script>
119121
</html>

fanarts/27.png

1.09 MB
Loading

fanarts.html renamed to fanarts/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta name="og:title" content="Fanarts">
5-
<meta name="og:url" content="https://gamerpablito.github.io/fanarts.html">
64
<title>Fanarts - GamerPablito</title>
5+
<link rel="shortcut icon" href="../icon.png" type="image/png">
6+
<link rel="stylesheet" href="../style.css"></link>
7+
<meta name="og:title" content="GamerPablito - Fanarts">
8+
<meta name="og:url" content="https://gamerpablito.github.io/fanarts">
79
</head>
810
<body>
911
<center>
@@ -19,6 +21,6 @@ <h1>
1921
<footer></footer>
2022
</center>
2123
</body>
22-
<script src="javas/main.js"></script>
23-
<script src="javas/fanarts.js"></script>
24+
<script src="../javas/main.js"></script>
25+
<script src="../javas/fanarts.js"></script>
2426
</html>

icon.png

336 KB
Loading

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta name="og:title" content="Home">
5-
<meta name="og:url" content="https://gamerpablito.github.io">
64
<title>Home - GamerPablito</title>
5+
<link rel="shortcut icon" href="icon.png" type="image/png">
6+
<link rel="stylesheet" href="style.css"></link>
7+
<meta property="og:title" content="GamerPablito - Home">
8+
<meta property="og:url" content="https://gamerpablito.github.io">
79
</head>
810
<body>
911
<center>

javas/fanarts.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ var authors = [
111111
{
112112
name: "Snowfie",
113113
link: "https://x.com/WinterStar78"
114+
},
115+
{
116+
name: "VaetikToons",
117+
link: "https://x.com/VaetikToons"
114118
}
115119
];
116120

@@ -119,7 +123,7 @@ for (var i = authors.length - 1; i > 0; i--) {
119123
var newImg = document.createElement('img');
120124

121125
newImg.title = "Made by: " + authors[i].name;
122-
newImg.src = `fanarts/${i + 1}.png`;
126+
newImg.src = `${i + 1}.png`;
123127
newLink.href = authors[i].link;
124128
newLink.appendChild(newImg);
125129
imgSection.appendChild(newLink);

javas/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ mainIcon.onclick = (ev) => window.open('https://twitter.com/GamerPablito1');
99
// Creation of Main Buttons
1010

1111
const buttonNames = ['Portfolio', 'Commissions', 'Fanarts', "Space Trace"];
12-
var buttonLinks = [];
13-
for (var i = 0; i<buttonNames.length-1; i++) {buttonLinks.push(buttonNames[i].toLowerCase());}
14-
buttonLinks.push("https://gamejolt.com/games/fnf-space-trace/866969");
12+
var buttonLinks = ['portfolio.html', 'commissions/index.html', 'fanarts/index.html', "https://gamejolt.com/games/fnf-space-trace/866969"];
1513
var buttonNav = document.getElementById('buttons');
1614

1715
for (var i = 0; i < buttonLinks.length; i++) {
@@ -21,11 +19,7 @@ for (var i = 0; i < buttonLinks.length; i++) {
2119
daButton.type = "button";
2220
daButton.innerText = buttonNames[i];
2321
daAnchor.href = buttonLinks[i];
24-
if (i < buttonLinks.length - 1)
25-
{
26-
daAnchor.href += ".html";
27-
}
28-
else
22+
if (i == buttonLinks.length - 1)
2923
{
3024
daButton.id = "st";
3125
}

javas/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
var head = document.querySelector('head');
2+
head.setAttribute("lang", "en");
3+
head.setAttribute("xmlns:og", "http://opengraphprotocol.org/schema");
4+
head.innerHTML += '<meta property="og:description" content="GamerPablito\'s Personal Website">';
5+
head.innerHTML += '<meta property="og:image" content="https://gamerpablito.github.io/icon.png">';
6+
head.innerHTML += '<meta property="og:type" content="website">';
27
head.innerHTML += '<meta charset="UTF-8">';
3-
head.innerHTML += '<meta name="og:description" content="GamerPablito">';
4-
head.innerHTML += '<meta name="og:image" content="fanarts/16.png">';
5-
head.innerHTML += '<meta name="og:type" content="website">';
68
head.innerHTML += '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
7-
head.innerHTML += '<link rel="shortcut icon" href="fanarts/16.png" type="image/jpg">';
8-
head.innerHTML += '<link rel="stylesheet" href="style.css"></link>';
99
document.querySelector('footer').innerHTML = "Website version: v2025.05.25<br>Copyright &copy; 2023-2025 GamerPablito";

0 commit comments

Comments
 (0)