@bbki.ng/site 0.0.55 → 1.0.0
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 +2 -0
- package/package.json +1 -1
- package/src/articles/index.ts +2 -0
- package/src/articles/xwy.mdx +9 -0
- package/src/constants/photos.ts +7 -0
- package/src/demo/Xwy.tsx +13 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/articles/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ import * as 春风模拟 from "./pseudo-spring.mdx";
|
|
|
19
19
|
import * as 庆典 from "./celebration.mdx";
|
|
20
20
|
import * as 爱情 from "./love.mdx";
|
|
21
21
|
import * as 照片 from "./photos.mdx";
|
|
22
|
+
import * as 小乌鸦 from "./xwy.mdx";
|
|
22
23
|
|
|
23
24
|
export const MdxArticleList = [
|
|
24
25
|
说明书,
|
|
@@ -42,4 +43,5 @@ export const MdxArticleList = [
|
|
|
42
43
|
庆典,
|
|
43
44
|
爱情,
|
|
44
45
|
照片,
|
|
46
|
+
小乌鸦,
|
|
45
47
|
];
|
package/src/constants/photos.ts
CHANGED
|
@@ -107,6 +107,13 @@ export const OSS_PHOTOS = {
|
|
|
107
107
|
height: 720,
|
|
108
108
|
avgColor: BgColors.LIGHT_GRAY,
|
|
109
109
|
},
|
|
110
|
+
xwy: {
|
|
111
|
+
src: "https://zjh-im-res.oss-cn-shenzhen.aliyuncs.com/image/illustration/illustration/xwy.jpg",
|
|
112
|
+
renderedWidth: 400,
|
|
113
|
+
width: 1125,
|
|
114
|
+
height: 750,
|
|
115
|
+
avgColor: BgColors.LIGHT_GRAY,
|
|
116
|
+
},
|
|
110
117
|
quilt: {
|
|
111
118
|
src: "https://zjh-im-res.oss-cn-shenzhen.aliyuncs.com/image/xiang-jiang-river/x2710816755.jpg",
|
|
112
119
|
thumbnailSrc:
|
package/src/demo/Xwy.tsx
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Img } from "@bbki.ng/components";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
export const Xwy = () => {
|
|
5
|
+
const xwy = {
|
|
6
|
+
src: "https://zjh-im-res.oss-cn-shenzhen.aliyuncs.com/image/illustration/illustration/xwy.jpg",
|
|
7
|
+
renderedWidth: 400,
|
|
8
|
+
width: 1125,
|
|
9
|
+
height: 750,
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
return <Img {...xwy} />;
|
|
13
|
+
};
|