opentwig 1.0.4 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# OpenTwig 🌿
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/opentwig)
|
|
4
|
+
[](https://www.npmjs.com/package/opentwig)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://nodejs.org/)
|
|
7
|
+
[](https://github.com/tufantunc/opentwig/stargazers)
|
|
8
|
+
[](https://github.com/tufantunc/opentwig/issues)
|
|
9
|
+
|
|
3
10
|
OpenTwig is an open source personal link page generator that creates beautiful, customizable "link in bio" pages. Instead of relying on third-party services, users can define their configuration and instantly create a fully functional static site they own and control.
|
|
4
11
|
|
|
5
12
|
## ✨ Features
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ module.exports = function({share}) {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
return `
|
|
7
|
-
<button class="icon-btn" aria-label="Share" onclick="
|
|
7
|
+
<button class="icon-btn" type="button" aria-label="Share" onclick="navigator.share({ url: location.href, title:'${share.title}', text:'${share.text}' })">
|
|
8
8
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7"/><polyline points="16 6 12 2 8 6"/><line x1="12" y1="2" x2="12" y2="15"/></svg>
|
|
9
9
|
</button>
|
|
10
10
|
`;
|
package/theme/default/index.js
CHANGED
|
@@ -17,7 +17,7 @@ module.exports = function({title, url, name, content, avatar, links, footerLinks
|
|
|
17
17
|
<meta property="og:title" content="tufantunc | Twitter | Linktree"/>
|
|
18
18
|
<meta property="og:description" content="Merhaba."/>
|
|
19
19
|
<meta property="og:url" content="${url}"/>
|
|
20
|
-
<meta property="og:image" content="${url}/og-image.
|
|
20
|
+
<meta property="og:image" content="${url}/og-image.jpg"/>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
|
23
23
|
<div class="app-bg">
|