@bbki.ng/site 5.4.51 → 5.4.53
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @bbki.ng/site
|
|
2
2
|
|
|
3
|
+
## 5.4.53
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b65fde6: replace return btn with cd link
|
|
8
|
+
- Updated dependencies [b65fde6]
|
|
9
|
+
- @bbki.ng/ui@0.1.27
|
|
10
|
+
|
|
11
|
+
## 5.4.52
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 4a6bd4f: disable share target
|
|
16
|
+
- Updated dependencies [4a6bd4f]
|
|
17
|
+
- @bbki.ng/ui@0.1.26
|
|
18
|
+
|
|
3
19
|
## 5.4.51
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbki.ng/site",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.53",
|
|
4
4
|
"description": "code behind bbki.ng",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-dom": "^18.0.0",
|
|
15
15
|
"react-router-dom": "6",
|
|
16
16
|
"swr": "^2.2.5",
|
|
17
|
-
"@bbki.ng/ui": "0.1.
|
|
17
|
+
"@bbki.ng/ui": "0.1.27"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/compat": "^1.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
|
-
import { Button, Article } from '@bbki.ng/ui';
|
|
2
|
+
import { Button, Article, Link } from '@bbki.ng/ui';
|
|
3
3
|
import { ROUTES } from '@/constants';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { useNavigate } from 'react-router-dom';
|
|
@@ -38,29 +38,13 @@ export const ArticlePage = (props: ArticlePageProps) => {
|
|
|
38
38
|
<Reaction title={title} url={window.location.href} />
|
|
39
39
|
</div>*/}
|
|
40
40
|
</Article>
|
|
41
|
-
<div className="">
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
>
|
|
49
|
-
<svg
|
|
50
|
-
data-testid="geist-icon"
|
|
51
|
-
height="16"
|
|
52
|
-
stroke-linejoin="round"
|
|
53
|
-
viewBox="0 0 16 16"
|
|
54
|
-
width="16"
|
|
55
|
-
>
|
|
56
|
-
<path
|
|
57
|
-
fill-rule="evenodd"
|
|
58
|
-
clip-rule="evenodd"
|
|
59
|
-
d="M6.46966 13.7803L6.99999 14.3107L8.06065 13.25L7.53032 12.7197L3.56065 8.75001H14.25H15V7.25001H14.25H3.56065L7.53032 3.28034L8.06065 2.75001L6.99999 1.68935L6.46966 2.21968L1.39644 7.2929C1.00592 7.68342 1.00592 8.31659 1.39644 8.70711L6.46966 13.7803Z"
|
|
60
|
-
fill="currentColor"
|
|
61
|
-
></path>
|
|
62
|
-
</svg>
|
|
63
|
-
</Button>
|
|
41
|
+
<div className="flex flex-col gap-4">
|
|
42
|
+
<Link className="w-fit" to="/blog">
|
|
43
|
+
cd ..
|
|
44
|
+
</Link>
|
|
45
|
+
<Link className="w-fit" to="/">
|
|
46
|
+
cd ~
|
|
47
|
+
</Link>
|
|
64
48
|
</div>
|
|
65
49
|
</>
|
|
66
50
|
);
|
|
@@ -12,7 +12,6 @@ export const useFingerprintUniforms = () => {
|
|
|
12
12
|
const chars = [...hash].map(c => parseInt(c, 16) || 0);
|
|
13
13
|
while (chars.length < 16) chars.push(0);
|
|
14
14
|
charsRef.current = chars;
|
|
15
|
-
console.log('[Fingerprint] Hash:', hash, 'Chars:', chars);
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
const updateFingerprintUniforms = (inst: any) => {
|
|
@@ -43,12 +42,12 @@ export const useFingerprintUniforms = () => {
|
|
|
43
42
|
inst.uniforms.uFpChars4.value[2] = chars[14];
|
|
44
43
|
inst.uniforms.uFpChars4.value[3] = chars[15];
|
|
45
44
|
|
|
46
|
-
console.log('[Fingerprint] Uniforms set:', {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
});
|
|
45
|
+
// console.log('[Fingerprint] Uniforms set:', {
|
|
46
|
+
// uFpChars1: inst.uniforms.uFpChars1.value,
|
|
47
|
+
// uFpChars2: inst.uniforms.uFpChars2.value,
|
|
48
|
+
// uFpChars3: inst.uniforms.uFpChars3.value,
|
|
49
|
+
// uFpChars4: inst.uniforms.uFpChars4.value,
|
|
50
|
+
// });
|
|
52
51
|
|
|
53
52
|
appliedRef.current = true;
|
|
54
53
|
};
|
package/vite.config.js
CHANGED
|
@@ -104,15 +104,15 @@ export default defineConfig({
|
|
|
104
104
|
theme_color: '#ffffff',
|
|
105
105
|
display: 'fullscreen',
|
|
106
106
|
start_url: '/',
|
|
107
|
-
share_target: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
},
|
|
107
|
+
// share_target: {
|
|
108
|
+
// action: '/new-content-handler/',
|
|
109
|
+
// method: 'GET',
|
|
110
|
+
// params: {
|
|
111
|
+
// title: 'title',
|
|
112
|
+
// text: 'text',
|
|
113
|
+
// url: 'url',
|
|
114
|
+
// },
|
|
115
|
+
// },
|
|
116
116
|
icons: [
|
|
117
117
|
{
|
|
118
118
|
src: 'pwa-192x192.png',
|