This commit is contained in:
Violet 2024-02-02 19:05:45 +00:00 committed by GitHub
parent 7393ee2761
commit d29300a666
2 changed files with 4 additions and 2 deletions

View file

@ -323,8 +323,10 @@ async function pageUpdate() {
addedHTML = ""
var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
// socialsHTML = socialsHTML.substring(0, socialsHTML.lastIndexOf("</div>"))
addedHTML += "<h2><hr>Socials</h2>"
addedHTML += socialsHTML.substring(socialsHTML.indexOf("</h1>") + 5, socialsHTML.lastIndexOf("</div>"))
addedHTML += socialsHTML.substring(socialsHTML.indexOf("<div"), socialsHTML.lastIndexOf("</div>") + 6)
console.log(addedHTML)
html = html.replace("{SOCIALS}", addedHTML)

View file

@ -18,9 +18,9 @@
<body>
<h1>Socials</h1>
<p>Here's where you can find me most... if you wanted to do that for some reason?</p>
<div class="row container-fluid fadediv" style="margin: auto;">
<p>Here's where you can find me most... if you wanted to do that for some reason?</p>
<div class="col-sm-6">
<hr>
<h3>Chat Applications:</h3>