htdocs/html.js
2024-11-17 21:53:51 +00:00

27 lines
2.6 KiB
JavaScript
Executable File

let header = `<head><meta charset="UTF-8"/><title>DeaDveys Domain</title><link rel="icon" href="/images/favicon.png"><link rel="stylesheet" type="text/css" href="/index.css"><meta name="viewport" content="width=device-width, initial-scale=1.0"> </head>Welcome to DEADVEY DOT COM!!!<br/><a href="/" onclick="history.back()"><img src="/images/return.png" width="20" />Return</a> / <a href="/">Home page</a> / <a href="/blog/index.html">Blogs</a> <a href="/blog/feed.xml"><img width="16" src="/images/feedIcon.png" class="feedicon" alt="Feed image"/></a> / <a href="/blog/reviews">Reviews</a> / <a href="/board/index.html">Boards</a> / <a href="https://git.javalsai.dynv6.net/deadvey/htdocs">Gitea <img class="rotate" height="15" src="/images/gitea.png" alt="Link to gitea page"/></a> / <a href="http://deadvey.com:3000">Invidious <img src="/images/invidious.png" height="15"/></a> / <a href="http://deadvey.com:8096">Jellyfin <img src="/images/jellyfin.png" height="15"/></a> / <a href="http://deadvey.com:7993">Monkeytype</a><img src="/images/monkeytype.png" height="15"> / <a href="/search">Search blogs</a><hr/>`
let footer = `<hr/><ul> Internal pages: <li>• <a href="/experiments" >Experiments <img height="30" src="/images/experience-green-liquid.gif" /></a></li> <li>• <a href="/isthistheyearofthelinuxdesktop" >Is this the year of the Linux Desktop? <img src="/images/penguin-dance-pengu.gif" height="20" alt="penguin dancing" /></a></li> <li>• <a href="/theunderland" >theunderland wiki <img src="/images/flashlight.gif" alt="torch scanning" height="30" /></a></li> <br/> External sites: <li>• <a href="https://git.javalsai.dynv6.net/deadvey" >Gitea</a></li><li>• <a href="https://javalsai.dynv6.net">Javlsai</a></li> </li> </ul><br/> <small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>`
let pageTop = `<!DOCTYPE html>
<body>
<div id="header">${header}</div><!--header-->
<div id="main">
`
let pageBottom = `</div>
<div id="footer">${footer}</div><!--footer-->
</body>
</html>`
if (typeof module !== 'undefined' && module.exports) {
module.exports = {
pageTop,
pageBottom,
header,
footer
}
}
function goToLink(link) {
window.location.href = link
}