Skip to content

Commit

Permalink
fixed some footer stuff and changed redirect page, and added modrinth…
Browse files Browse the repository at this point in the history
… to footer
  • Loading branch information
Imabanana80 committed Sep 18, 2023
1 parent c5c82d3 commit 79f9ef9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
4 changes: 2 additions & 2 deletions redirect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
</head>

<body>
redirecting... (javascript needs to be enabled for this to work)
<br /><a href="../">Go Home</a>
<p class="title">Redirecting...</p>

<div class="footer">
<a
href="/redirect/?to=https://github.com/Imabanana80/imabanana80.github.io"
Expand Down
4 changes: 3 additions & 1 deletion static/js/redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ document.addEventListener("DOMContentLoaded", () => {
if (valid.includes(target)) {
location.replace(target);
} else {
location.replace("https://imabanana80.com/404");
setTimeout(() => {
location.replace("https://imabanana80.com/404");
}, 1000);
}
});
25 changes: 24 additions & 1 deletion v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<a herf="#" class="logo">Imabanana80</a>

<nav class="navbar">
<a href="https://youtube.com/">Resource Packs</a>
<a nav="#">Resource Packs</a>
<a nav="#">Datapacks</a>
</nav>
</header>
Expand Down Expand Up @@ -166,6 +166,29 @@
</g>
</g></svg
></a>
<a
id="modrinth"
href="../redirect/?to=https://modrinth.com/user/wZCAi9ke"
target="_blank"
class="footer_icon"
><svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 514"
data-v-826e3f53=""
width="24px"
height="24px"
>
<path
fill="#ffffff"
fill-rule="evenodd"
d="M503.16 323.56c11.39-42.09 12.16-87.65.04-132.8C466.57 54.23 326.04-26.8 189.33 9.78 83.81 38.02 11.39 128.07.69 230.47h43.3c10.3-83.14 69.75-155.74 155.76-178.76 106.3-28.45 215.38 28.96 253.42 129.67l-42.14 11.27c-19.39-46.85-58.46-81.2-104.73-95.83l-7.74 43.84c36.53 13.47 66.16 43.84 77 84.25 15.8 58.89-13.62 119.23-67 144.26l11.53 42.99c70.16-28.95 112.31-101.86 102.34-177.02l41.98-11.23a210.18 210.18 0 0 1-3.86 84.16l42.61 15.49Z"
clip-rule="evenodd"
></path>
<path
fill="#ffffff"
d="M321.99 504.22C185.27 540.8 44.75 459.77 8.11 323.24A257.556 257.556 0 0 1 0 275.46h43.27c1.09 11.91 3.2 23.89 6.41 35.83 3.36 12.51 7.77 24.46 13.11 35.78l38.59-23.15c-3.25-7.5-5.99-15.32-8.17-23.45-24.04-89.6 29.2-181.7 118.92-205.71 17-4.55 34.1-6.32 50.8-5.61L255.19 133c-10.46.05-21.08 1.42-31.66 4.25-66.22 17.73-105.52 85.7-87.78 151.84 1.1 4.07 2.38 8.04 3.84 11.9l49.35-29.61-14.87-39.43 46.6-47.87 58.9-12.69 17.05 20.99-27.15 27.5-23.68 7.45-16.92 17.39 8.29 23.07s16.79 17.84 16.82 17.85l23.72-6.31 16.88-18.54 36.86-11.67 10.98 24.7-38.03 46.63-63.73 20.18-28.58-31.82-49.82 29.89c25.54 29.08 63.94 45.23 103.75 41.86l11.53 42.99c-59.41 7.86-117.44-16.73-153.49-61.91l-38.41 23.04c50.61 66.49 138.2 99.43 223.97 76.48 61.74-16.52 109.79-58.6 135.81-111.78l42.64 15.5c-30.89 66.28-89.84 118.94-166.07 139.34Z"
></path></svg
></a>
</div>
</div>
</footer>
Expand Down
9 changes: 4 additions & 5 deletions v2/static/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ footer {

.footer_container {
width: 100%;
padding: 10px 25px 10px;
padding-left: 0;
padding: 10px 10%;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer_icons {
display: flex;
align-content: center;
padding-left: 10%;
}

.footer_icon {
display: flex;
align-items: center;
text-decoration: none;
padding: 4px 20%;
padding: 0px 15%;
}

0 comments on commit 79f9ef9

Please sign in to comment.