@bbki.ng/site 5.5.20 → 5.5.22

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,19 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 5.5.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 20b3d36: update font
8
+ - Updated dependencies [20b3d36]
9
+ - @bbki.ng/ui@0.2.14
10
+
11
+ ## 5.5.21
12
+
13
+ ### Patch Changes
14
+
15
+ - 166aa70: fix loading state error
16
+
3
17
  ## 5.5.20
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "5.5.20",
3
+ "version": "5.5.22",
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.2.13"
17
+ "@bbki.ng/ui": "0.2.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@eslint/compat": "^1.0.0",
Binary file
@@ -7,7 +7,7 @@ import { useFingerprint } from '@/hooks/use_fingerprint';
7
7
  const hashStr: string = typeof GLOBAL_COMMIT_HASH === 'string' ? GLOBAL_COMMIT_HASH : '0000000';
8
8
 
9
9
  export const EffectContextProvider = (props: { children: ReactNode }) => {
10
- const { isLoading, isFontLoading } = useContext(GlobalLoadingContext);
10
+ const { isLoading } = useContext(GlobalLoadingContext);
11
11
  const { deviceId } = useFingerprint();
12
12
 
13
13
  const effects: Effect[] = useMemo(() => {
@@ -15,13 +15,8 @@ export const EffectContextProvider = (props: { children: ReactNode }) => {
15
15
  if (deviceId) wmLines.push(deviceId);
16
16
  wmLines.push('hello world');
17
17
 
18
- return [
19
- grain(),
20
- paper(),
21
- spiral({ active: isLoading || isFontLoading }),
22
- watermark({ lines: wmLines }),
23
- ];
24
- }, [isLoading, isFontLoading, deviceId]);
18
+ return [grain(), paper(), spiral({ active: isLoading }), watermark({ lines: wmLines })];
19
+ }, [isLoading, deviceId]);
25
20
 
26
21
  return (
27
22
  <>
@@ -9,7 +9,7 @@ export const FontRules: Array<FontRule> = [
9
9
  src: '/fonts/xwy.woff2',
10
10
  format: 'woff2',
11
11
  },
12
- extraCls: 'text-2xl w-[113px]',
12
+ extraCls: 'text-2xl w-[81px]',
13
13
  variant: 'special',
14
14
  },
15
15
  ];