Skip to content

Commit c1671dd

Browse files
committed
feat: add source link for #29
1 parent 7ee8a5d commit c1671dd

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

public/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ html > body > div#swagger-ui > section.swagger-ui.swagger-container > div.swagge
1818
.opblock-summary-method {
1919
color: #fff !important;
2020
}
21+
22+
a {
23+
color: #007BFF;
24+
text-decoration: none;
25+
}

public/customDOM.js

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
/* eslint-disable no-undef */
22

33
document.addEventListener("DOMContentLoaded", () => {
4-
document.body.innerHTML += `<div class="swagger-ui" style="display: flex; flex-flow: row nowrap; justify-content: center;">
5-
<p>© ${new Date().getFullYear()} Faithful Resource Pack</p>
4+
document.body.innerHTML += `<div class="swagger-ui" style="display: flex; flex-flow: column nowrap; align-items: center;">
5+
<p style="margin-bottom: 4px">
6+
This website was made using the
7+
<a
8+
href="https://tsoa-community.github.io/docs/"
9+
target="_blank"
10+
rel="noopener noreferrer"
11+
>tsoa</a> framework. View the source
12+
<a
13+
href="https://github.com/Faithful-Resource-Pack/API"
14+
target="_blank"
15+
rel="noopener noreferrer"
16+
>here</a>!
17+
</p>
18+
<p style="margin-top: 4px; margin-bottom: 24px">© ${new Date().getFullYear()} Faithful Resource Pack</p>
619
</div>`;
720
});

0 commit comments

Comments
 (0)