This commit replaces the icon with a SVG and adds the possibility to like pages too. To do this the whole structure was rewritten which makes it in the future easier to add new functions.
20 lines
510 B
HTML
20 lines
510 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Indie Buttons</title>
|
|
<style>
|
|
body { line-height: 0; vertical-align: middle; }
|
|
img { width: 20px; height: 20px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a data-href="https://jeena.net/notes/new?in_reply_to=">
|
|
<img src="icons/reply.svg" alt="reply">
|
|
</a>
|
|
<a data-href="https://jeena.net/likes/new?url=">
|
|
<img src="icons/like.svg" alt="like">
|
|
</a>
|
|
<script src="button.js"></script>
|
|
</body>
|
|
</html>
|